httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Folini <christian.fol...@post.ch>
Subject Re: [users@httpd] debugging strategies for httpd that kills the box
Date Fri, 16 Nov 2007 07:19:23 GMT
Hey Greg,

On Thu, Nov 15, 2007 at 12:20:44PM -0500, greg boyington wrote:
> Background:  The server was recently updated to FreeBSD 5.5 from 5.3,
> which had run for a couple of years without interruption.  I'm not
> especially convinced the issue I'm having is related to this upgrade,
> ...
> <IfModule prefork.c>
> StartServers           5
> MinSpareServers        5
> MaxSpareServers       10
> MaxClients           200
> MaxRequestsPerChild    0
> </IfModule>


Problems as this are hard to track down. I'll give you a few thoughts
what you could do next. Maybe it helps, but I can not guarantee it.
 - Play around with MaxRequestsPerChild. A typical value
   outside of 0 is 10000. I guess that's also the default,
   but not in your setup.
 - Did you compile apache yourself? Give it a try.
 - Have you tried to get the lock-up in a lab setup with
   apache bench or some other load generating tool?
   Guess, this would help.
 - You disabled mod_perl2 and mod_php. This sounds as if
   you would not really need them. (Or you sacrificed 
   functionality :)
   Disable all modules which you do not really need. Definitely
   all of them. If you can boil it down to threadsafe modules,
   then you might give it a try with another mpm.
   http://httpd.apache.org/docs/2.0/mpm.html

Good luck - and keep us informed on how it goes.

Christian

---------------------------------------------------------------------
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


Mime
View raw message