The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Httpd down getting strange error in error_logs

Discussion in 'General Discussion' started by Harshal Vaidya, Aug 5, 2012.

  1. Harshal Vaidya

    Joined:
    Jul 25, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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...
     
    #1 Harshal Vaidya, Aug 5, 2012
    Last edited: Aug 5, 2012
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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!
     
  3. Harshal Vaidya

    Joined:
    Jul 25, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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!!!
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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!
     
  5. Harshal Vaidya

    Joined:
    Jul 25, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Planet Earth
    cPanel Access Level:
    Root Administrator
    Thanks Tristan,

    Hope to get it fixed on reboot. Or I'll raise a support ticket.


    Thanks,
    Harshal...
     
Loading...

Share This Page