Edit report at http://bugs.php.net/bug.php?id=14628&edit=1

 ID:                 14628
 Comment by:         s dot lazzaris at interactive dot eu
 Reported by:        chris at kinexus dot net
 Summary:            Session functions block on lock
 Status:             No Feedback
 Type:               Bug
 Package:            Session related
 Operating System:   Linux
 PHP Version:        4.1.0
 Block user comment: N
 Private report:     N

 New Comment:

I see the very same behaviour, but I'm running nginx with php spawned by
spawn-fcgi.



I'm running php 5.3.5, spawn-fcgi 1.6.3 on arch linux.



I only use this machine for development; I start 5 php processes and
after some inactivity, the processes hangs and the fastcgi interface is
frozen.

Strace shows 2 processes blocked on flock(4, LOCK_EX



I guess that this is connected to the php session handling.


Previous Comments:
------------------------------------------------------------------------
[2010-07-28 18:34:04] x dot torello at bpa dot ad

Hi,



I'm experiencing the same problem using a compiled PHP 5.2.13 over an
Apache 2.2.15.



The main problem is to reproduce the scenario that blocks the session
file, as I can see seems aleatory; and just affects one of the php
webapps hosted in this Apache.



Have you solved this issue? I tried to force a session_write_close to
flush all lock processes, but I get the same result.



To not pause the development of this project I implemented a bash script
that kills the apache thread that blocks the session, but it's just a
temporal patch...



Any feedback would be great!



Thanks in advance.

--

X

------------------------------------------------------------------------
[2002-07-21 01:00:11] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2002-06-19 13:13:16] der...@php.net

Leaving this with status feedback then.

------------------------------------------------------------------------
[2002-06-19 12:30:41] chris at kinexus dot net

I have tried this using 4.1.2, and the problem is still occuring.  As
soon as we are in a position to test 4.2, i will advise.

------------------------------------------------------------------------
[2002-06-18 04:10:34] hholz...@php.net

does it work wit latest CVS now?



------------------------------------------------------------------------


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/bug.php?id=14628


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=14628&edit=1

Reply via email to