On 31-01-2009, William Dode wrote:
> I think i finaly could catch the error...
>
> With wsgiref simple_server (and apache mod_proxy), i run an app without
> problem most of the time. I mean 10 hits/day. Some times, not every
> day, the app freeze and i need to restart it manualy. If i don't t
I think i finaly could catch the error...
With wsgiref simple_server (and apache mod_proxy), i run an app without
problem most of the time. I mean 10 hits/day. Some times, not every
day, the app freeze and i need to restart it manualy. If i don't the app
stay like that and never answer more
William Dodé wrote:
> On 30-01-2009, Ian Bicking wrote:
> > On Fri, Jan 30, 2009 at 3:48 PM, William Dode
> wrote:
> >
> >> Fine, i should definitely give it a try.
> >>
> >> If my app is not thread safe but respond in a decent time, can i
> benefit
> >> from a multithread server (for a socket pro
On 30-01-2009, Ian Bicking wrote:
> --===1780478717==
> Content-Type: multipart/alternative; boundary=00163646d5c46749ac0461ba70c5
>
> --00163646d5c46749ac0461ba70c5
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 7bit
>
> On Fri, Jan 30, 2009 at 3:48 PM, William
On Fri, Jan 30, 2009 at 3:48 PM, William Dode wrote:
> Fine, i should definitely give it a try.
>
> If my app is not thread safe but respond in a decent time, can i benefit
> from a multithread server (for a socket problem) if i use a lock for
> every page like that :
>
> I use webob...
>
If you
On 30-01-2009, Ian Bicking wrote:
> --===1588093401==
> Content-Type: multipart/alternative; boundary=0016364ee12abeaed40461b91b05
>
> --0016364ee12abeaed40461b91b05
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: quoted-printable
>
> If you use the Paste HTTP ser
If you use the Paste HTTP server and Python 2.5 with ctypes installed, you
can install the watchthreads app:
http://svn.pythonpaste.org/Paste/trunk/paste/debug/watchthreads.py
that will let you see the hung threads, and get a traceback of their current
position.
On Fri, Jan 30, 2009 at 1:52 PM, W
Hi,
I've a problem with a web app wich freeze periodicaly. I monitored my
app and the hang doesn't seem to occur in it. So i think the problem is
before, or after, a problem of socket i imagine... It append with
wsgiref.simple_server and mod_wsgi. My app is not totaly thread safe so
i didn't t