>> What signal is sent to mules when SIGINT or SIGHUP is sent to uWSGI?
>>
>> I ask because I'd like to run some mules that would pool a queue and pull
>> jobs from it, but I'd also like to be able to take an action before they
>> are killed.
>>
>>
>>
>
>Mules are (by-design) not driven by UNIX signals.

>In such a way you can define your own signal handlers to control them. The
>master only send SIGKILL to them.

So when the master gets a SIGHUP/SIGINT, the master will kill any mules
running with SIGKILL?

What I'm trying to do is kill the mule gracefully and do some cleanup tasks
whenever the master is shutdown or restarted. If the master sends SIGKILL
then I won't be able to trap it and do any cleanup first. Is there any way
around this?



Frank JANIA
I solve problems.
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to