Project

General

Profile

Actions

Bug #25593

closed

Dynflow executor termination may hang if there is an action which keeps the executor occupied

Added by Ivan Necas over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Dynflow
Target version:
-
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1654975

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:


Related issues 1 (0 open1 closed)

Blocks foreman-tasks - Bug #25021: The termination procedure after memory threshold exceeded can get stuck, waiting infinitely for some events to occurClosedActions
Actions

Also available in: Atom PDF