Server causing an overload? Help??

Discussion in 'Web Hosting' started by secretsau, Jun 8, 2010.

  1. #1
    Hi,

    I have VPS and im having problems with it, its overloading to 100% each day and causing it to shutdown on SolusVM (which i have to boot it each time), because its unmanaged i have to fix the problem myself..

    They said i ether have to optimize mysql or my scripts etc..

    Does anyone have any solutions on this ?? :confused:
     
    secretsau, Jun 8, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    You need to figure out where the bottleneck is. Are you running a heavy mysql site(s)? Odds are you need to optimize your web server and your mysql server for your hardware specs.

    Chris
     
    RHS-Chris, Jun 8, 2010 IP
  3. secretsau

    secretsau Active Member

    Messages:
    402
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Its actually a torrent site using mysql for tags only. How do i do this optimization?
     
    secretsau, Jun 8, 2010 IP
  4. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #4
    Monitor the output of 'top' through your ssh terminal, and see what the big hitter is. That will give you a place to start. You can also take a look at your log files to see if there is anything out of the ordinary.
     
    RHS-Chris, Jun 8, 2010 IP
  5. MarbleHost.com

    MarbleHost.com Well-Known Member Affiliate Manager

    Messages:
    634
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    155
    #5
    There are PHP functions which will allow to test how many resources every script uses. Using these stats you can find the problem and optimize your script.
     
    MarbleHost.com, Jun 9, 2010 IP
  6. Zenith78

    Zenith78 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If you need a managed hosted solution, email me at

    Thanks.
     
    Zenith78, Jun 9, 2010 IP
  7. vinoth.t

    vinoth.t Peon

    Messages:
    156
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    First figure out your requirement with current server status. If you are using mysql in ur page try to reuse it and minimize the no.of query (still you have the problem then go for memcache) according to page make the process as simple you can. Look at this doc
    http://developer.yahoo.com/performance/rules.html
    If possible increase RAM
     
    vinoth.t, Jun 9, 2010 IP
  8. ccolluci

    ccolluci Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    anything that is disk IO heavy will cause this with virtualization.... if their hardware / drives are slow as well , that is the most likely bottleneck
     
    ccolluci, Jun 10, 2010 IP
  9. koii

    koii Peon

    Messages:
    38
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    What exactly was their response? They can give you much more information than anyone on here. Did you have this problem on a previous VPS provider or are they your first?
     
    koii, Jun 10, 2010 IP
  10. secretsau

    secretsau Active Member

    Messages:
    402
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #10
    I want to hire someone to fix this problem for me.. pm your rate and experience.. thanks ;)
     
    secretsau, Jun 10, 2010 IP
  11. Coponer

    Coponer Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Torrents site with mysql only for tags? hmm, what kind of source are you using?
    Start with mysql and your webserver, I bet that will help alot, then u can optimize scripts.
    If have some problems, I can help, have experience specially in torrent sites.
     
    Coponer, Jun 16, 2010 IP
  12. mentos

    mentos Prominent Member

    Messages:
    15,280
    Likes Received:
    473
    Best Answers:
    0
    Trophy Points:
    330
    #12
    You need to upgrade you VPS ram.

    Current how much RAM you using?

     
    mentos, Jun 17, 2010 IP
  13. anands

    anands Well-Known Member

    Messages:
    436
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    120
    #13
    Mysql performance is greatly affected by RAM, processor cores. If you have larger database, i recommend you to upgrade the RAM.

    have you optimized my.cnf file?
     
    anands, Jun 17, 2010 IP
  14. fsmobilez

    fsmobilez Active Member

    Messages:
    449
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    78
    #14
    why dont u move to a hosting company which offers fully managed servers and no extra cost.
     
    fsmobilez, Jun 17, 2010 IP
  15. Coponer

    Coponer Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    ofcourse, all want's to earn money by offering some other services, optimize sql server. And i dont think that even my.cnf is edited.
     
    Coponer, Jun 17, 2010 IP
  16. WebIntellects - Rob

    WebIntellects - Rob Active Member

    Messages:
    689
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #16
    The best idea I think.
    If you stay with current dedicated server solution I think you will waste a lot of your time.
     
    WebIntellects - Rob, Jun 17, 2010 IP
  17. secretsau

    secretsau Active Member

    Messages:
    402
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #17
    Well i have 2GB Ram on my vps and 1.95TB Bandwidth??
     
    secretsau, Jun 18, 2010 IP
  18. haveseo

    haveseo Well-Known Member

    Messages:
    995
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #18
    Maybe one of your scripts are using many RAM and CPU resources. Review your script(s) and optimize them as your serer have good RAM and CPU.
     
    haveseo, Jul 5, 2010 IP