#49073 [Opn->Bgs]: hanging on flock()ing the session file as
ID: 49073
Updated by: jani@php.net
Reported By: dacran at riseup dot net
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Linux
PHP Version: 5.2.10
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2009-07-27 12:32:24] dacran at riseup dot net
Description:
------------
I have the same problem as in bug:
http://bugs.php.net/bug.php?id=47640
In php 5.2.10 has not been solved
Reproduce code:
---------------
<?php
session_start();
while (true) { $i *= 2; }
?>
Expected result:
----------------
I can strace apache/php processes seeing that there is a PHP script
doing flock() on a file, the process never returns.
PHP session handler should have some timeout and/or old file locks
should be hard-broken.
Actual result:
--------------
Forever-Hanging php processes.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49073&edit=1
Thread (2 messages)