Get the most out of your Centmin Mod LEMP stack
Become a Member

Troubleshoot system load 90 on Centos 6.6 64bit

Discussion in 'System Administration' started by pamamolf, Jan 15, 2015.

  1. pamamolf

    pamamolf Well-Known Member

    2,532
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    12:21 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

    I am getting a system load of 90 and i have a lot of free ram swap i not used at all and cpu is high about 90% but i am sure that the problem is from a background system command that can't be found using top :(

    Using top all are normal and i have very low numbers as always....

    I am not also under attack for sure as i don't have many connections on the server...

    Is there anyway to check with more details what is causing this system load?

    Maybe an application task is running or maybe a task crash?

    After restarting the server is fine now but just to know for the next time...

    Thanks
     
    Last edited: Jan 15, 2015
  2. eva2000

    eva2000 Administrator Staff Member

    29,033
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,782
    Local Time:
    7:21 PM
    Nginx 1.13.x
    MariaDB 5.5
    start with my mysqlmymonlite.sh script at mysqlmymonlite.sh Addon | Centmin Mod Community it's basically a lite version of the full version I use for my paid optimisation consults I do with clients :)

    Official site page is at mysqlmymon.com and the web site lists an example output of what type of server info and stats the script gathers.
     
    • Like Like x 2
  3. pamamolf

    pamamolf Well-Known Member

    2,532
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    12:21 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Ok thanks George i will try it tomorrow if i have again the same problem and let's hope that i will be able to view the problem in the output :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    29,033
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,782
    Local Time:
    7:21 PM
    Nginx 1.13.x
    MariaDB 5.5
    readme.txt in zip for mysqlmymonlite.sh has instructions for setting cronjob to run script to gather output and save to disk log file or email you every X interval where X can be every 5-15 minutes or every hour. So you do not need to physically present to catch the high load situations.
     
  5. pamamolf

    pamamolf Well-Known Member

    2,532
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    12:21 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Ok great
    :)