Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mysql is consuming a lot of CPU

Discussion in 'Database Discussion' started by delalibera, Jul 18, 2018.

  1. delalibera

    delalibera Member

    Joined:
    Jan 6, 2014
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hello Everyone!

    I am having an issue on my dedicated server with cpanel.

    Mysql is consuming a lot of CPU, I am sending a printscreen to see. All day long there is this message in Process Manager saying that Mysql is using about 35% of the CPU.

    /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=server.delalibera.com.err --open-files-limit=32000 --pid-file=/var/lib/mysql/server.delalibera.com.pid

    Can anybody help me fix this?

    Thank you.
     

    Attached Files:

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @delalibera,

    Do you notice any actual slowness or performance issue when opening your websites, or is it just the percentage of CPU value that you are concerned about? You can run the "mysqladmin processlist" command to get a better idea of which databases are using the most resources at any given time.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. delalibera

    delalibera Member

    Joined:
    Jan 6, 2014
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hello cPanelMichael, thank you for your help.

    I do not see problem of slowness in the sites. My concern is only the high CPU usage, I do not know if this is normal. What do you think?

    Can you tell me some tutorial to improve the performance of mysql?

    Thank you.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice