[MDEV-703] LP:870310 - killall -9 in init-script Created: 2011-10-07 Updated: 2014-01-02 Resolved: 2013-06-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.2, 5.5.31 |
| Fix Version/s: | 10.0.4, 5.5.32 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Erkan Yanar | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
From /etc/init.d/mysql
First I see no reason to use anything else than killall -15. |
| Comments |
| Comment by Rasmus Johansson (Inactive) [ 2011-10-07 ] |
|
Launchpad bug id: 870310 |
| Comment by Kristian Nielsen [ 2013-03-01 ] |
|
For what it is worth, this comes from original Debian MySQL packages. However, nevertheless I agree that this code looks very wrong. |
| Comment by Elena Stepanova [ 2013-06-03 ] |
|
It's 30 seconds now, but I think we still regularly observe the consequences. Most of production logs that we receive from users have numerous errors about possibly corrupted tables. We attributed them to previous crashes, but the amount of them suggests it's something more generic, and this kill fits. Shutdown becomes slower with each major version, servers become bigger, and 30 seconds for a big busy production server is not enough, so every time it gets shut down, it ends up killed. Is it possible to make it somewhat smarter, or at least to increase the timeout further? After all, is somebody wants to kill the server immediately, they're unlikely to use the script, they will just shoot. |
| Comment by Sergei Golubchik [ 2013-06-14 ] |
|
increased the timeout |
| Comment by erkan yanar [ 2014-01-02 ] |
|
As a fact killall was and is never executed. (just a quick look indeed) |