> server has 512Mb, and only runs nginx and mercurial, which should be
> enough.
>
>> In addition to this i prefer to run mercurial over threads (not
> processes)  as it is I/O bound.
>
> If I wish to change this, what do I need to change?

remove --processes n

and add

--threads n --thread-stack-size 512

for me 512k of stack size is more than enough for mercurial, maybe you can
be even more aggressive. Regarding the number of threads you should
experiment a bit, start with 4 and check how much memory they need


-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to