How do you use gdb with apache process and strace ? From: herauthon <herauthon@xxxxxxx> To: <users@xxxxxxxxxxxxxxxx>, "Joshua Slive" <jslive@xxxxxxxxx> Date: Thursday, April 14, 2005, 1:18:56 AM Subject: [users@httpd] Strange Problem Thursday, April 14, 2005, 1:18:56 AM, you wrote: > <checking> > is this issue solved > and does apache use garbage collect mechanisms? > ----- Original Message ----- > From: "Joshua Slive" <jslive@xxxxxxxxx> > To: <users@xxxxxxxxxxxxxxxx> > Sent: Monday, March 28, 2005 5:44 PM > Subject: Re: [users@httpd] Strange Problem >> On Mon, 28 Mar 2005 15:27:24 +0300, Yannis Tsakiris <gtsakiris@xxxxxxxxx> > wrote: >> > So far so good, but in an arbitrary moment all apache processes stop > serving >> > requests, and all of the processes are trying to consume a lot of cpu > time, >> > and load average is increasing very fast (at the end the load average is >> > almost equal to the number of running apache processes, which is 500). > In >> > this condition the server is not responding and all I can do is to > reboot >> > the machine. >> >> If you can use the shell, then you should do some debugging: attach to >> the processes with gdb and strace and see what they are up to. It is >> unlikely that this is an apache-httpd problem. More likely one of >> your scripts is getting stuck someplace. >> >> Joshua. >> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server Project. >> See <URL:http://httpd.apache.org/userslist.html> for more info. >> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx >> " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx >> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx >> >> > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx