EA-5662: apache is not start at boot
httpd is not start at boot or reboot the vps. Here is my log:
[Sun Dec 11 01:58:53.741817 2016] [mpm_prefork:notice] [pid 7077] AH00169: caught SIGTERM, shutting down
[Sun Dec 11 02:03:11.581301 2016] [log_config:error] [pid 1938] (24)Too many open files: AH00649: could not open transfer log file /etc/apache2/logs/domlogs/(domain).com-ssl_log.
AH00015: Unable to open logs
FYI: If I restart apache from command line or WHM interface it runs without any issue. Any clue?
FYI: If I restart apache from command line or WHM interface it runs without any issue. Any clue?
-
You may need to increase the open file limits, from the CLI check: cat /proc/sys/fs/file-max
If the value is really low increase it, example:echo "1630634? > /proc/sys/fs/file-max
If increasing the value works you need to make sure the value loads at the next reboot so add it to /etc/sysctl.conf # Maximum number of open files permitted fs.file-max = 1630634 To load the new values from the sysctl.conf file, run:sysctl -p /etc/sysctl.conf
Then restart httpd0 -
This is my current value cat /proc/sys/fs/file-max 6570126 0 -
Hi, We're adding in our ulimits back to the init scripts via case EA-5662. I hope we'll have this public tomorrow afternoon. 0 -
Thanks for your help and quick solution. Bless 0
Please sign in to leave a comment.
Comments
4 comments