You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Je...@manerf.com on 2007/05/02 15:12:45 UTC
Re: [users@httpd] Apache2 hangs once in a while
jslive@gmail.com wrote on 05/04/2007 15:55:23:
> On 4/5/07, Jens.Heinemann@manerf.com <Je...@manerf.com> 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?
Cheers
Jens
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Apache2 hangs once in a while
Posted by Joshua Slive <jo...@slive.ca>.
On 5/2/07, Jens.Heinemann@manerf.com <Je...@manerf.com> wrote:
> jslive@gmail.com wrote on 05/04/2007 15:55:23:
>
> > On 4/5/07, Jens.Heinemann@manerf.com <Je...@manerf.com> 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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org