Httpd down getting strange error in error_logs

Jul 25, 2012
10
0
1
Planet Earth
cPanel Access Level
Root Administrator
Hello,

Its my dedicated server. I done with easyapache and enabled fcgi module for server.

But Apache is down and not getting restart.

Error logs says : [error] (24)Too many open files: could not open transfer log file /usr/local/apache/domlogs/abc.xyz.com-bytes_log.
Unable to open logs

please give the solutions at the earliest.

Thanks in advance.



Regards,
Harshal vaidya...
 
Last edited:

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello Harshal,

Does /usr/local/apache/domlogs/pauloafonso.kaisaa-br.com-bytes_log exist?

If it does, then it appears you have too many open files. Are you running something like nginx on this machine? I am not certain how this could happen under Apache, since it's running via the user nobody, which should have a substantial number of open files available (2048 as far as I'm aware).

If it's nginx, here's a discussion for it:

Nginx: 24: Too Many Open Files Error And Solution

Thanks!
 
Jul 25, 2012
10
0
1
Planet Earth
cPanel Access Level
Root Administrator
yes Tristan,

the bytes_log do exists and there are many similar files over there about 1400.

Its a plain CentOS server with Apache 2.2. I tried gracefull restart through WHM panel, but still the problem persists..

Any solutions ? should we try hard reboot ?



Thanks!!!
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello Harshal,

Please try a reboot. If that does not work, please submit a ticket using WHM > Support Center > Contact cPanel or using the link in my signature.

Please post that ticket number here for tracking purposes if you do end up having to open one.

Thanks!