>> -----Original Message-----
>> From: wikitech-l-boun...@lists.wikimedia.org
>> [mailto:wikitech-l-boun...@lists.wikimedia.org] On Behalf Of
>> lee worden
>> Sent: 04 December 2009 19:14
>> To: Wikimedia developers
>> Subject: [Wikitech-l] sessions in parallel
>>
>> Hi -
>>
>> I'm debugging my extension code against potential deadlock
>> conditions, and am having a problem: when I request 2 pages
>> simultaneously in different firefox tabs, judging by the
>> wfDebug output it seems like the second page request blocks
>> at session_start() and waits until the first page is done.
>> Is it supposed to do this?  Does it depend on my configuration?
>>
>> Thanks -
>> Lee Worden
>> McMaster University
>>
>
> If I remember correctly, the PHP files session handler has to acquire
> an exclusive lock on the session file in session_start(). Thus
> preventing your second request until the first is complete.
>
> Jared

Thanks!
I have to log in as 2 people from 2 different browsers, I guess.
LW

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to