Re: [web2py] Re: Cherokee server locking while upload

2011-03-27 Thread Roberto De Ioris
Thx, but what is the best solution for now to deploy web2py with more than 3k users online, which can upload and download files? No using a streaming upload webserver will solve your problem Move to nginx, this will solve your specific problem, and use X-Accel-Redirect (this is the

[web2py] Re: Cherokee server locking while upload

2011-03-27 Thread LightOfMooN
Yes, just tested it. Many parallel downloads, nice speed, and no locks even more. Nginx Rocks! On 27 мар, 15:41, Roberto De Ioris robe...@unbit.it wrote: Thx, but what is the best solution for now to deploy web2py with more than 3k users online, which can upload and download files? No using

[web2py] Re: Cherokee server locking while upload

2011-03-27 Thread Jose
On 27 mar, 06:54, LightOfMooN vladsale...@yandex.ru wrote: Yes, just tested it. Many parallel downloads, nice speed, and no locks even more. Nginx Rocks! Hello LightOfMooN, please, could show me how to configure nginx + + web2py uwsgi. I use uwsgi + cherokee + web2py and I had the same

[web2py] Re: Cherokee server locking while upload

2011-03-27 Thread LightOfMooN
Yes, ofc. Thanks to pbreit for his script. I just added support for 443 port (SSL) and Postgres to it. It installs web2py+nginx+uwsgi+postgres on ubuntu: === apt-get update apt-get -y upgrade apt-get -y install build-essential psmisc python-dev libxml2 libxml2- dev

[web2py] Re: Cherokee server locking while upload

2011-03-27 Thread pbreit
Oh cool, you added ssl and postgres. Looks good. Nice.

[web2py] Re: Cherokee server locking while upload

2011-03-27 Thread Jose
Thank you very much.

[web2py] Re: Cherokee server locking while upload

2011-03-26 Thread Marin
I hope this helps. http://groups.google.com/group/web2py/browse_thread/thread/62bece6a8c3b7524/e3289b402455758d On Mar 26, 7:52 pm, LightOfMooN vladsale...@yandex.ru wrote: I have web2py + uWSGI + Cherokee When I upload file, server is locking for all users. Does somebody khow how to fix it?

[web2py] Re: Cherokee server locking while upload

2011-03-26 Thread LightOfMooN
Thx, processes4/processes helps. But so if 4 users go to page with image, or upload some file, all will be crashed again. Is it a good to have processes1000/processes? Sounds bad

[web2py] Re: Cherokee server locking while upload

2011-03-26 Thread LightOfMooN
Just testing set processes10/processes but on the 4nd upload server locked On 27 мар, 00:22, LightOfMooN vladsale...@yandex.ru wrote: Thx, processes4/processes helps. But so if 4 users go to page with image, or upload some file, all will be crashed again. Is it a good to have

Re: [web2py] Re: Cherokee server locking while upload

2011-03-26 Thread Roberto De Ioris
Thx, processes4/processes helps. But so if 4 users go to page with image, or upload some file, all will be crashed again. Is it a good to have processes1000/processes? Sounds bad This is a normal deploy problem (not related to uWSGI). This is why async/evented is so loved this days :) If

[web2py] Re: Cherokee server locking while upload

2011-03-26 Thread LightOfMooN
Thx, but what is the best solution for now to deploy web2py with more than 3k users online, which can upload and download files? On 27 мар, 11:46, Roberto De Ioris robe...@unbit.it wrote: Thx, processes4/processes helps. But so if 4 users go to page with image, or upload some file, all will