php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49073 hanging on flock()ing the session file as
Submitted: 2009-07-27 12:32 UTC Modified: 2009-07-28 15:57 UTC
Votes:4
Avg. Score:5.0 ± 0.0
Reproduced:4 of 4 (100.0%)
Same Version:4 (100.0%)
Same OS:4 (100.0%)
From: dacran at riseup dot net Assigned:
Status: Not a bug Package: Session related
PHP Version: 5.2.10 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dacran at riseup dot net
New email:
PHP Version: OS:

 

 [2009-07-27 12:32 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-28 15:57 UTC] jani@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC