Skip to content

[8.0] fix (WMS): clear the signal mask before starting the payload - #8839

Draft
chrisburr wants to merge 1 commit into
DIRACGrid:rel-v8r0from
chrisburr:fix/reset-signal-mask-for-payload-v8r0
Draft

chrisburr wants to merge 1 commit into
DIRACGrid:rel-v8r0from
chrisburr:fix/reset-signal-mask-for-payload-v8r0

Conversation

@chrisburr

Copy link
Copy Markdown
Member

Port of #8838 to rel-v8r0.

BEGINRELEASENOTES
*WorkloadManagement
FIX: the payload no longer inherits signals blocked in the JobWrapper (e.g. by gfal2), so it can be stopped with SIGTERM and abort itself with SIGQUIT
ENDRELEASENOTES

Creating a gfal2 context leaves most signals (SIGTERM, SIGINT, SIGQUIT,
SIGALRM, ...) blocked in the calling thread. The payload inherits the
signal mask of the thread that starts it, so it couldn't be stopped with
SIGTERM, and Gaudi's EventWatchdog could not abort stuck jobs with SIGQUIT
(gaudi/Gaudi#428).
@chrisburr
chrisburr force-pushed the fix/reset-signal-mask-for-payload-v8r0 branch from 0edfc39 to 11e713f Compare October 20, 2026 12:43

This branch has not been deployed

No deployments
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