PHP 4.0 Bug #3222: Session functions block on lock when running Apache single-thread

From: Date: Sun, 16 Jan 2000 11:02:43 +0000
Subject: PHP 4.0 Bug #3222: Session functions block on lock when running Apache single-thread
Groups: php.dev 
Request: Send a blank email to php-dev+get-14668@lists.php.net to get a copy of this message
From: stas@zend.com Operating system: Linux PHP version: 4.0 Latest CVS (16/01/2000) PHP Bug Type: Misbehaving function Bug description: Session functions block on lock when running Apache single-thread 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.

« previous php.dev (#14668) next »