Apache stops responding but is running

A few things that could cause that are:

Possible Causes:

1) MaxClients set to a value too low.
2) If you have over about 800 VirtualHost entries (domains, subdomain, ssl, etc.. ), the ErrorLog files open too many file descriptors and apache won’t be able to log the errors and may stop responding.
This number can vary per box depending on the limit, and setup of the system. (lower/higher)

Solutions:
1) edit /etc/httpd/conf/httpd.conf and increase the MaxClients setting to something like 200 or 300.

2)

cd /usr/local/directadmin/data/templates
cp virtual_host*.conf custom
cd custom

# remove all the ErrorLog lines (or comment them out) from the 4 virtual_host*.conf files that are in the custom directory.

Source: http://directadmin.com/

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.