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 is loaded

Discussion in 'Workarounds and Optimization' started by Sunchaser, Aug 11, 2013.

  1. Sunchaser

    Sunchaser Registered

    Joined:
    Nov 30, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hello, i have the server that in the last days is often loaded. I have always the same traffic and i didn't release any new software.

    The load increased from 0.5 to 5 or 6. The application is written in php and mysql. How can i know what is the problem, for instance how do i know if i do need to tune mysql or there is another problem?

    thanks
     
  2. MilesWeb

    MilesWeb Well-Known Member
    PartnerNOC

    Joined:
    May 23, 2012
    Messages:
    174
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    You will have to analyze the usage on the server with basic commands like below. These will help you in basic troubleshooting. From here you can start in the right direction.

    top -d2
    watch mysqladmin pr
    ps auxfg
     
  3. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    For the MySQL you will have to monitor your mysqlprocess through SSH

    Code:
    watch mysqladmin pr
    Also Try to run MySQLTuner script on your server and update your my.cnf file.
     
Loading...

Share This Page