On Wed, May 23, 2012 at 4:48 PM, Shevitz, Daniel W <[email protected]> wrote:
> > > ** > > Notice “–p 1” I believe this should give me one process, which in fact it > does. I know this from the output of “ps –A |grep uwsgi”**** > > ** ** > > But if I add the flag**** > > --daemonize /opt/log/uwsgi/uwsgi.log**** > > ** ** > > And then run “ps –A|grep uwsgi” I have ten processes running. I assume > this a feature, not a bug. So how do I control the number of processes > running in daemonize mode? > This sounds like it might be a problem with your upstart config, as you're not specifying 'expect daemon'. [1] Unless you have a specific reason to daemonize uwsgi, I'd avoid it. Upstart jobs are much easier to manage if they don't detach, as you don't need to worry about fork counting and other messy details. -n [1] http://upstart.ubuntu.com/cookbook/#daemon-behaviour
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
