php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3222 Session functions block on lock when running Apache single-thread
Submitted: 2000-01-16 06:02 UTC Modified: 2000-01-20 09:09 UTC
From: stas at zend dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Latest CVS (16/01/2000) OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: stas at zend dot com
New email:
PHP Version: OS:

 

 [2000-01-16 06:02 UTC] stas at zend dot com
When running Apache as httpd -X, session module gets stuck ion second call. Strace gives:

open("/tmp/sess_d2574e99227af321f5863b6a7c387c21", O_RDWR) = 6
flock(6, LOCK_EX

and block. Since I see the lock is never removed in the trace, and, moreover, even the locked file is never closed - seems we have a bug here.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-01-16 06:32 UTC] stas at zend dot com
seems that happens on usual Apache stup too. It didn't happen 
couple of days before. 
 [2000-01-20 09:09 UTC] stas at zend dot com
now it works ok in CVS version
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 14 19:00:01 2026 UTC