<< Back to previous view

[QB-3036] Force kill seems to be done after 5 seconds but the kill operation of the build needs more time
Created: 25/Aug/17  Updated: 23/Nov/17

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 7.0.19
Fix Version/s: 7.0.28

Type: Improvement Priority: Critical
Reporter: AlSt Assigned To: Robin Shen
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
As far as I see the force kill of a command is triggered 5 seconds after the graceful kill if the process is not already gone.

We have some integration tests which need more time than 5 seconds to really shutdown everything.

Correct me if I'm wrong.

If I'm right please make the wait time configurable. This would avoid hanging processes which are not really in the process tree.
Basically the thing is that we start webservers which start workers. These workers are not in the process tree. Only the monitoring process. And when the monitoring process is killed before the workers were shut down they remain active.

 Comments   
Comment by AlSt [ 19/Oct/17 01:16 PM ]
Hi,

is there any plan of implementing this?
Or maybe I got the time between the killing wrongly analyzed. Then please correct me.

But this would really help in getting a clean state on the build node after a build took too long or was cancelled.
Comment by Robin Shen [ 19/Oct/17 10:15 PM ]
Will get it implemented in next patch release which should be available this weekend
Comment by AlSt [ 20/Oct/17 06:15 AM ]
Nice. Many thanks.
Generated at Mon May 06 19:30:36 UTC 2024 using JIRA 189.