-
Notifications
You must be signed in to change notification settings - Fork 687
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
Cheaper mode do not spawn worker after first timeout #152
Comments
Most likely due to If You want all workers to be stopped if not needed, than use I'll check if --cheaper is validated properly. EDIT: You have |
I tried to remove
2nd GET:
|
With 1.4.3 you also need to remove |
and that work! |
Can you close this report if it works? |
yes thanks |
I have this server I use only for integration tests by my dev team. Each time a git push is made, this server is updated.
But as I have a lot of projects, I can't have all of them running all the time and consume memory. So I wanted to have uwsgi to launch them only if someone try to get on the proper virtualhost.
It work well until uwsgi kill the worker for innactivity, after that it don't respawn new workers.
uwsgi config:
Running uwsgi:
Now I that it had started, get / on Nginx:
Wait until the worker is killed:
Try to do an other get / on Nginx:
No more worker spawning?
After a while Nginx return 504 Gateway Timeout.
And it loop like that until I interrupt it:
The text was updated successfully, but these errors were encountered: