[Mongrel] Troubleshooting unresponsive mongrel

Morten lists at kikobu.com
Wed May 23 03:45:56 EDT 2007


Hi. I have mongrel 1.0.1 running a really simple application and found 
to lock up (rarely, but still). There's nothing in the logs, it just 
stops responding. When I mongrel_rails stop it, I get lots of entries like:

Waiting for 3 requests to finish, could take 60 seconds
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:675:in `process'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:618:in 
`process_client'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in 
`process_client'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:271:in 
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in 
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:127:in `run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in 
`run'
/usr/lib64/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:243
/usr/bin/mongrel_rails:18Wed May 23 08:58:18 CEST 2007: Error calling 
Dispatcher.dispatch #<Mongrel::TimeoutError: Mongrel timed out this 
thread: shutdown>Thread #<Thread:0x2a9859a570 sleep> is too old, killing.

Any tips on how to determine the cause of this? I'm running CentOS 4, 
Ruby 1.8.4.

Br,

Morten





More information about the Mongrel-users mailing list