On 5/2/07, Jens.Heinemann@xxxxxxxxxx <Jens.Heinemann@xxxxxxxxxx> wrote:
jslive@xxxxxxxxx wrote on 05/04/2007 15:55:23: > On 4/5/07, Jens.Heinemann@xxxxxxxxxx <Jens.Heinemann@xxxxxxxxxx> wrote: > > > The problem I have is that the server doesn't respond sometimes. Maybe > > this happens after I have done a lot of mysql database requests in a short > > time but since I can't reproduce the error by putting many requests in I > > think this is not the cause. > > Here are some instructions on how to debug a frozen server: > http://httpd.apache.org/dev/debugging.html#backtrace-win Thanks for pointing me there. Actually the server does not lock up anymore but sometimes the server times out and comes back after a minute or so. I'm using suse and I have like 10 httpd2-prefork processes - how do I find out which of them I have to debug?
I'd use a combination of "top" and mod_status' server-status handler. Unfortunately, the latter can be difficult to access during times when the server is not responding. If you suspect that a particular type of request may be causing the problem, but can't pin down what exactly, you could try configuring mod_log_forensic and then forcibly kill -9 the server and all child processes and see what was in progress at the time of death. 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