Lingering browser processes
Describe your question
I run the main,options is --port 3000 --workers 1
when I opened a web server ,python process adding two ...
when I closed the web server, web socked was closed. But Two additional process were exists!
Additional context
Each time a websocket connection is established, fastApi should add a thread to maintain the connection.
I want to know why the new python process were created and how to optimize this
Could you share the arguments of the processes too?
i think three processes are normal :)
if you find any situation will cause the process number increase, please let us know.
i think three processes are normal :)
if you find any situation will cause the process number increase, please let us know.
- It will increase if I open more browsers. There will be no more than 5 processes. I will try to deploy the application to an online environment to see if multiple people can use.
Yes--each browser spawns its own process. Sounds like maybe we're not cleaning them up?
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
@mzydmer is this still an issue with the latest main?
