> I have web2py + uWSGI + Cherokee
>
> When I upload file, server is locking for all users.
> Does somebody khow how to fix it?
>

You have to increase the number of workers (or threads).

Cherokee is a streaming server so it will pass POST data to uWSGI as
soon as they arrive leaving it blocked for all the upload cycle.

Add -p <n> (ncpu*2 is a good number to start with) or if you are using a
0.9.7.x release you can use threads with --threads <n>

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

Reply via email to