[Mongrel] mongrel becoming unresponsive

Michael P. Soulier msoulier at digitaltorque.ca
Sat May 5 22:54:06 EDT 2007

On 06/05/07 Thomas Hurst said:

> Try using gdb to get a backtrace:
> % gdb `which ruby` <pid of mongrel>

Unfortunately it's on a VPS where I don't get gdb. I don't have full control
over the box. 

> 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
> use.
> 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.

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/6604fa81/attachment.bin 

More information about the Mongrel-users mailing list