[uWSGI] Graceful shutdown/cleanup of mule processes

Joshua Lang joshua.h.lang at gmail.com
Fri Jul 22 19:40:39 CEST 2016


Looks good. Thanks for the quick turn-around!

On Fri, Jul 22, 2016 at 12:31 AM, Roberto De Ioris <roberto at unbit.it> wrote:

>
> > I have a simple uWSGI setup with a mule process for background
> processing.
> > I've set up my own signal handlers in mule-brain script to handle SIGINT
> > in
> > the mule process. I was hoping this would allow my script to finish its
> > current task and exit after that, but it seems as though the uWSGI master
> > process sends SIGINT to the mule process, but then just goes ahead and
> > SIGKILLs the process right before the master process exits.
> >
> > Is it possible to prevent this behavior so my mule process can get a
> > chance
> > to gracefully exit when the whole uWSGI "service" is exiting?
> >
> > Thanks,
> >
> > -j
> > _______________________________________________
> > uWSGI mailing list
> > uWSGI at lists.unbit.it
> > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
> >
>
> Hi, this patch should address the issue on INT signal:
>
>
> https://github.com/unbit/uwsgi/commit/aeb2fc4f883da7d5b8d5c3fb88bcd74f50ce987b
>
> Let me know
>
>
> --
> Roberto De Ioris
> http://unbit.com
> _______________________________________________
> uWSGI mailing list
> uWSGI at lists.unbit.it
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.unbit.it/pipermail/uwsgi/attachments/20160722/bd77755f/attachment-0001.html>


More information about the uWSGI mailing list