|Don't ask to ask, just ask|
Debugging running processesby kappa (Chaplain)
|on Oct 31, 2008 at 12:15 UTC||Need Help??|
kappa has asked for the
wisdom of the Perl Monks concerning the following question:
Good day to everybody!
We faced an interesting problem and are currenly looking for ways to debug it.
We have a text-processing daemon (doing some cool analysis on text and emitting context-sensitive ads). It processes several million texts a day and generally does a great job. But several times a day it suddenly starts to bog CPU and to ignore requests. If it were written in C, we would coredump it and debug with gdb or even attach to a running process. Is there a way to know what does a running Perl program doing?