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.

apache failed - A restart was attempted automagicly.

Discussion in 'EasyApache' started by Vatoloco, Dec 9, 2004.

  1. Vatoloco

    Vatoloco Well-Known Member

    Joined:
    Jun 21, 2004
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Ever since the latest upgrade from cpanel, I've been getting that message e-mailed to me a number of times a day. It's very random when it comes, but I would say on average that apache fails every 5 hours or so.

    I've checked logs for the time it goes down and nothing seems out of the ordinary.

    error_log just has normal things like "File does not exist: /home/mysite/public_html/forums/uploads/av-8739.gif"

    /var/log/messages only has proftpd connecting, timing out, disconnecting.

    "/usr/sbin/httpd configtest" returns Syntax OK

    I've rebuilt apache in WHM, but the problem still exists. Anything else I can look at?
     
  2. Vatoloco

    Vatoloco Well-Known Member

    Joined:
    Jun 21, 2004
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Could just having a high server load cause this to happen? My server is running a large busy forum and there are times throughout the day that my server load just goes through the roof. It's been like that for months though and apache just started failing in the last few days since my latest upgrade.
     
  3. Etheral

    Etheral Well-Known Member

    Joined:
    Dec 8, 2003
    Messages:
    208
    Likes Received:
    0
    Trophy Points:
    16
    are you using a 3rd party monitoring software? or the default WHM monitor?
     
  4. Vatoloco

    Vatoloco Well-Known Member

    Joined:
    Jun 21, 2004
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    The default. I haven't installed any 3rd party software.
     
  5. Sinewy

    Sinewy Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney, Australia
    cPanel Access Level:
    DataCenter Provider
    high apache loads ...CAN kill apache.

    if your server is capable of it, i suggest increasing maxclients in /usr/local/apache/conf/httpd.conf
     
  6. Vatoloco

    Vatoloco Well-Known Member

    Joined:
    Jun 21, 2004
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    It's already at 260. It might be time to upgrade to a better server but I am going to try and optimize mysql and apache to see if I can squeeze any more out of this server. If anyone has any suggestions, I'm open to hear them. :)
     
Loading...

Share This Page