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.1.0
New Comment:
Hi
We are not running apache. We are runnig zeus with php running as a
fastcgi responder. At the moment, I am running a script which checks
the state of the fastcgi/php processes and kill sany if locked on
opening session file for more than 30 seconds.
Thanks
Previous Comments:
------------------------------------------------------------------------
[2002-01-06 20:17:07] yohgaki@php.net
I guess your httpd is crashing. Please check your apache log. Do you get
core file?
------------------------------------------------------------------------
[2001-12-22 06:12:34] chris@kinexus.net
Hi
No Frames involved. Thanks
Chris
------------------------------------------------------------------------
[2001-12-21 20:27:46] yohgaki@php.net
Do you have frames with your php script?
If yes, write session_write_close() to see if it helps.
I don't have time to check mod_files.c now, just trying to find work
around ;)
PHP version 4.0.6 => 4.1.0
------------------------------------------------------------------------
[2001-12-21 11:11:31] chris@kinexus.net
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
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=14628
Edit this bug report at http://bugs.php.net/?id=14628&edit=1
Thread (8 messages)