Solved!
Of course It was my code that was causing it!
Python, apache, django (old or new version) mod_python, fastcgi are
all innocent.
What was it?
RESPONSE_OBJECT = None
def my_view(request):
...blah..
global REPOSNE_OBJECT
if not RESPONSE_OBJECT:
RESPONSE_OBJECT = HttpResponse()
No I'm using prefork MPM.
On 12/3/06, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
>
> Jakub Labath wrote:
> > Hi All,
> >
> > Sorry for being quiet for a while just got back from a vacation.
> >
> > >
> > > Hi Jakub,
> > >
> > > Do you have any updates on this problem? Was it a mod_python bug?
Jakub Labath wrote:
> Hi All,
>
> Sorry for being quiet for a while just got back from a vacation.
>
> >
> > Hi Jakub,
> >
> > Do you have any updates on this problem? Was it a mod_python bug?
> >
> > Adrian
> >
>
> No the problem persists and I noticed that my coworkers have not
> resolved this
Hi All,
Sorry for being quiet for a while just got back from a vacation.
>
> Hi Jakub,
>
> Do you have any updates on this problem? Was it a mod_python bug?
>
> Adrian
>
No the problem persists and I noticed that my coworkers have not
resolved this in my absence. I'm still not sure what the pro
Brian Ray wrote:
> Graham:
>
> This behavior has been seen with mod_python under certian instances.
> For example how to the settings in httpd.conf effect this? For example,
> "PythonAutoReload On" and apache's MaxRequestsPerChild 1. Maybe they
> can aggravate a problem when something else is go
Jakub:
Why not temporarily switch to SCGI and see if the symptoms goes away?
You need to concrete-ize this problem.
BTW, is the cookie even being set on the browser. What version of
mod_python? Did you compile yourself?
Graham:
This behavior has been seen with mod_python under certian instance
Adrian Holovaty wrote:
> On 11/7/06, Jakub Labath <[EMAIL PROTECTED]> wrote:
> > If you take a look at the attached log you will see the same child
> > process having the same request._req object for two different IP
> > addresses. Now this should not normally happen should it. The memory
> > add
I can't speak for Jakub, but I've witnessed this, too, and I was using
dreamhost and their fcgi.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-use
On 11/7/06, Jakub Labath <[EMAIL PROTECTED]> wrote:
> If you take a look at the attached log you will see the same child
> process having the same request._req object for two different IP
> addresses. Now this should not normally happen should it. The memory
> address of response object also match
Hi All,
The best I understand it, this is a mod_python problem. I put in some
debugging code into session middleware to see what it is sending to
who.
This is my debug statement.
LOGGER.debug("Process %d Request 0x%x and response 0x%x IP: %s The
session key send is %s and mod
python request is 0x
Hi All,
Just to clarify few things I'm not setting either cookie nor do I have
have modified the sessions framework. The sessionid in question is the
one that django.auth sets when one logs-in into the admin. I am using
caching but not site wide I use the cache_page decorator on few views.
Are y
Bill de hOra wrote:
>
> http://www.djangoproject.com/documentation/cache/
One other thing; be sure you are only ever issuing the initial cookie
with POST request and not a GET.
cheers
Bill
--~--~-~--~~~---~--~~
You received this message because you are subscri
Jakub Labath wrote:
> Hi All,
>
> I have serious problem with my django websites.
> I've experienced random user switching.
>
> User A logs in and user B logs in they both surf the site for a bit
> then all of a sudden the user B is now user A.
>
> So far I tracked it down to the fact that the
On 11/4/06, Jakub Labath <[EMAIL PROTECTED]> wrote:
>
> User A logs in and user B logs in they both surf the site for a bit
> then all of a sudden the user B is now user A.
Are you using the caching framework, or is there a proxy cache (e.g.,
squid) between the users and your web site? It sounds
On Nov 3, 2:35 pm, "Jakub Labath" <[EMAIL PROTECTED]> wrote:
> Hi argh44z,
>
> But did you have the same problem? Was the same sessionid sent to
> different clients?
Yes.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
Hi argh44z,
But did you have the same problem? Was the same sessionid sent to
different clients?
Thanks for help
On 11/3/06, argh44z <[EMAIL PROTECTED]> wrote:
>
> On Nov 3, 12:26 pm, "argh44z" <[EMAIL PROTECTED]> wrote:
> > On Nov 3, 10:23 am, "Jakub Labath" <[EMAIL PROTECTED]> wrote:
> >
> >
On Nov 3, 10:23 am, "Jakub Labath" <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have serious problem with my django websites.
> I've experienced random user switching.
I experienced this on my site. I figured it was some sort of weird race
condition since it only happened every once in a while.
I
On Nov 3, 12:26 pm, "argh44z" <[EMAIL PROTECTED]> wrote:
> On Nov 3, 10:23 am, "Jakub Labath" <[EMAIL PROTECTED]> wrote:
>
> > Hi All
BTW, I'm using a completely different envionment than you. lighttpd
with preforked
fastcgi processes.
--~--~-~--~~~---~--~~
You
18 matches
Mail list logo