>>> Now my question is, what would be a more proper way to run these
>>> workers, so that they are started and stopped with the uWSGI
>>> application, and restarted if they crash, considering they are all
>>> endless loops.
>
>>
>> use muleloop(n) instead of mulefunc(n).
>>
>> The second one is used to call a function in a worker and run it in a
>> mule, while the second is exactly what you need.
>
> but this again doesn't restart the mule and the job if it dies.

Are you sure the master is enabled ?

mules are monitored like the other processes.

Can you report what uWSGI says when a mule dies ?


-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to