Re: sysvsem module: release_sysvsem_sem and lockup(semaphore leak)
| From: | Yasuo Ohgaki | Date: | Mon, 27 Jun 2005 18:58:15 +0000 |
| Subject: | Re: sysvsem module: release_sysvsem_sem and lockup(semaphore leak) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16945@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
> On Mon, 27 Jun 2005, Yasuo Ohgaki wrote:
>
>
>>Since release_sysvsem_sem has error message while releasing acquired
>>semaphores (both PHP_4_4 and PHP_5_1), it may end up with semaphore
>>leak when error handler is used.
>>
>>The error message is useful for debugging, so the error message
>>output should be configurable with ini setting. Although this workaround
>>is not perfect solution, but it works in most cases. If there isn't a better
>>idea, I'll add new ini directive to the module.
>
>
> We should not add more ini settings, we've enough of them already.
>
> Derick
>
I'll just comment out problematic line that may cause
server lockup.
--
Yasuo Ohgaki