Bug #13490 Updated: Semaphores don't release automatically

From: Date: Wed, 29 May 2002 03:28:44 +0000
Subject: Bug #13490 Updated: Semaphores don't release automatically
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8815@lists.php.net to get a copy of this message
ID: 13490 Updated by: catoc@163.net Reported By: m@savich.ru Status: Closed Bug Type: Semaphore related Operating System: FreeBSD 4.1.1 PHP Version: 4.0.6 New Comment: In redhat 7.2 php-4.2.1 , have this problem too. Previous Comments: ------------------------------------------------------------------------ [2002-01-14 07:42:10] lobbin@php.net -> Closed. ------------------------------------------------------------------------ [2002-01-14 07:37:24] m@savich.ru Checked on FreeBSD 4.4 with PHP 4.1.0 - it works! ------------------------------------------------------------------------ [2002-01-14 02:29:30] lobbin@php.net Is this reproducable on 4.1.1? ------------------------------------------------------------------------ [2002-01-13 20:27:43] swm@php.net My bad. Re-opened. ------------------------------------------------------------------------ [2002-01-13 14:52:51] m@savich.ru http://www.php.net/manual/ru/function.sem-acquire.php: "After processing a request, any semaphores acquired by the process but not explicitly released will be released automatically and a warning will be generated." Therefore, it is NOT intended behaviour, because in my situation semaphores DON'T release automatically. And any failure in php script causes apache to hang up in few seconds, because semaphore is acquired by dead script and all other instances can't work. This really is bug. :-( ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/13490 -- Edit this bug report at http://bugs.php.net/?id=13490&edit=1

« previous php.bugs (#8815) next »