#17172 [Com]: highload system got error:

From: Date: Fri, 25 Apr 2003 19:31:20 +0000
Subject: #17172 [Com]: highload system got error:
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38410@lists.php.net to get a copy of this message
ID: 17172 Comment by: jleelim at hotmail dot com Reported By: sunjh at 163 dot net Status: No Feedback Bug Type: Semaphore related Operating System: redhat PHP Version: 4.1.2 New Comment: I got the same error message on Redhat 9.0 on PHP 4.2.2. The problem only happens if I increase the loop count to greater than 30,000. Previous Comments: ------------------------------------------------------------------------ [2002-09-11 11:05:48] sniper@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2002-06-04 04:21:32] mfischer@php.net Please try CVS HEAD, there has been a bit of work on this lately. ------------------------------------------------------------------------ [2002-05-13 03:04:18] sunjh at 163 dot net please run this scripts 10 clone at BG. ------------------------------------------------------------------------ [2002-05-13 02:51:57] sunjh at 163 dot net highload system: when I run this script: for($i = 0; $i < 20000; $i++){ $semid = sem_get ( 0xf01, 1, 0666 ); if ( !$semid ) { echo "mem.mem: Can't get semaphore<BR>"; return; } if ( !sem_acquire( $semid ) ) { echo "mem.mem: Can't acquire semaphore<BR>"; return; } if( !sem_release( $semid ) ) { echo "mem: Can't release semaphore"; } } shell is return: semop() failed acquiring SYSVSEM_SETVAL for key 0xf01: Numerical result out of range ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17172&edit=1

« previous php.bugs (#38410) next »