[web2py] Re: web2py unavailable during file upload cherokee+ssl+uWSGI+web2py

2011-01-04 Thread mdipierro
Cherokee does not uses thread? 4 processed with 1thread/process seems limited. On Jan 4, 7:34 am, PhE 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 : > >    /var/web2py/ >    4 >     >            wsgiha

[web2py] Re: web2py unavailable during file upload cherokee+ssl+uWSGI+web2py

2011-01-04 Thread mdipierro
There are two possibilities. One was suggested by Roberto. Another possibility is SQLite. It may block during the transfer if the upload is done in DB and/or if there is an un-committed transaction. massimo On Jan 4, 2:09 am, Philippe ENTZMANN wrote: > Yes I use sqlite as the default web2py da

Re: [web2py] Re: web2py unavailable during file upload cherokee+ssl+uWSGI+web2py

2011-01-04 Thread Philippe ENTZMANN
Yes I use sqlite as the default web2py database backend. The record is created at the end of the transfer, why should have been a lock during the transfer ? This "lock" does not occur without Cherokee/uWSGI, why ? To check this, what is the simplest controller code to achieve an upload (without da

[web2py] Re: web2py unavailable during file upload cherokee+ssl+uWSGI+web2py

2011-01-03 Thread mdipierro
Do you use sqlite? That may be locking. On Jan 3, 5:49 pm, PhE wrote: > 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 mi