Re: [web2py] Re: Apache, Wsgi problem

2011-03-04 Thread Jonathan Lundell
On Mar 4, 2011, at 9:46 AM, VP wrote: > > To be precise, RSS started with about 32MB (with an apache restart) > and starts crawling up to 80MB/process with aforementioned testing. > And If I remember correctly, it stayed that way over night and did not > get released. > > As I said, I will do fur

Re: [web2py] Re: Apache, Wsgi problem

2011-03-04 Thread Jonathan Lundell
On Mar 4, 2011, at 9:31 AM, VP wrote: > For some reason I missed the rest of this discussion. Just a quick follow > up. > > + I upgraded psycopg2 from 2.0.7 (default in Debian 5) to the latest version, > 2.4. This manual installation was smoother than I thought. > > + Result: preliminary s

Re: [web2py] Re: Apache, Wsgi problem

2011-03-04 Thread VP
For some reason I missed the rest of this discussion. Just a quick follow up. + I upgraded psycopg2 from 2.0.7 (default in Debian 5) to the latest version, 2.4. This manual installation was smoother than I thought. + Result: preliminary stress tests show that the problem *disappeared*.

Re: [web2py] Re: Apache, Wsgi problem

2011-02-16 Thread Jonathan Lundell
On Feb 16, 2011, at 3:07 PM, Massimo Di Pierro wrote: > > Looks like Jonathan may be the winner here. I think VP raised the > issue so he should decide whether the issue is solved. > Is anybody else having problems after upgrade to the latest psycopg2? > > If this problem was dear to you any symb

Re: [web2py] Re: Apache, Wsgi problem

2011-02-16 Thread Ahmed Bani
Question: Could provide you provide an app that generates the error? Answer: Check Appliance "Customer Relationship Management". db = DAL("postgres://postgres: Error Snapshot : (Failure to connect, tried 5 times: global name 'psycopg2' is not defined)

Re: [web2py] Re: Apache, Wsgi problem

2011-02-14 Thread Jonathan Lundell
On Feb 14, 2011, at 10:24 AM, Luis Díaz wrote: > ready to investigate: > > psycopg2 > > http://wiki.postgresql.org/wiki/Using_psycopg2_with_PostgreSQL > > The error could be caused by a bad query > developed? > > Could provide an app that generates the error? I'm not using it myself; I'm not

Re: [web2py] Re: Apache, Wsgi problem

2011-02-14 Thread Luis Díaz
ready to investigate: psycopg2 http://wiki.postgresql.org/wiki/Using_psycopg2_with_PostgreSQL The error could be caused by a bad query developed? Could provide an app that generates the error? Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo Facultad de Odontología

Re: [web2py] Re: Apache, Wsgi problem

2011-02-14 Thread Luis Díaz
I have installed: python-psycopg2/lenny update 2.0.7-4 Question: What is the funsion of psycopg2? Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo Facultad de Odontología 2011/2/14 Jonath

Re: [web2py] Re: Apache, Wsgi problem

2011-02-14 Thread Jonathan Lundell
On Feb 14, 2011, at 9:48 AM, Luis Díaz wrote: > > Greetings. > > I have tried to replicate the error and have had no > exicto. Thanks. What version of psycopg2 are you using? > > Environment: > virtual server 1: debian ssl web2py > virtual server 2: debian ssl postgresql > > Application: > si

Re: [web2py] Re: Apache, Wsgi problem

2011-02-14 Thread Luis Díaz
Greetings. I have tried to replicate the error and have had no exicto. Environment: virtual server 1: debian ssl web2py virtual server 2: debian ssl postgresql Application: simple queries and throwing 2 results. tool: Jmeter: Threads 1200 0.2 seconds upload Díaz Luis TSU Analisis de Sistemas U

Re: [web2py] Re: Apache, Wsgi problem

2011-02-12 Thread Luis Díaz
Translation error .. sorry. I could not .. might wonder if any of you? Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo Facultad de Odontología 2011/2/12 Jonathan Lundell > On Feb 12, 2

Re: [web2py] Re: Apache, Wsgi problem

2011-02-12 Thread Jonathan Lundell
On Feb 12, 2011, at 8:46 AM, ron_m wrote: > FWIW I am on Ubuntu 10.04 with all patches applied and could not reproduce > the above problem when I tried. The version of python-psycopg2 from the > standard repository is 2.0.13. Not an iron-clad guarantee because something > else could be at play b

Re: [web2py] Re: Apache, Wsgi problem

2011-02-12 Thread Jonathan Lundell
On Feb 12, 2011, at 8:33 AM, Luis Díaz wrote: > I could create a web2py.app.error.w2p > > and detail the specifications of the environment, > I will try to put him eye to the issue. > > > I am a rookie .. but I would try > Thanks, Luis.

Re: [web2py] Re: Apache, Wsgi problem

2011-02-12 Thread ron_m
FWIW I am on Ubuntu 10.04 with all patches applied and could not reproduce the above problem when I tried. The version of python-psycopg2 from the standard repository is 2.0.13. Not an iron-clad guarantee because something else could be at play but at least a data point. I also drove the applic

Re: [web2py] Re: Apache, Wsgi problem

2011-02-12 Thread Luis Díaz
Greetings. I could create a web2py.app.error.w2p and detail the specifications of the environment, I will try to put him eye to the issue. I am a rookie .. but I would try Díaz Luis TSU Analisis de Sistemas Universidad de Carabobo Facultad de Odontología

Re: [web2py] Re: Apache, Wsgi problem

2011-02-12 Thread Jonathan Lundell
On Feb 11, 2011, at 10:12 PM, Anthony wrote: > On Saturday, February 12, 2011 1:03:48 AM UTC-5, Jonathan Lundell wrote: > On Feb 10, 2011, at 6:19 AM, Massimo Di Pierro wrote: > > > > I offer $300 to whoever can identify within 3 weeks and without > > ambiguity the cause of this problem. The bount

Re: [web2py] Re: Apache, Wsgi problem

2011-02-11 Thread Anthony
On Saturday, February 12, 2011 1:03:48 AM UTC-5, Jonathan Lundell wrote: > > On Feb 10, 2011, at 6:19 AM, Massimo Di Pierro wrote: > > > > I offer $300 to whoever can identify within 3 weeks and without > > ambiguity the cause of this problem. The bounty applies even if the > > problem turns out

Re: [web2py] Re: Apache, Wsgi problem

2011-02-11 Thread Jonathan Lundell
On Feb 10, 2011, at 6:19 AM, Massimo Di Pierro wrote: > > I offer $300 to whoever can identify within 3 weeks and without > ambiguity the cause of this problem. The bounty applies even if the > problem turns out to be not in web2py but in one of the Python > modules, in Apache or in the mod_wsgi i

Re: [web2py] Re: Apache, Wsgi problem

2011-02-10 Thread Jonathan Lundell
On Feb 10, 2011, at 11:18 AM, VP wrote: > The modules I used are all standard via installation with apt-get. > > Python is 2.5.2, and psycopg2 is 2.0.7 > Upgrade psycopg2 to at least 2.0.8 and see if that doesn't fix the fault. > On Feb 10, 9:58 am, Jonathan Lundell wrote: >> Good work. >>

Re: [web2py] Re: Apache, Wsgi problem

2011-02-10 Thread Jonathan Lundell
Good work. You mentioned that you're using Debian Lenny. What version of Python? 2.5.2? And what version of psycopg2? On Feb 9, 2011, at 10:38 PM, VP wrote: > > > Alright people short answer: I think I figured this out (at least > with my configuration) > > After testing various co

Re: [web2py] Re: Apache, Wsgi problem

2011-01-12 Thread Kenneth Lundström
I can´t be sure which application it is. But Iĺl do some stresstests later today and report more. Kenneth could this be a timeout issue? Could it be the app causes a deadlock in the db? What app is this? On Jan 11, 10:58 am, Kenneth Lundström wrote: I'm getting the same Premature end of scr

Re: [web2py] Re: Apache, Wsgi problem

2011-01-11 Thread Kenneth Lundström
I'm getting the same Premature end of script on a CentOS 5.?, MySQL, WSGI and Apache. Never done any stresstests, I'll try later to day. Kenneth - Ursprungsmeddelande - > Update: > > + There seems to be no web2py error.  Thus, no traceback. > > + I don't remember if I got this error