> 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 Ioris
http://unbit.it
To check this, what is the simplest controller code to achieve an
upload (without database) ?
2011/1/4 mdipierro <mdip...@cs.depaul.edu>: