Re: debugging run away httpd process

2004-10-18 Thread victor
Brian Reichert wrote: On Fri, Oct 15, 2004 at 10:46:01AM +0800, victor wrote: How are you invoking strace? As root I ran /usr/bin/strace -p There are other useful arguments to strace; see the manpage for '-f -F -v', and so forth. I haven't tried -v before, let me give it a try

Re: debugging run away httpd process

2004-10-15 Thread Brian Reichert
On Fri, Oct 15, 2004 at 10:46:01AM +0800, victor wrote: > >How are you invoking strace? > > > > > As root I ran /usr/bin/strace -p There are other useful arguments to strace; see the manpage for '-f -F -v', and so forth. > We have sorted out the problem on this part it turns out to be a > sp

Re: debugging run away httpd process

2004-10-15 Thread victor
Hello Brian, thanks for your reply, On Thu, Oct 14, 2004 at 12:07:17PM +0800, victor wrote: 2) Why strace doesn't return anything? or is strace the appropiate tool to use at all? is there any mod_perl module/option I should turn on/off/tweak to help me find out what the process is doing?

Re: debugging run away httpd process

2004-10-14 Thread Brian Reichert
On Thu, Oct 14, 2004 at 12:07:17PM +0800, victor wrote: > 2) Why strace doesn't return anything? or is strace the appropiate tool > to use at all? is there any mod_perl module/option I should turn > on/off/tweak to help me find out what the process is doing? How are you invoking strace? > 3)

debugging run away httpd process

2004-10-14 Thread victor
Hello everyone, This might be a bit off topic, please kindly forgive me, I am seeking some tips on debuging mod_perl script, I have a mod_perl enabled apache server running all kinds of perl scripts. Lately after a pitty major script update, I notice some apache children would chew up all CPU