Find the answer to your Linux question:
Results 1 to 2 of 2
My server hosts several domains (mostly WordPress installations). Recently, I started noticing that a process is sucking up 300% of the CPU time (I don't know how you can go ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    1

    Cannot kill process

    My server hosts several domains (mostly WordPress installations). Recently, I started noticing that a process is sucking up 300% of the CPU time (I don't know how you can go beyond 100%, but that's what WHM tells me).

    I tried killing the process, but it keeps coming up, and ramps up quickly to suck the bulk of the CPU cycles (uses negligible amount of RAM).

    According to the WHM:

    Process owner: MYSQL
    Command: /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/parnas.webuilders.com.pid --skip-external-locking --socket=/var/lib/mysql/mysql.sock

    When I trace it, it starts out like this:

    Any ideas how I can get rid of this process? I already rebooted the server once today. Can this be related to SELinux?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Well, that is the mysql database running. On a multi-core or multi-cpu system a multi-threaded process can easily take up more than 100% cpu. As to why it is doing this, that is another question. You might want to check your crontab and mysql configuration and/or mysql logs to find out exactly what is going on. It could be just a periodic database management query that has gone awry. Also, find out who is doing what with mysql (web servers, applications that use a database, etc).
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...