[Paste] wPHP fails after serving 500 pages

2007-05-09 Thread Andrew Wilson
This is a wierd one, to me. After serving 500 pages (exactly), wphp starts failing with the error: "connection refused". After serving this many pages, the PHP process refuses to accept any more connections on the FCGI port. I've been searching for relevant information for a while; nothing I've t

Re: [Paste] wPHP fails after serving 500 pages

2007-05-09 Thread Shannon -jj Behrens
On 5/9/07, Andrew Wilson <[EMAIL PROTECTED]> wrote: > This is a wierd one, to me. After serving 500 pages (exactly), wphp starts > failing with the error: "connection refused". After serving this many pages, > the PHP process refuses to accept any more connections on the FCGI port. > > I've been se

Re: [Paste] wPHP fails after serving 500 pages

2007-05-09 Thread Brad Clements
On 9 May 2007 at 10:26, Shannon -jj Behrens wrote: > On 5/9/07, Andrew Wilson <[EMAIL PROTECTED]> wrote: > > This is a wierd one, to me. After serving 500 pages (exactly), wphp starts > > failing with the error: "connection refused". After serving this many pages, > > the PHP process refuses to ac

Re: [Paste] wPHP fails after serving 500 pages

2007-05-09 Thread Ian Bicking
Brad Clements wrote: > On 9 May 2007 at 10:26, Shannon -jj Behrens wrote: > >> On 5/9/07, Andrew Wilson <[EMAIL PROTECTED]> wrote: >>> This is a wierd one, to me. After serving 500 pages (exactly), wphp starts >>> failing with the error: "connection refused". After serving this many pages, >>> the

[Paste] PrefixMiddleware

2007-05-09 Thread Shannon -jj Behrens
Hi, I could use a bit of help. I'm looking at the code for PrefixMiddleware: http://pythonpaste.org/deploy/paste/deploy/config.py.html?f=192&l=277#192 If X_FORWARDED_SERVER is set and self.force_port is None, environ['SERVER_PORT'] should be updated intelligently. It should contain either

Re: [Paste] PrefixMiddleware

2007-05-09 Thread Shannon -jj Behrens
On 5/9/07, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote: > Hi, > > I could use a bit of help. > > I'm looking at the code for PrefixMiddleware: > > http://pythonpaste.org/deploy/paste/deploy/config.py.html?f=192&l=277#192 > > If X_FORWARDED_SERVER is set and self.force_port is None, > environ[