[Mongrel] Help mongrel keeps crashing...

Carl Lerche carl.lerche at verizon.net
Sat Aug 12 12:53:42 EDT 2006


Alright, it seems that I am having a bit of a problem with mongrel. My 
mongrel processes have been crashing pretty often and twice last night. I'm 
really not sure why, but I really need to fix it. I am running 0.3.13.3. Here 
is the mongrel.log file. Any ideas, things to look at, etc... is appreciated.

Thanks,
Carl

PS, do all the broken pipe lines mean Mongrel is serving the static media 
files?

** Daemonized, any open files are closed.  Look at log/mongrel.8130.pid and 
log/mongrel.log for info.
** Starting Mongrel listening at 127.0.0.1:8130
** Starting Rails with production environment ...
** Daemonized, any open files are closed.  Look at log/mongrel.8131.pid and 
log/mongrel.log for info.
** Starting Mongrel listening at 127.0.0.1:8131
** Starting Rails with production environment ...
** Daemonized, any open files are closed.  Look at log/mongrel.8132.pid and 
log/mongrel.log for info.
** Starting Mongrel listening at 127.0.0.1:8132
** Starting Rails with production environment ...
** Daemonized, any open files are closed.  Look at log/mongrel.8133.pid and 
log/mongrel.log for info.
** Starting Mongrel listening at 127.0.0.1:8133

(... more initialization stuff. Just the usual ...)

Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/40/13/431/media.wmv: Broken pipe
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:582:in 
`close': Invalid argument (Errno::EINVAL)
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
582:in `process_client'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
625:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
956:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
955:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/
mongrel_rails:127:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/
command.rb:199:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/
mongrel_rails:235
	from /usr/local/bin/mongrel_rails:18
Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/01/32/1023/media.flv: Broken pipe
(... a ton more broken pipe errors ...)
Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/01/32/1023/media.flv: Broken pipe
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:582:in 
`close': Invalid argument (Errno::EINVAL)
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
582:in `process_client'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
625:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
956:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
955:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/
mongrel_rails:127:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/
command.rb:199:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/
mongrel_rails:235
	from /usr/local/bin/mongrel_rails:18
Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/01/32/1023/media.flv: Broken pipe
(... a ton more broken pipe errors ...)
Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
images/header.png: Broken pipe
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:582:in 
`close': Invalid argument (Errno::EINVAL)
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
582:in `process_client'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
625:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
956:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
955:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/
mongrel_rails:127:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/
command.rb:199:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/
mongrel_rails:235
	from /usr/local/bin/mongrel_rails:18
Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/01/31/1013/media.flv: Broken pipe
(... a ton more broken pipe errors ...)
Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/01/83/1038/media.wmv: Broken pipe
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:582:in 
`close': Invalid argument (Errno::EINVAL)
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
582:in `process_client'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/01/83/1038/media.wmv: Broken pipe
(... a ton more broken pipe errors ...)
Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/01/32/1023/media.flv: Broken pipe
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:582:in 
`close': Invalid argument (Errno::EINVAL)
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
582:in `process_client'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
625:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
956:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
955:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/
mongrel_rails:127:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/
command.rb:199:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/
mongrel_rails:235
	from /usr/local/bin/mongrel_rails:18
Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/01/32/1023/media.flv: Broken pipe

Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/01/83/1038/media.wmv: Broken pipe
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:582:in 
`close': Invalid argument (Errno::EINVAL)
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
582:in `process_client'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
625:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
956:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
955:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/
mongrel_rails:127:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/
command.rb:199:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/
mongrel_rails:235
	from /usr/local/bin/mongrel_rails:18
Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/01/32/1023/media.flv: Broken pipe
jWl50ivOcGhTQzEh5h5mQystOI0U2oDa4hXZY0VrqCCPd3HX151wmBwBYtPR
(... and a bunch more gibberish and broken pipe errors ...)
SuiOuNQ+jr9nJly0zLJx6xc1bCzIcW8pbbaQhDRUoqIaQ2NAPYB7B163EMTf
b0gNr5K/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
582:in `close': Invalid argument (Errno::EINVAL)
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
582:in `process_client'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
625:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
956:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
955:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/
mongrel_rails:127:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/
command.rb:199:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/
mongrel_rails:235
	from /usr/local/bin/mongrel_rails:18
+acrI8k9prFuuKDrpZQUoUS5qoFQT+zvI0IA7DXqQherSISA0Y4/H
314aHIH59lY31UpcClFCdqgdVJ3akKBASQCe/RsUDBB7s3rcVHZ8vGmJZg6c
(... and a bunch more gibberish and broken pipe errors ...)
Y7a4lJCZCs6ZkAkpsyORvNrSIYa6OR6cZyFrXeaCFY6R2fEYCu3cXkSQhp8T
IGDA5FSffjQye97tMzX2vO7Yt3jEawJ2v7yZNMvdvL0TSPhUUiXI9TNwy1M3
9uNa0JDKHRyop4vlHb/e5GhTrrpctDnxtVFLDzbyPa3/AError sending file /home2/
webapps/nfccms/releases/20060807071308/public/media/01/32/1023/media.flv: 
Broken pipe
Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/01/32/1023/media.flv: Broken pipe
(... a ton more broken pipe errors ...)
Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/01/93/1039/image-6.jpg: Broken pipe
/home2/webapps/nfccms/current/config/../app/controllers/media_controller.rb:
104: warning: Object#id will be deprecated; use Object#object_id
Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/01/32/1023/media.flv: Broken pipe
(... a ton more broken pipe errors ...)
Error sending file /home2/webapps/nfccms/releases/20060807071308/public/
media/01/32/1023/media.flv: Broken pipe
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:582:in 
`close': Invalid argument (Errno::EINVAL)
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
582:in `process_client'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
636:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
625:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
956:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:
955:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/
mongrel_rails:127:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/
command.rb:199:in `run'
	from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/
mongrel_rails:235
	from /usr/local/bin/mongrel_rails:18
K0f/TbrFtxG21uH
AShA8dvBw7D8DhSyffClG7cO+TN3vDC+wTfs7oIhyX+u8ovpfoIWKPzPWeX+
(... and a bunch more gibberish till the end ...)


More information about the Mongrel-users mailing list