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 frequently

Discussion in 'General Discussion' started by jmark, Mar 24, 2011.

  1. jmark

    jmark Member

    Joined:
    Aug 6, 2010
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I have a 64 bit Centos 5.5 with Apache 2.0.63 server, two postfix instances and Phusion Passenger.

    The issue I have is that the server goes down frequently like about 10 times a day and takes about 10 minutes whenever it goes down before it wakes up on its own.

    Now the strange thing is if I am logged to the server via SSH the server does not go down and the websites it serves continue running normally.
    If the server is down and I access the server's WHM site via the browser, that is port 2087, the server wakes up immediately.

    Does someone have an idea on what is going on and what I need to do to fix the issue?

    I have checked all the logs that I think will be helpful but I am not getting any clue.
    that is Apache error_log, access_log, maillog, mailq, messages, and secure


    Thanks
    Mark
     
  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 Mark,

    Why is postfix running on a cPanel machine precisely? That certainly isn't a common setup and I'd have no idea on troubleshooting anything for postfix personally.

    I doubt mod_rails has any bearing on the issue. I've never seen a rails application cause a server to go down (not saying it cannot happen, though).

    You might consider installing sys-snap.sh on the system to see what processes are running when it crashes:

    Code:
    cd /root
    wget http://sys-snap.techfiles.us/
    chmod +x sys-snap.sh
    nohup ./sys-snap.sh &
    This will save log files to /root/system-snapshot location.
     
  3. jmark

    jmark Member

    Joined:
    Aug 6, 2010
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for your response,

    On Postfix,
    I have 2 websites on the server and each with its own IP address. I wanted to set exim email server so that the emails sent can appear as if coming from two mail servers since a lot of email providers will reject emails if the domain name in the "from" field does not correspond to the domain's IP address. But I did not see how this could be done in exim so I ended up installing postfix since I was more familiar with it. I would be glad to use exim if it can be able to do this so that cPanel can manage it.
    I will do what you have suggested.
     
Loading...

Share This Page