Skip to content

scheduler: wait for process groups after actions exit#14868

Open
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-ykypupstsoyu
Open

scheduler: wait for process groups after actions exit#14868
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-ykypupstsoyu

Conversation

@rgrinberg
Copy link
Copy Markdown
Member

After a process-group leader exits, check whether its group still contains processes. If so, send SIGTERM, poll for the group to disappear, escalate to SIGKILL after the existing grace period, and abort if it still remains.

Extend the cram subprocess test with a SIGTERM-ignoring background job.

@rgrinberg rgrinberg force-pushed the push-ykypupstsoyu branch from 02793b0 to 26a5a22 Compare June 2, 2026 19:33
After a process-group leader exits, check whether its group still contains processes. If so, send SIGTERM, poll for the group to disappear, escalate to SIGKILL after the existing grace period, and abort if it still remains.

Extend the cram subprocess test with a SIGTERM-ignoring background job.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg rgrinberg force-pushed the push-ykypupstsoyu branch from 26a5a22 to 6e72949 Compare June 2, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant