Threads make things slower (if you have multiple cores) but prevent one client to hang the server and affect others. You do it for concurrency, not for parallelization.
On Tuesday, 26 November 2013 01:00:35 UTC-6, Jayadevan M wrote: > > The script > > https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-centos64.sh<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fweb2py%2Fweb2py%2Fblob%2Fmaster%2Fscripts%2Fsetup-web2py-nginx-uwsgi-centos64.sh&sa=D&sntz=1&usg=AFQjCNHTY4qtthAmtf1_wrAL4xigTljnWw> > does > > UWSGI_OPTIONS="--enable-threads > Elsewhere I read that for python, it is better not to enable threads. Anyway, > even with this, I see > "*** Python threads support is disabled. You can enable it with > --enable-threads ***" > in uwsgi log file. > Should we have the enable-threads option? > Why am I getting the threads disabled message? > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

