Re: [web2py] Re: Web2py - the one-man-band of all python frameworks :)

2011-05-11 Thread Roberto De Ioris
On Thu, May 12, 2011 at 2:00 AM, Roberto De Ioris robe...@unbit.it wrote: You have to read it in the rock/heavy metal way, where Web2Py is the talented player that can manage every intrument, http://en.wikipedia.org/wiki/Ayreon Exactly :) -- Roberto De Ioris http://unbit.it

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

2011-03-27 Thread Roberto De Ioris
(this is the equivalent of X-Sendfile in nginx) for all the downloads. 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 be crashed again. Is it a good to have processes1000/processes? Sounds bad

Re: [web2py] Cherokee server locking while upload

2011-03-26 Thread Roberto De Ioris
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

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

2011-03-26 Thread Roberto De Ioris
disabiling streaming uploads to pass the request to uWSGI only when the upload is done. I will talk to the Cherokee lead developer to reintroduce this feature (before 1 point releases Cherokee worked that way) -- Roberto De Ioris http://unbit.it

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

2011-01-04 Thread Roberto De Ioris
xml config file. Where n is the number of processes you want to spawn. -- Roberto De Ioris http://unbit.it

Re: [web2py] Re: edit the book, get a free book

2010-11-19 Thread Roberto De Ioris
/wiki/Example#Web2Py2uWSGI (the links you posted are a bit outdated and over-complex) -- Roberto De Ioris http://unbit.it

Re: [web2py] Re: uWSGI examples page updated for web2py

2010-10-25 Thread Roberto De Ioris
a new file). It is matter of taste, for example i prefer to have a file for every app :) -- Roberto De Ioris http://unbit.it

Re: [web2py] Re: remote admin access errors

2010-10-23 Thread Roberto De Ioris
supports setting the scheme in two way, via the (non-standard) UWSGI_SCHEME var or via the standard HTTPS cgi variable. I suggest you to add the UWSGI_SCHEME var to uwsgi_params configuration: UWSGI_SCHEME $scheme; -- Roberto De Ioris http://unbit.it

Re: [web2py] Re: nginx with bultin uwsgi module

2010-10-10 Thread Roberto De Ioris
even for Cherokee (included in the official distribution), Apache2 (as external module) and lighttpd (external, not very well tested, module) I hope it can be useful -- Roberto De Ioris http://unbit.it

Re: [web2py] Re: cherokee problem with fastcgi and uWSGI

2010-09-10 Thread Roberto De Ioris
the SCRIPT_NAME issue. In the mean time i have written an updated cherokee wizard that supports xml,python,wsgi and ini files. -- Roberto De Ioris http://unbit.it JID: robe...@jabber.unbit.it

Re: [web2py] Re: cherokee problem with fastcgi and uWSGI

2010-09-10 Thread Roberto De Ioris
] Error 1 :(( Can you post the output of gcc -v ? -- Roberto De Ioris http://unbit.it JID: robe...@jabber.unbit.it

Re: [web2py] Re: cherokee problem with fastcgi and uWSGI

2010-09-10 Thread Roberto De Ioris
20100630 (Red Hat 4.4.4-10) (GCC) Ok, retry with the latest tip (it was a problem with python3.k compatibility) -- Roberto De Ioris http://unbit.it JID: robe...@jabber.unbit.it

Re: [web2py] Re: cherokee problem with fastcgi and uWSGI

2010-09-10 Thread Roberto De Ioris
://projects.unbit.it/uwsgi/browser/contrib/upstart/uwsgi.conf you have to customize it for your needs but ALWAYS remember to pass the --uid and --gid options (otherwise uWSGI will run as root) -- Roberto De Ioris http://unbit.it

Re: [web2py] cherokee problem with fastcgi and uWSGI

2010-09-09 Thread Roberto De Ioris
to use TCP sockets instead of UNIX to avoid permission problems. -- Roberto De Ioris http://unbit.it JID: robe...@jabber.unbit.it

Re: [web2py] Re: cherokee problem with fastcgi and uWSGI

2010-09-09 Thread Roberto De Ioris
source specifying the address of the uWSGI server -- Roberto De Ioris http://unbit.it

Re: [web2py] Re: cherokee problem with fastcgi and uWSGI

2010-09-09 Thread Roberto De Ioris
. Then simply add a 'remote source' that point to the socket you have choosen and map it to the directory / All of your pythonpath and virtualenv are wrong. In one of the previous post you managed to run flawlessly with the embedded http server. Simply substitute --http with --socket -- Roberto De

Re: [web2py] Re: uWSGI examples page updated for web2py

2010-08-30 Thread Roberto De Ioris
Hi Roberto, I can use this setting in version 0.9.5? José Hi, yesterday the 0.9.6 version has been released -- Roberto De Ioris http://unbit.it

[web2py] uWSGI examples page updated for web2py

2010-08-27 Thread Roberto De Ioris
Hi all, we have added a section in our examples wiki page for web2py: http://projects.unbit.it/uwsgi/wiki/Example I hope this can be useful -- Roberto De Ioris http://unbit.it JID: robe...@jabber.unbit.it

Re: [web2py] Re: uWSGI examples page updated for web2py

2010-08-27 Thread Roberto De Ioris
goes wild, so probably they are reaching some (configurable) limit. If they experienced that on benchmarking there is a (old) procedure to follow: http://lists.unbit.it/pipermail/uwsgi/2009-December/40.html -- Roberto De Ioris http://unbit.it

<    1   2