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
(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
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
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
xml
config file.
Where n is the number of processes you want to spawn.
--
Roberto De Ioris
http://unbit.it
/wiki/Example#Web2Py2uWSGI
(the links you posted are a bit outdated and over-complex)
--
Roberto De Ioris
http://unbit.it
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
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
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
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
] Error 1
:((
Can you post the output of
gcc -v
?
--
Roberto De Ioris
http://unbit.it
JID: robe...@jabber.unbit.it
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
://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
to use TCP sockets instead of UNIX to avoid permission problems.
--
Roberto De Ioris
http://unbit.it
JID: robe...@jabber.unbit.it
source
specifying the address of the uWSGI server
--
Roberto De Ioris
http://unbit.it
.
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
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
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
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
101 - 119 of 119 matches
Mail list logo