my server is down too many times daily ! help

Discussion in 'Apache' started by coun_vincent, Apr 5, 2010.

  1. #1
    Hello ,

    i'm using vps and installing ffmpeg and my site recevied tooooooooo much traffic and that amount of traffic force my apeach to be down be cuz not enough RAM ( ffmpeg use it ) so , i upgread the vps to highest vps configueration but after time the traffic is up too and the prob is back ...so everytime i recevied alert that my site is down i hurry up to root for re-booting the apeach . sometime when i was offline or something like that the apreach reboot automatic but after long of time and it's not good for google rank . so if there's anything can help me solve that prob plz .

    thank you so much
    :)
     
    coun_vincent, Apr 5, 2010 IP
  2. dark143i

    dark143i Member

    Messages:
    263
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    30
    #2
    Just Wipe your server and reinstall everything . might be virus ?
     
    dark143i, Apr 5, 2010 IP
  3. coun_vincent

    coun_vincent Well-Known Member

    Messages:
    803
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    130
    #3
    no it's not . i'm sure
     
    coun_vincent, Apr 6, 2010 IP
  4. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #4
    That's horrible advise without even looking into the problem. If you know that you are using too much RAM on your VPS, then is may be time to upgrade to a dedicated server with lots of RAM to help with your situation. If your site is getting that much traffic, I can hope that you are making money off of it, and are able to upgrade to something that will continue to make you money.
     
    RHS-Chris, Apr 6, 2010 IP
  5. Shauni

    Shauni Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    with that info it's impossible to help. I could look deeper into it, if had the access
     
    Shauni, Apr 6, 2010 IP
  6. PsyHost

    PsyHost Well-Known Member

    Messages:
    641
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #6
    Definitely sounds like it's time for you to upgrade to a dedicated server.
    Providing you're actually reaching the limits of your VPS, and it's not a memory leak in one of your scripts/applications or a misconfigured server.
     
    PsyHost, Apr 6, 2010 IP
  7. coun_vincent

    coun_vincent Well-Known Member

    Messages:
    803
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    130
    #7
    i think you both are right and i will look into that , but i'm earn around 400 USD monthly from my site , do you think it's enough for a dedicated server ?
     
    coun_vincent, Apr 6, 2010 IP
  8. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #8
    What are the current specs on your VPS?
     
    RHS-Chris, Apr 6, 2010 IP
  9. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    #9
    Before you upgrade, hire a server administrator to assess your server to look for any memory leak, and to optimize your server. If s/he confirm its time for you to go for dedicated server, BUY from reputable hosting company with good bandwidth offering. So far these 2 are the biggest player in terms of high bandwidth, FDCServers.net and 100TB.com

    Btw, when you run "top" what does it says?
     
    proxywhereabouts, Apr 6, 2010 IP
  10. PsyHost

    PsyHost Well-Known Member

    Messages:
    641
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #10
    That is more then enough to get a descent Dedicated Server, Providing you look in the right spot.

    As I said before, Providing you don't actually have a majorly undersized VPS, first process should probably be to hire a system administrator to have a look at your server.

    Post your VPS Specs & Monthly bandwidth usage here and we will try suggestion your best options.
     
    PsyHost, Apr 6, 2010 IP
  11. coun_vincent

    coun_vincent Well-Known Member

    Messages:
    803
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    130
    #11
    coun_vincent, Apr 7, 2010 IP
  12. PsyHost

    PsyHost Well-Known Member

    Messages:
    641
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #12
    What kind of site are you running?
    2gb of ram should be plenty for a single website
     
    PsyHost, Apr 7, 2010 IP
  13. esupportsnet

    esupportsnet Greenhorn

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #13
    Hello,

    Which controlpanel that you are using. Please check the incoming http connections to the server at the peak of traffic.

    Whats the result of this command,

    netstat -alpn | grep :80 | aswk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
     
    esupportsnet, Apr 7, 2010 IP
  14. fanturo

    fanturo Active Member

    Messages:
    85
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    63
    Digital Goods:
    1
    #14
    you need a better vps provider.
     
    fanturo, Apr 28, 2010 IP
  15. enoelan

    enoelan Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    you should also check your Apache config file. That's what happened to me. I thought I didn't have enough RAM, and I kept upgrading. Apparently, it was maxclients that was set too low in httpd.conf which cause Apache to hang. Hope that helps :)
     
    enoelan, Apr 30, 2010 IP
  16. extremephp

    extremephp Peon

    Messages:
    1,290
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Buy a Dedicated Hosting and All will be setup..! :)

    try to optimize your VPS before you go up for buying one better Dedicated Hosting :)

    well and when you buy one, ask other users for feedback and then buy it...! Hope that would make a point to you.. doesnt it?
     
    extremephp, Apr 30, 2010 IP
  17. rathin

    rathin Peon

    Messages:
    1,377
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #17
    buy new dedicated wont be solution check your apache config it not worked then go for nginx or better hire server admin to check this issue
     
    rathin, May 3, 2010 IP
  18. coun_vincent

    coun_vincent Well-Known Member

    Messages:
    803
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    130
    #18
    i have bought new dedicated and it's fixed xd thank you so much for help :)
     
    coun_vincent, May 4, 2010 IP