#17172 [Fbk->NoF]: highload system got error:
| From: | sniper@php.net | Date: | Wed, 11 Sep 2002 16:05:48 +0000 |
| Subject: | #17172 [Fbk->NoF]: highload system got error: | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19084@lists.php.net to get a copy of this message | ||
ID: 17172
Updated by: sniper@php.net
Reported By: sunjh@163.net
-Status: Feedback
+Status: No Feedback
Bug Type: Semaphore related
Operating System: redhat
PHP Version: 4.1.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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@163.net
please run this scripts 10 clone at BG.
------------------------------------------------------------------------
[2002-05-13 02:51:57] sunjh@163.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