Apache error : “Too many open files (errno: 24)”

Issue :

When attempting to start Apache,if you get the following errors :-

[error] mod_ssl: Child could not open SSLMutex lockfile
/usr/local/apache/logs/ssl_mutex.16479 (System error follows)
[error] System: Too many open files (errno: 24)

Fix :

This is caused by Apache and RedHat setting their open file limits too low. To correct this you will need to do the
following:

Edit /usr/local/apache/bin/apachectl and add the line on top

ulimit -n 16384
stop and start apache:
/usr/local/apache/bin/apachectl stop
/usr/local/apache/bin/apachectl startssl

Filed Under: Technical

Tags:

About the Author: InstaCarma is a provider of Enterprise Class Solutions for the Hosting Industry

RSSComments (0)

Trackback URL

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes
InstaCarma provides outsourced web hosting technical support, helpdesk management, datacenter automation, cloud service management. Sales - 1800 810 6547 - visit www.instacarma.com