Skip to content

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

Draft
chrisburr wants to merge 1 commit into
DIRACGrid:integrationfrom
chrisburr:fix/reset-signal-mask-for-payload-integration
Draft

chrisburr wants to merge 1 commit into
DIRACGrid:integrationfrom
chrisburr:fix/reset-signal-mask-for-payload-integration

Conversation

@chrisburr

Copy link
Copy Markdown
Member

Port of #8838 to integration.

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-integration branch from 869da71 to 77e4a55 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