apache 2.2.4 stops, will not restart

decafranky

Verified User
Joined
Aug 22, 2004
Messages
120
Hi,

Since a few weeks, apache2 stops about 1x/day (sometimes 1x/week),
today it stopped again, i could not restart, there was nothing to find in logs (even /var/log/messages).

Tryed to rebuild apache2, php, etc ... still same problem

Then i have deleted 3 userdomains in directadmn, restarted directadmin and ... works ok.

Very strange behaviour.

Is there any limit, with logs/domain or something?
Bugs?

Franky
 
maxclients limit

nope, but i believe i found the problem

when i deleted some users/domains, apache is ok

looked at httpd.conf, and set maxclients to 1000
restarted httpd, and get a message:
WARNING: MaxClients of 1000 exceeds ServerLimit value of 256 servers,
lowering MaxClients to 256. To increase, please see the ServerLimit
directive.

256 is in fact the domains that are installed, so that must be the problem
but how can i set the serverlimit to more than 256?

franky
 
Just add a new line before "MaxClients":
Code:
ServerLimit 1000
 
Back
Top