1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Server Crashing every morning nearly

Discussion in 'Apache' started by fordP, Oct 10, 2007.

  1. #1
    I have a VPS from mediatemple.net, and I'm not sure what is going on, but Apache has stopped running every day in the morning and it just stopped running about 2 hours ago and I didn't catch it until now

    From the error log, i'm showing:
    Any ideas what might be causing this? just came home and my site was down again, and I've lost 15,000 pageviews already today.
     
    fordP, Oct 10, 2007 IP
  2. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #2
    How busy is your server? Sounds like a memory problem, possibly too much swap.

    Post the output of top, the apache config, as well as mysql config, if you're using mysql
     
    cyanide, Oct 10, 2007 IP
  3. tulip4heaven

    tulip4heaven Well-Known Member

    Messages:
    2,774
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #3
    Why don't you setup automatic restart of services on failure

    Thanks
    Tulip
     
    tulip4heaven, Oct 10, 2007 IP
  4. fordP

    fordP Peon

    Messages:
    548
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #4
    cyanide, ill post those files tomorrow

    tulip, how would I make apache auto restart?
     
    fordP, Oct 10, 2007 IP
  5. cyanide

    cyanide Peon

    Messages:
    483
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Although that will obviously help to keep the server up, ultimately it's not going to fix the problem

    Feel free to pm me, incase i'm not around
     
    cyanide, Oct 10, 2007 IP
  6. fordP

    fordP Peon

    Messages:
    548
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Oh definitely not, I just need to make sure I don't miss out on traffic tomorrow as I can sit down and work all day on finding a solution, but tonight I just need to make sure I don't wake up to a down site.

    I'll shoot you a PM tomorrow when I post the files, thanks for the help :)

    Forgot to mention as to how busy the site is, when it's not crashing and up all day I get about 45,000 page impressions/day and the site is heavy mysql and php
     
    fordP, Oct 10, 2007 IP