Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.12.0
-
None
-
None
-
None
Description
In drillbit.sh graceful shutdown calls drillbit stop with kill_drillbit set to false.
kill_drillbit=false
stop_bit $kill_drillbit
It means that waitForProcessEnd will be called with the same property. When waitForProcessEnd is called with kill_drillbit set to false, this method will try to kill drillbit using kill -0 until succeeds. So if at some point it won't be able, it may run forever. Need to have some timeout when waitForProcessEnd will stop trying to kill drillbit and report an error.