Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alias CLD to CHLD in signal handlers #3151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jcjones1515
Copy link

@jcjones1515 jcjones1515 commented Feb 6, 2024

image

some systems have 17 mapped to both CHLD and CLD, this prevents a CHLD signal from being handled in this case

I observed on our systems this issue prevented the arbiter from recognizing a worker getting killed and did not restart it.

This may be addressed by #3148, although that has quite a few other changes. Happy to close this one if #3148 is preferred.

some systems have 17 mapped to both CHLD and CLD,
this prevents CHLD from not being handled in
this case
@benoitc
Copy link
Owner

benoitc commented Apr 16, 2024

@jcjones1515 what systems have this ? Can you give an example?

@pajod
Copy link
Contributor

pajod commented Apr 23, 2024

Most of them, just not macOS. Python has even recently updated their documentation to clarify that SIG* is is just whatever the C library says - hence no such alias on macOS, hence no duplicate key bug in SIG_NAMES there.

Highly prefer a proper cleanup like the two approaches demonstrated in #3148 over a spot-workaround like this here.

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.

None yet

3 participants