Is UvicornWorker closing correclty its socket on shutdown ? #2291
Unanswered
funny-papaya
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am running lastest gunicorn with uvicorn worker with this setup:
gunicorn asgi:app -b 127.0.0.1:9106 -k uvicorn.workers.UvicornWorker --workers 1 --log-level debug --max-requests 1
While benching with ab
ab -n 1000 http://127.0.0.1:8000/
I am having:[INFO] Error while closing socket [Errno 9] Bad file descriptor
in the app logapr_socket_recv: Connection reset by peer (104)
for abI have the same issues on different uvicorn version (0.28 et 0.29).
Here is my asgi.py
Beta Was this translation helpful? Give feedback.
All reactions