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.

Mysql process error log

Discussion in 'Database Discussions' started by Leee-John, May 22, 2017.

  1. Leee-John

    Leee-John Registered

    Joined:
    May 22, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    cPanel Access Level:
    Website Owner
    Hi,

    On WHM's process manager I constantly see a possible cpu intensive task which seems to be related to mysql.

    The task is kind of

    /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/server.xxxxxxxxxxxxxxxx --open-files-limit=50000 --pid-file=/var/lib/mysql/server.xxxxxxxxxxxxxxxxxxxxxxx

    It takes like 35% of the CPU load and probably increases the average CPU load.

    It's not clear to me whether the latter process task is normal.

    - Is there something I can do to stop that process from running and consume resources ?
    - How can I get access to the log files ?
    - What could be the root cause of such a task to come into being ?

    I'm a novice to WHM & cPanel. Your help would be much appreciated.

    Thank you.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,204
    Likes Received:
    1,296
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's normal to see this process when MySQL is running. If your sever load or disk I/O is high, you may want to use the "mysqladmin processlist" command to get a better idea of which MySQL databases are using the most resources. You may also find the following thread helpful:

    Troubleshooting high server loads on Linux servers

    Thank you.
     
Loading...

Share This Page