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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Debugging running processes
by Fletch (Bishop) on Oct 31, 2008 at 12:46 UTC | |
|
Re: Debugging running processes
by BrowserUk (Patriarch) on Oct 31, 2008 at 14:15 UTC | |
|
Re: Debugging running processes
by Illuminatus (Curate) on Oct 31, 2008 at 12:47 UTC | |
by kappa (Chaplain) on Oct 31, 2008 at 23:09 UTC | |
|
Re: Debugging running processes
by ccn (Vicar) on Oct 31, 2008 at 12:25 UTC | |
by kappa (Chaplain) on Oct 31, 2008 at 23:16 UTC | |
by ccn (Vicar) on Nov 01, 2008 at 00:49 UTC | |
by graff (Chancellor) on Nov 01, 2008 at 04:21 UTC | |
|
Re: Debugging running processes
by marto (Cardinal) on Oct 31, 2008 at 13:19 UTC | |
|
Re: Debugging running processes
by renodino (Curate) on Oct 31, 2008 at 15:25 UTC | |
|
Re: Debugging running processes
by talexb (Chancellor) on Oct 31, 2008 at 18:51 UTC |