[Mongrel] mongrel becoming unresponsive

Michael P. Soulier msoulier at digitaltorque.ca
Sat May 5 22:05:17 EDT 2007

On 05/05/07 Pete DeLaurentis said:

> Hi Mike,
> My mongrels are dying too, but running behind Lighttpd.  Are you  
> seeing anything in the logs?  I see absolutely nothing.  Just the  
> last request that went through... but it's pretty old.

Nothing in the logs to indicate what the problem might be. Seems to happen
when it processes a 404 error sometimes. 

ActionController::RoutingError (no route found to match
"/2006/04/15/employee-of-the-century-dead-at-100/trackback/" with

rescue_action_in_public executed
Rendering status404 Not
Foundfile/var/www/papproach/config/../public/404.htmllayoutfalse within
Rendering /var/www/papproach/config/../public/404.html (404 Not Found)

> My solution for now is to run a few mongrels, and have Monit restart  
> them when they become unresponsive.  I have a few die each day.

I have one instance supervised with runit, but supervision doesn't help since
the mongrel doesn't crash, it just hangs. I now have a 10 minute cron that
checks on it and restarts it if it's unresponsive, and it's doing so a few
times an hour now, which is disturbing. 

> Zed, is there anything we can do to debug this further?  Is there a  
> good place we can put some logs in the Mongrel code?  Or something we  
> can try the next time they go down?

It's happening a lot to me right now. No --debug option to mongrel?

Michael P. Soulier <msoulier at digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/mongrel-users/attachments/20070505/453d1cdb/attachment.bin 

More information about the Mongrel-users mailing list