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.

Mike
-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"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

Attachment: pgpYXjJftv3Oq.pgp
Description: PGP signature

_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to