#49073 [Opn->Bgs]: hanging on flock()ing the session file as

From: Date: Tue, 28 Jul 2009 15:57:17 +0000
Subject: #49073 [Opn->Bgs]: hanging on flock()ing the session file as
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-140372@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#140372) next »