AWSOME! Thank you so much for the fix and explanation! Best regards, Andre
Le jeudi 7 février 2013 10:11:19 UTC+1, Roberto De Ioris a écrit : > > > > 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.