You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "gdwfkd@gmail.com" <gd...@gmail.com> on 2006/12/27 16:57:38 UTC

[users@httpd] httpd 2.0.53 processes don't die

Running apache 2.0.53 on Solaris 8.  Child processes build up to the maximum
(MaxClients), and then the web server stops responding so I have to go and
kill old httpd process (I never have to restart apache).  The processes I
kill are generally a few days old, or several hours old.

As I understand it, the server becomes unresponsive when it hits the 200
MaxClients limit, but the KeepAliveTimeout, or at least the Timeout value,
should have returned those older processes to general service.  This doesn't
appear to be happening as I have old httpd processes that just hang around.


Some relevant httpd.conf entries:

Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
StartServers         12
MinSpareServers      10
MaxSpareServers      30
MaxClients           200

Thoughts?

Re: [users@httpd] httpd 2.0.53 processes don't die

Posted by Joshua Slive <jo...@slive.ca>.
On 12/27/06, gdwfkd@gmail.com <gd...@gmail.com> wrote:
> Running apache 2.0.53 on Solaris 8.  Child processes build up to the maximum
> (MaxClients), and then the web server stops responding so I have to go and
> kill old httpd process (I never have to restart apache).  The processes I
> kill are generally a few days old, or several hours old.

Not much of a point trying to debug problems in a server that is out
of date.  Try a more recent version.

Then pull out some debugging tools.  You can start with mod_status'
server-status handler, which can tell you what request the stuck
processes are serving.  Then you can try a debugger or a syscall trace
tool to attach to the processes and see what they are up to.

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