Server issues

Discussion in 'Apache' started by mumfry, Oct 16, 2010.

  1. #1
    hello guys n gals

    am having some issues with my server
    it crashes under heavy loads.
    seems like its caused by mysql
    i tried tweaking but i dont think i did it properly
    just wanted to know from the experts what i can do to get it right
    * OS: Linux CentOS
    * CPU: Intel Pentium 4 - 3.0 GHz
    * RAM: 2 GB
    * Bandwidth: 500 GB per month

    if any body has a good tweak for server like this please let me kno

    thanks alot
     
    mumfry, Oct 16, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Tweaking a server is different for each and every one, as the sites and software on each server will vary is resource usages. You should read through this post I did last year regarding MySQL tuning:

    http://solidservers.ca/2009/07/tuning-tweaking-mysql/

    It could be multiple other things that are causing the loads to spike as well. Have you monitored your top command while the loads are spiking?

    Chris
     
    RHS-Chris, Oct 16, 2010 IP
  3. aassociatehit

    aassociatehit Well-Known Member

    Messages:
    1,778
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    140
    #3
    There are different things in sql query which can overload the server, when they run, so you may want check what is causing load, and than optimize server, or may want to check with some good tech who can optimize it for you
     
    aassociatehit, Oct 18, 2010 IP
  4. SolidServ

    SolidServ Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What do the MySQL Error logs say?
     
    SolidServ, Oct 19, 2010 IP
  5. Rajeev123

    Rajeev123 Peon

    Messages:
    100
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    may be some operating system problem..!
     
    Rajeev123, Oct 20, 2010 IP
  6. scriptinstaller

    scriptinstaller Peon

    Messages:
    109
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I can consult this issue affordably, if you have no other free alternative, please contact me
     
    scriptinstaller, Oct 24, 2010 IP
  7. Axcell

    Axcell Active Member

    Messages:
    128
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    73
    #7
    just try mysqltuner.pl
     
    Axcell, Oct 25, 2010 IP