> Hi,
>
> When I run uwsgi in emperor mode and if threads are set to 0 "threads=0"
> still there seems to be a thread for each worker. Where is if I run
> without
> emperor mode and set 'threads=0' the worker does not seem to have any
> threads.
>
> I have a couple of web instances which are running and I see that the
> number of context switches in the machine which has emperor mode enable is
> high averages 6k - 8k per second. I would appreciate if someone could shed
> some light on this.
>
>

uWSGi internally can use threads for various purpose (even if
langiage-specific support for threads is not enabled).

Are you sure you are not referring to the master process (that is enabled
automatically when in emperor mode) ?


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

Reply via email to