I have a django app that I serve with nginx and uwsgi. Some requests
that the app receives start python threads that are not complete when
the request returns a response to the client. When I run with the
django devel server the threads continue to run to completion. But
when I run with the djanbo prod server using nginx and uwsgi it seemed
that the threads terminate when the response is sent. But then I was
doing some more debugging and the server was in the state where it
seemed the threads were no longer running and then I restarted uwsgi
and then the threads ran to completion! So now I am very confused -
they clearly were still around, but seeming in some blocked state and
they were able to resume when uwsgi restarted. Can anyone shed any
light on what is going on? Is it feasible to run a thread that
continues after the request returns?
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi