Re: Server Stall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sancar Saran wrote:
I think php does not open second thread for same session...

Does your script use sessions? If so, then your problem has nothing to do with anything the script is doing and everything to do with PHP locking sessions.

* Request 1 does a start_session(), and PHP locks the session to that request.

* Request 2 comes in and does a start_session(), and PHP finds the session already locked. It will block until the session is unlocked, which will happen when request 1 completes.

Of course if you're not using sessions this message has been a waste of energy and I should go out and plant a tree.

-Stut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux