> Hello,
>
> I have setup nginx & uwsgi on lubuntu with the script and it works great
> (best server ever!), except for a part of my application that requires
> multi threads. I have changed the /etc/uwsgi/web2py.xml to enable threads,
> tried to set each worker with 2 threads, set the thread memory stack to
> 512, it doesn't work: I quickly get a 'resource not available (error 11)'
> message.
>
> Anyone has a tip on what I could work on to make this work? Because
> otherwise the application works fine with rocket / gevent for example.
>
> Thanks,
>
> Andre


If your app is multithreads based you cannot spawn additional processes
(they do not share memory).

Just set processes to 1 and threads to a decent value


-- 
Roberto De Ioris
http://unbit.it

-- 

--- 
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.


Reply via email to