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.

Server goes down every couple hours...

Discussion in 'General Discussion' started by Xiode, Dec 1, 2006.

  1. Xiode

    Xiode Well-Known Member

    Joined:
    Oct 14, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    My server has been going down every few hrs... I thought that maybe it was apache failing... Cause it seems that the server will restart..... Well I got logged into ssh and was viewing the apache error log when it went down and see this.....

    CMD:
    tail -f /usr/local/apache/logs/error_log

    Entry before it went down:
    [Fri Dec 1 12:10:56 2006] [notice] child pid 32600 exit signal Segmentation fault (11)
     
  2. Xiode

    Xiode Well-Known Member

    Joined:
    Oct 14, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    It has 1GB of memory.. and it isn't a highload server... average load is 0.27....
     
  3. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    make sure your entries in /etc/resolve.conf are correct. Re-compile Apache and watch for any errors, especially with Php modules. Are you sure that you don't have server high load problem before crashing? If yes, then you might have a memory leak or need to add more memory.
     
    #3 AndyReed, Dec 1, 2006
    Last edited: Dec 1, 2006
  4. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    OK! See if there are any error messages in the log file about the Kernel and/or its related modules.
     
  5. Xiode

    Xiode Well-Known Member

    Joined:
    Oct 14, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    Haven't seen any... that I know of....
     
  6. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    update to latest CURRENT release and run

    /scripts/upcp --force

    The do an "apache update" in whm and see what that does.
     
  7. Xiode

    Xiode Well-Known Member

    Joined:
    Oct 14, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    Does nothing.....
     
  8. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    open a support request with cpanel.. they will get to the bottom of it :)
     
  9. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Updating the cPanel, in your case, won't fix your problem. That said, there are many things that might be causing the server to crash from a software standpoint including a process that runs out of control or uses too many resources. Make sure your kernel and other software is at the latest version and not corrupted, including Apache and/or Php modules. There have been a few kernel versions with bad drivers that can cause stability problems.

    Ask your data center to check on your server hardware including the hard drive and ram. They can run different tests in that regard. On the less common side of things you could have the CPU, power supply, Ethernet card, or motherboard going out.

    A few important things first:
    Since your server crash on a regular basis, and if so, look at the cronjobs on the server.

    Check your /var/log/messages file for the time before the crash and when the server boots up because you will sometimes be able to see an error. If something like the Ethernet card goes down you should also see it because the log files will still be writing, you just will not be able to access the server physically.

    If your data center can't or won't help, you can seek professional help. Good luck!
     
  10. Xiode

    Xiode Well-Known Member

    Joined:
    Oct 14, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    I made another post about mailscanner. I found that the installed cPGS was failing and restarting like 20 times a day and found the mailscanner has cause an increase of almost 60% of mem usage....... I have fixed the cPGS issue by uninstalling it... Now to try and control mailscanner..... I hope this fix my issues.....
     
Loading...

Share This Page