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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Long running MySQL processes - How can I automatically kill them.

Discussion in 'General Discussion' started by jols, Jan 26, 2006.

  1. jols

    jols Well-Known Member

    Mar 13, 2004
    Likes Received:
    Trophy Points:
    14763 mysql 15 0 86564 58M 824 S 2.4 5.8 174:28 1 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql

    I am constantly discovering mysql processes that are up and running continuously for hours. I find that I can't just kill them with a simple:

    kill 14763

    I have to use this -9 option, ala:

    kill -9 14763

    Does anyone have a suggestion about how to automatically kill these mysql process that run on and on?

    Thank you.

Share This Page