>>>> 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
>>
>
> Or configure MediaWiki & PHP to use something like MemCache.
>
> http://www.mediawiki.org/wiki/Manual:$wgSessionsInMemcached
>
> Jared

Noted, thanks.
Lee

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to