Description of problem: If there is an action which is running on an executor for a long time and it does not suspend itself and the memory watcher decides to recycle the executor, the termination may hang indefinitely. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. Pick any action, add infinite sleep to the beginning of its run method 2. Trigger the action 3. Wait for the memory watcher to try restarting the executor Actual results: The termination hangs, the dynflow executor process stays there, not releasing its resources. Expected results: The dynflow executor process gets terminated Additional info:
This supplements BZ1628638 which introduced termination timeouts.
Created redmine issue https://projects.theforeman.org/issues/25593 from this bug
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:1222