Re: mod_wsgi sometimes gives error on first reload but not thereafter

2010-06-16 Thread Matt Hoskins
On Jun 16, 3:07 pm, Chris Seberino wrote: > On Jun 15, 6:42 pm, Graham Dumpleton > wrote: > > > This occurs when Apache is first reading HTTP headers for request and > > long before it hands it off to any Django application or even > > mod_wsgi.

Re: mod_wsgi sometimes gives error on first reload but not thereafter

2010-06-16 Thread Chris Seberino
On Jun 15, 6:42 pm, Graham Dumpleton wrote: > This occurs when Apache is first reading HTTP headers for request and > long before it hands it off to any Django application or even > mod_wsgi. Is there anything I can do about this? I assume this means we should

Re: mod_wsgi sometimes gives error on first reload but not thereafter

2010-06-15 Thread Graham Dumpleton
On Jun 16, 9:16 am, Chris Seberino wrote: > I found the Apache error for this mod_wsgi error that only appears the > first time I reload an app after restarting Apache > > [Tue Jun 15 18:12:39 2010] [error] [client ] request > failed: error reading the headers, referer:

Re: mod_wsgi sometimes gives error on first reload but not thereafter

2010-06-15 Thread Graham Dumpleton
On Jun 16, 12:45 am, Chris Seberino wrote: > On Jun 14, 7:02 pm, Graham Dumpleton > wrote: >  > Use WSGI script described in: > > > > >  http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html > > In mod_wsgi's defense, remember

Re: mod_wsgi sometimes gives error on first reload but not thereafter

2010-06-15 Thread Chris Seberino
I found the Apache error for this mod_wsgi error that only appears the first time I reload an app after restarting Apache [Tue Jun 15 18:12:39 2010] [error] [client ] request failed: error reading the headers, referer: http:// -- You received this message because you are subscribed to the

Re: mod_wsgi sometimes gives error on first reload but not thereafter

2010-06-15 Thread Chris Seberino
On Jun 14, 7:02 pm, Graham Dumpleton wrote: > Use WSGI script described in: > >  http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html In mod_wsgi's defense, remember that this error happens sporadically and is NOT a showstopper as a reload makes it

Re: mod_wsgi sometimes gives error on first reload but not thereafter

2010-06-14 Thread Graham Dumpleton
On Jun 15, 2:48 am, Chris Seberino wrote: > 1. Restarting Apache+mod_wsgi > 2. Clearing Firefox cache and > 3. Visiting Django app URL > > are all done often when debugging/developing a DJango app under Apache > +mod_wsgi. > > I've noticed with mod_wsgi, I will *SOMETIMES*

mod_wsgi sometimes gives error on first reload but not thereafter

2010-06-14 Thread Chris Seberino
1. Restarting Apache+mod_wsgi 2. Clearing Firefox cache and 3. Visiting Django app URL are all done often when debugging/developing a DJango app under Apache +mod_wsgi. I've noticed with mod_wsgi, I will *SOMETIMES* get an error after this triad. Reloading the Django URL makes it go away so it