Skip to main content

Slow server (MySQL / IOPs)

Comments

8 comments

  • storminternet
    I would suggest you to run tuning-primer.sh again as it will give you clear idea about the actual usage by mysql. Secondly if you need to check with host if there is any other vps, consuming resources badly and overloading hardware node on which your vps is hosted.
    0
  • PatrickVeenstra
    Thank you for your reply. I already tried to run tuning-primer.sh again, but it hangs again on INNODB status. I'm going to contact my provider now.
    0
  • cPanelMichael
    Hello :) The following command may also help you identify any particular databases responsible for the usage: mysqladmin processlist
    Thank you.
    0
  • PatrickVeenstra
    Right now my server load is 16, being the top user mysql (command: mysqld). mysqladmin processlist says: +---------+--------------+-----------+--------------+----------------+------+--------------------+------------------+ | Id | User | Host | db | Command | Time | State | Info | +---------+--------------+-----------+--------------+----------------+------+--------------------+------------------+ | 121 | DELAYED | localhost | eximstats | Delayed insert | 1 | Waiting for INSERT | | | 419267 | eximstats | localhost | eximstats | Sleep | 1 | | | | 1144633 | leechprotect | localhost | leechprotect | Sleep | 4694 | | | | 1205799 | DELAYED | localhost | eximstats | Delayed insert | 215 | Waiting for INSERT | | | 1209751 | root | localhost | | Query | 0 | | show processlist | +---------+--------------+-----------+--------------+----------------+------+--------------------+------------------+ [COLOR="silver">- - - Updated - - - Right now, Load Averages: 10.83 12.12 14.69 top: 1877 mysql 20 0 8990m 2.4g 6360 S 10.6 15.3 156:55.97 mysqld .. and a three PHP processes that use much less CPU .. and a lot of stuff that uses 0.0
    0
  • PatrickVeenstra
    The issue has been solved by moving the VPS to another server. Load at peak is < 0.5 so everything is great again. The server is not identical (6x3,4GHz instead of 6x3,2GHz), but I suppose that it was caused by hard disk overloading.
    0
  • cPanelMichael
    I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.
    0
  • codelabkenya
    hello i have same issue my server load has been running at an average of 0.5 but for the last 5 days it has been running at an average of 2.0 there is these specific mysql processes that is consuming 25% of cpu usage and 18% of RAM /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/codelab.codelabkenya.net.err --open-files-limit=50000 --pid-file=/var/lib/mysql/codelab.codelabkenya.net.pid i will appreciate your assistance Robert Mwaura
    0
  • cPanelMichael
    I'm not sure it is the same issue as you suggest, but you are welcome to run the command I suggested earlier in this thread to get an idea of which databases are utilizing the most resources. Thank you.
    0

Please sign in to leave a comment.