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 <[email protected]>: > 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 > <[email protected]> wrote: >> >> 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 <[email protected]>: >> > 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 response header from upstream, >> > client: >> > 177.41.102.72, server: www.rifar.me, request: "GET >> > /rifa/quadro-da-artista-plastica-vicky-von-dorff HTTP/1.1", upstream: >> > "uwsgi://127.0.0.1:9012", host: "www.rifar.me" >> > 2011/09/17 14:29:17 [error] 15853#0: *56788 upstream timed out (110: >> > Connection timed out) while reading response header from upstream, >> > client: >> > 189.68.92.92, server: www.rifar.me, request: "GET >> > /static/images/logo.resized.black.png HTTP/1.1", upstream: >> > "uwsgi://127.0.0.1:9012", host: "www.rifar.me", referrer: >> > >> > "http://36ohk6dgmcd1n.yom.mail.yahoo.net/om/api/1.0/openmail.app.invoke/36ohk6dgmcd1n/5/1.0.35/br/pt-BR/controller.html" >> > 2011/09/17 16:30:38 [error] 15853#0: *58681 upstream timed out (110: >> > Connection timed out) while reading response header from upstream, >> > client: >> > 189.110.52.2, server: www.rifar.me, request: "GET >> > >> > /rifa/sapato-piccadilly-novo-modelo-cor-e-tamanho-escolhidos-pelo-vencedor >> > HTTP/1.1", upstream: "uwsgi://127.0.0.1:9012", host: "www.rifar.me", >> > referrer: >> > >> > "http://www.facebook.com/l.php?u=http%3A%2F%2Fwww.rifar.me%2Frifa%2Fsapato-piccadilly-novo-modelo-cor-e-tamanho-escolhidos-pelo-vencedor&h=AAQADMJmAAQCEnatNdBzs3l6PmgbGhSfV55YaYbFO24_Xgg" > > > > -- > > > > -- > Bruno Rocha > [ About me: http://zerp.ly/rochacbruno ] > [ Aprenda a programar: http://CursoDePython.com.br ] > [ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ] > [ Consultoria em desenvolvimento web: http://www.blouweb.com ] >

