Re: Is this potentially a problem?
| From: | Richard Lynch | Date: | Mon, 19 Feb 2001 06:08:43 +0000 |
| Subject: | Re: Is this potentially a problem? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40519@lists.php.net to get a copy of this message | ||
> Warning: Releasing SysV semaphore id 1 key 0x7b2 in request cleanup in
> Unknown on line 0
>
> Is this warning message potentially a problem? Or could I just turn off
this
> warning in the php.ini? How can I prevent this message from appearing if
it
> is not potentially dangerous?
GUESS:
This is almost for sure a warning that you didn't call:
http://php.net/manual/en/function.sem-release.php
on the Semaphore id you have acquired/set/whatever.
You may probably safely ignore that warning.
I don't think it will show up in a browser ever -- It will probably get
swallowed by the ether, since it is occuring in PHP's cleanup code after
your script is done.
You may or may not be able to affect that warning using set_error_reporting
and/or setting error_reporting in php.ini -- But those are rather broad
brushes to use.
Actually, calling set_error_reporting() at the end of your semaphore script
may not be so bad...
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm