Wednesday, June 8, 2011

How to fix the Apache Error: Too many open files


1. Edit the limits.conf file
nano -w /etc/security/limits.conf
2. Change (or add) the last two lines
* soft nofile 32768
* hard nofile 32768
3. Restart APACHE
/sbin/service httpd restart