Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.4.0
-
None
Description
The flume stop script does the following:
kill -TERM ${FLUME_PID} &>/dev/null
sleep 5
kill -KILL ${FLUME_PID} &>/dev/null
It is not recommended to kill -9 flume while it is shutting down.
The correct approach is to poll to see if the pid is up every second or so, after sending the intitial TERM signal, then after some long period of time (60 seconds) if the pid is still alive then kill -9 would be appropriate.