[Mongrel] mongrel becoming unresponsive
tom at hur.st
Sat May 5 21:51:44 EDT 2007
* Michael P. Soulier (msoulier at digitaltorque.ca) wrote:
> At times this seems to cause mongrel to become unresponsive, and all
> requests to the site then fail with a proxy error until mongrel is
> I'm not sure of how to troubleshoot this issue. Help appreciated.
Try using gdb to get a backtrace:
% gdb `which ruby` <pid of mongrel>
Then "bt" to get a list of the functions it's calling. You may need to
recompile Ruby with debugging symbols if it's mostly "???". On FreeBSD
this is as simple as "portupgrade -fm '-DWITH_DEBUG' ruby"
http://eigenclass.org/hiki/ruby+live+process+introspection may be of
Other options are ktrace, strace and truss (depending on what system
you're on) to get an idea of the syscalls it's performing, but this may
not be very useful depending on how it's hung.
Thomas 'Freaky' Hurst
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/mongrel-users/attachments/20070506/588fdd4b/attachment.bin
More information about the Mongrel-users