[uWSGI] how to prevent uwsgi to shot celery own sub-processes?

Roberto De Ioris roberto at unbit.it
Wed Jul 27 08:02:49 CEST 2016


> Hi,
>
> I have an issue using uwsgi and celery. When celery is stopped by uwsgi,
> it tries to kill one of its pool subprocess but it fails because this
> subprocess doesn't exist anymore (as if uwsgi would have done the job
> already). I posted some more information here:
>
> http://stackoverflow.com/questions/38521586/billiard-writes-errno-3-no-such-proces-when-uwsgi-shuts-celery-down
>
>

Hi, probably the easiest thing to do is setting celery as a 'true daemon'
so it will detach completely from uwsgi. Check --attach-daemon2 option for
the daemonize flag

-- 
Roberto De Ioris
http://unbit.com


More information about the uWSGI mailing list