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
I just moved from uvicorn 0.19.0 to 0.23.1. I'm running a FastAPI app in WSL for local testing. I notice when I hit ctrl-c to terminate my running instance, it takes up to 30s for them to stop running. I see this in the console:
^C[2023-07-24 12:03:35 +0800] [1] [INFO] Handling signal: int
[2023-07-24 12:04:05 +0800] [1] [ERROR] Worker (pid:17) was sent SIGKILL! Perhaps out of memory?
[2023-07-24 12:04:05 +0800] [1] [ERROR] Worker (pid:18) was sent SIGKILL! Perhaps out of memory?
[2023-07-24 12:04:05 +0800] [1] [ERROR] Worker (pid:16) was sent SIGKILL! Perhaps out of memory?
[2023-07-24 12:04:05 +0800] [1] [INFO] Shutting down: Master
I back-tracked my versions of uvicorn and found out that only 0.19.0 works properly - terminates instantly. All versions after 0.19.0 exhibit the issue above.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all.
I just moved from uvicorn 0.19.0 to 0.23.1. I'm running a FastAPI app in WSL for local testing. I notice when I hit ctrl-c to terminate my running instance, it takes up to 30s for them to stop running. I see this in the console:
I back-tracked my versions of uvicorn and found out that only 0.19.0 works properly - terminates instantly. All versions after 0.19.0 exhibit the issue above.
Help?
Beta Was this translation helpful? Give feedback.
All reactions