-
Notifications
You must be signed in to change notification settings - Fork 690
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
pyuwsgi + enable-threads + python3.12: workers do not recover after a reload #2659
Comments
cc @methane since you seem to have been poking around in |
Try #2654 |
tried that patch out but unfortunately it doesn't seem to fix it -- still getting hangs unfortunately |
if it's helpful -- an strace of the child processes while stuck shows:
the parent process:
will see if I can figure out more |
ah this is definitely more useful info -- here's the stack of the stuck children:
(edited with debug line numbers against 3.12.4 + 2.0.26 + #2654) |
still an issue. I'm going to try and bisect cpython today and see if I can't find what changed and where the bug lies |
alrighty -- here's the result of bisection!
|
created python/cpython#123079 with a potential fix |
btw I have a fix for this in #2660 -- if you're using |
Fixed in #2670 |
reproduction:
python3.12 -m venv venv . venv/bin/activate pip install pyuwsgi bash t.sh
output:
(and then no additional output) -- the uwsgi processes also become relatively unkillable (not responding to
^C
/^\
,SIGTERM
etc.)the other terminal output:
this seems to not be an issue with python 3.11 or without
pyuwsgi
The text was updated successfully, but these errors were encountered: