Relative Content

Tag Archive for nginxuwsgi

when uwsgi all process is busy, how to redirect?

I’m currently using nginx + uwsgi + flask.
I’m using SSE from flask to get real time message from server to client (like one way socket).
but, since I set process = 10, only 10 connection can be made.
once all process is busy, the new connect is hanging, and then got error (like net::ERR_NETWORK_CHANGED).
and this will break all other connection in the process with this error