speedy
10-02-2007, 12:02 PM
We ran into a problem with the dreaded "Too many open files" error message in Apache which caused it to crash and left it in a non-startable state.
We fixed the problem by editing the /etc/security/limits.conf on a RHEL box, saving and restarting apache.
nano -w /etc/security/limits.conf
Change (or add) the last two lines
* soft nofile 32768
* hard nofile 32768
/sbin/service httpd restart
We fixed the problem by editing the /etc/security/limits.conf on a RHEL box, saving and restarting apache.
nano -w /etc/security/limits.conf
Change (or add) the last two lines
* soft nofile 32768
* hard nofile 32768
/sbin/service httpd restart
