Thanks. attach-daemon works mush better in my case.
Igor
On 04/04/2013 06:10 PM, Roberto De Ioris wrote:
Hi,
I run uwsgi in emperor mode, its configuration is:
[uwsgi]
emperor = /home/www/uconfigs
master = true
die-on-term = true
enable-threads = true
daemonize = /home/www/logs/uwsgi.log
and one of its vassals is non-uwsgi app, its configuration is:
[uwsgi]
die-on-term = true
privileged-binary-patch-arg = /usr/bin/python /home/www/req_logger/app.py
After termination master process I have found that process of this
vassal is steel running and it is unkillable.
I suggest your to use attach-daemon facilities for managing external
process, unless your app.py implements the "emperor protocol":
https://uwsgi-docs.readthedocs.org/en/latest/EmperorProtocol.html#the-protocol
attach-daemon options:
https://uwsgi-docs.readthedocs.org/en/latest/AttachingDaemons.html
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi