bW9ubwo
Sudden gunicorn errors. App unusable.
What do you mean? There is no problem with the bind.
I mean: The request and the scaling should only need a second, or may be two. So even if the app can't do this with 2 workers in parallel, they should still fit in the timeout window one after the other.
30 replies
Sudden gunicorn errors. App unusable.
gunicorn --timeout 120 --workers=4 --threads=4 --log-level=debug --bind 0.0.0.0:$PORT application:app
It works. Lightning fast 🙂
I know that workers need more memory and process management costs extra. I still find the result strange. Eight workers as before should be more than enough and then also the fact that it just stopped working.
30 replies
External Domain SSL not working
But what is the problem, is there anything I can do? For me, it looks like a bug in your system or a sleep period that extends exponential between two checks.
I think so because if I set up the external domain in your system and immediately the DNS it works. But sometimes this is not possible because I don't control the domain DNS.
For the production system. What can I do to make the switch flawless?
40 replies