Re: debugging strategies for httpd that kills the box

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux