So I see workers start running, printing their results, and as they
throw ZeroDivisionError exceptions the mules just sit there dormant.
So the mule processes keep going - I can see them in 'ps', but they
don't do anything.

This is uwsgi 1.4.4



So the behaviour of the master is the right one, the problem are mules not
exiting after an exception ?

yes
if I kill a mule with 'kill' the master will restart it and it'll start running my worker function



btw,
also now noticed this:

kill 31830

OOOPS mule 1 (pid: 31829) crippled...trying respawn...
spawned uWSGI mule 1 (pid: 31839)
OOOPS mule 2 (pid: 31830) crippled...trying respawn...
spawned uWSGI mule 2 (pid: 31840)


killing a mule, seems to randomly respawn other mules too


--
дамјан
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to