[web2py] nginx/uwsgi problem on Debian

2016-01-20 Thread Johann Spies
The combination uwsgi/nginx has been recommended often on this list. After an upgrade from wheezy to jessy the nginx, uswgi-combination does not play nicely together. We have also tried to move the socket to tmp, but that did not change anything in as far as the refused connection is concerned.

Re: [web2py] Nginx-uwsgi problem.

2011-09-18 Thread Michele Comitini
That error means that you have a process that keeps the transaction open. I suppose you have connection pooling active? The timeout can be caused by that but it is unlikely if you see it only sometimes ... It is more likely the other way around: you see that when a w2p thread blocks. Mic Il gi

Re: [web2py] Nginx-uwsgi problem.

2011-09-18 Thread Bruno Rocha
I realized a problem with postgres.. application sometimes goes in: postgres: rifarme rifarme 127.0.0.1(50602)* idle in transaction* * * and keeps in this state for a long time even if I kill web2py application. Seems to me that at some place a commit or rollback could not be performed, I just n

Re: [web2py] Nginx-uwsgi problem.

2011-09-17 Thread Michele Comitini
Another thing you should look at is how much paging is the machine doing under load. *vmstat* is your friend... mic 2011/9/17 Bruno Rocha : > I am using threads + Postgresql, I am using disk cache, but I am moving it > for memcache or the new redis suport in trunk. > I will try to change it for

Re: [web2py] Nginx-uwsgi problem.

2011-09-17 Thread Bruno Rocha
I am using threads + Postgresql, I am using disk cache, but I am moving it for memcache or the new redis suport in trunk. I will try to change it for processes. Thanks. On Sat, Sep 17, 2011 at 5:50 PM, Michele Comitini < michele.comit...@gmail.com> wrote: > Hi Bruno! > > Are you using threads or

Re: [web2py] Nginx-uwsgi problem.

2011-09-17 Thread Michele Comitini
Hi Bruno! Are you using threads or processes, sqlite or a rdbms? Seems a timeout while web2py is trying to access some resource. I suggest processes + rdbms (postgresql) mic 2011/9/17 Bruno Rocha : > I am getting a high traffic on the new service I released www.rifar.me > I did not expected too

[web2py] Nginx-uwsgi problem.

2011-09-17 Thread Bruno Rocha
I am getting a high traffic on the new service I released www.rifar.me I did not expected too much access, and now my server is running in problems. Anybody has any hint about this error? 2011/09/17 12:56:36 [error] 15855#0: *55651 upstream timed out (*110: Connection timed out*) while reading r