Join the community today
Register Now

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

    4,023
    421
    83
    May 31, 2014
    Ratings:
    +817
    Local Time:
    12:02 AM
    Nginx-1.17.x
    MariaDB 10.3.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

    50,489
    11,667
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,095
    Local Time:
    7:02 AM
    Nginx 1.25.x
    MariaDB 10.x
    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.
     
  3. pamamolf

    pamamolf Well-Known Member

    4,023
    421
    83
    May 31, 2014
    Ratings:
    +817
    Local Time:
    12:02 AM
    Nginx-1.17.x
    MariaDB 10.3.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

    50,489
    11,667
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,095
    Local Time:
    7:02 AM
    Nginx 1.25.x
    MariaDB 10.x
    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

    4,023
    421
    83
    May 31, 2014
    Ratings:
    +817
    Local Time:
    12:02 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Ok great
    :)