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.

HOW: Find out what program running before server outage.

Discussion in 'General Discussion' started by SuperBaby, Nov 6, 2007.

  1. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    For the last 4 months, my server is down REGULARLY about once every two weeks. The server company did a FSCK hard disc diagnostic and found no error. The server is OK again once rebooted.

    Is there a way to track which programs are running causing the outage?

    I am running RH9 and the latest WHM/cPanel.
     
    #1 SuperBaby, Nov 6, 2007
    Last edited: Nov 6, 2007
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    The information for the active process should be on the serial console if the kernel has suffered an oops, otherwise you'll either have to configure a cron job to output ps to a file regularly.
     
  3. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,381
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    I believe cPanel uses dcpumon to log top monitoring.

    You should see files in:

    /var/log/dcpumon which are outputs of top from various times throughout the day. Find the one that was before the server rebooted and look through that.

    This may not give you much information, if the last top output was at 10:05 and the server reboots at 10:30 then the information may be a bit outdated. But it might give you something to go on.
     
  4. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    Cannot find any useful log at the location mentioned above.

    My server is constantly down 2 ~ 3 times a month. I have checked through all cronjob in all accounts. Still cannot locate the culprit. I believe it is a software problem, not hardware. My hosting ISP earlier did a hardisk test and found nothing wrong.
     
  5. WebHostDog

    WebHostDog Well-Known Member

    Joined:
    Sep 3, 2006
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
    Hello,
    If it is randomly down it may be some memory module.
     
  6. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    Is there a way to check?
     
Loading...

Share This Page