Cherokee does not uses thread? 4 processed with 1thread/process seems limited.
On Jan 4, 7:34 am, PhE <[email protected]> wrote: > Thank you ! > Fixed ! Now, I can browse while an upload is in progress. > > I just added the processes value to my uWSGI conf file : > <uwsgi> > <pythonpath>/var/web2py/</pythonpath> > <processes>4</processes> > <app mountpoint="/"> > <script>wsgihandler</script> > </app> > </uwsgi> > > On 4 jan, 09:21, Roberto De Ioris <[email protected]> wrote: > > > Il giorno 04/gen/2011, alle ore 00.49, PhE ha scritto: > > > > Following Massimo's advice on my previous post on file upload with > > > rocket/ssl, I decided to give another try to cherokee/web2py. > > > > Now I've got reliable ssl file uploads : 4 successful uploads of a 5 > > > MB file (3 to 4 minutes transfer each). > > > This is a great forward step ;-) > > > > But I still have a big issue : during the transfer the web2py service > > > is unavailable. > > > An attempt to access the index page of web2py makes Cherokee to > > > respond : > > > 503 Service Unavailable > > > Cherokee web server 1.0.15 (Ubuntu), Port 443 > > > It looks to me that you have no concurrency in your setup. > > Cherokee is a streamed-upload server so the uploads is entirely managed by > > your app. > > > If you spawn only one uwsgi process this will be be busy during uploads and > > cannot accept new requests. > > > Simply add -p <n> to your command line or <processes>n</processes> to your > > xml config file. > > > Where n is the number of processes you want to spawn. > > > -- > > Roberto De Iorishttp://unbit.it > >

