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!

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

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    3
    Trophy Points:
    168
    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.
     
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