You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Worker process hangs when SystemExit Exception is raised #220
When a worker in a multiprocess.Pool catches SIGTERM and raises SystemExit, the worker logs the signal handling but then hangs indefinitely. If the handler raises a different exception (e.g. ValueError), the process exits immediately as expected.
Observe that the worker logs the SIGTERM catch but the program never exits.
This appears to be catching Exception vs. BaseException (see PR)
Activity
nnnaomina commentedon Jan 9, 2026
I think I'm having the same issues
nnnaomina commentedon Jan 9, 2026
Since I'm not sure, I'm going to open a separate issue
Report BaseExceptions from Pool tasks instead of hanging (uqfoundatio…
Report BaseExceptions from Pool tasks instead of hanging (uqfoundatio…