summaryrefslogtreecommitdiff
path: root/mysys/mf_keycaches.c
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.cornsilk.net>2007-01-31 15:39:41 -0500
committerunknown <cmiller@zippy.cornsilk.net>2007-01-31 15:39:41 -0500
commitf50bf8728113cbb56dc231fd076bfdf624544913 (patch)
treef89f7fedf134d3166e88bb6fdfcd257a6290e0e9 /mysys/mf_keycaches.c
parent1fdda68914a7a3ccb9527177100fff5b07972e69 (diff)
downloadmariadb-git-f50bf8728113cbb56dc231fd076bfdf624544913.tar.gz
Bug#25341: "init.d/mysql stop" may timeout too quickly
Thirty five seconds is entirely too short of a period to wait for a server to exit. Instead, make a valliant effort to make sure it exits, and only give up after a very long period (arbitrarily chosen as 15 minutes). In addition, if we're being asked to restart the server, then don't try to start again if trying to stop the server failed. --- Return zero by default, when the script exits. --- Set return-/exit-value based on whether we successfully dealt with the PID-file. --- Don't wait that long if the program we're waiting on exits. It should only exit if the server is not going to be started. support-files/mysql.server.sh: Raise timeout to a pessimistic value, 15 minutes. We should only be willing to give up and exit after an extraordinary effort. --- Return zero by default, when the script exits. --- Set return-/exit-value based on whether we successfully dealt with the PID-file. --- Don't wait that long if the program we're waiting on exits. It should only exit if the server is not going to be started.
Diffstat (limited to 'mysys/mf_keycaches.c')
0 files changed, 0 insertions, 0 deletions