Announcement

Announcement Module
Collapse
No announcement yet.

killall -9 mysqld in init script ?

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • killall -9 mysqld in init script ?

    Hi,

    I'm using percona-server-server-5.5 on Debian.

    In the init script, if all else fails on a stop, it issues a "killall -9 mysqld" ; isn't it a bit drastic ?

    I know it's issued only if nothing else worked (shutdown, SIGTERM) but still, wouldn't it be better if it let the user handle the problem (and issue a kill -9 or whatever is needed) instead of doing it automatically as it may have severe consequences on the data ?


    Thanks,


    Thomas

  • #2
    The init script we ship is the same as the MySQL Enterprise one. In general I have never seen an init script I was happy with. But no one has paid for developing a better one, and it is not a trivial task to do right in my opinion. So it is still on the wishlist.

    Comment

    Working...
    X