pcolladosoto commented on issue #22191:
URL: https://github.com/apache/airflow/issues/22191#issuecomment-1085691641


   That's one if the issues I wanted to bring up on the PR... As you say, 
`SIGKILL` *should* terminate the process in any circumstance. However, I do 
lean towards adding an optional (maybe hardcoded?) timeout too. Even though 
forcefully waiting the process should not be a problem in a normal scenario it 
can indeed become an indefinitely blocking operation in the event of the kernel 
misbehaving.
   
   The other key aspect is thinking about how we want that to be handled. 
Should we halt it all with an exception? Should we just cope with the 
(hopefully) few zombies that could be spawned and just show something on the 
log? I'm going to open a PR right now to try and move this discussion there. 
That way we can iterate over the available choices and decided what's best.
   
   Thanks a ton for the input!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to