Bug #14628 Updated: Session functions block on lock
ID: 14628
User updated by: chris@kinexus.net
Reported By: chris@kinexus.net
Old Status: Feedback
Status: Open
Bug Type: Session related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
Hi
Have installed 4.1, same problem as highlighted below:
[root@fweb2 /root]# strace -p 6739
flock(4, LOCK_EX
[root@fweb2 /root]# lsof | grep sessions
php 6739 fonetastic 4u REG 72,10 163 294275
/www/external/sessions/sess_104bb2ffcc67af16af4095cbd92a8f64
php 6949 fonetastic 4u REG 72,10 163 294275
/www/external/sessions/sess_104bb2ffcc67af16af4095cbd92a8f64
Previous Comments:
------------------------------------------------------------------------
[2001-12-20 19:00:02] yohgaki@php.net
Could you try 4.1.0 and/or 4.2.0-dev see if it's fixed?
http://www.php.net/downloads.php (4.1.0)
http://snaps.php.net/ (4.2.0-dev)
Please report the result and update PHP version.
--
Yasuo Ohgaki
------------------------------------------------------------------------
[2001-12-20 12:40:04] chris@kinexus.net
When running php with fastcgi, php gets stuck on call to open session file. Strace output gives
following;
open("/www/external/sessions/sess_7cd8fc3921075f6f1483f052619e44e8",O_RDWR) = 4
flock(4, LOCK_EX
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14628&edit=1
Thread (8 messages)