]> granicus.if.org Git - php/commit
Make killing a locker an ERROR event
authornathan r. hruby <nhruby@gmail.com>
Tue, 3 Mar 2015 15:16:45 +0000 (23:16 +0800)
committerXinchen Hui <laruence@php.net>
Tue, 3 Mar 2015 15:16:45 +0000 (23:16 +0800)
commit837eeefee9e01156b364a4b0e9cff8d9f0a1a1d5
tree4e415df06bc91dbde8cd11a4b252da3a1137ef17
parent304fb7a3d6adbf08fee7e27f4da4e2bd0ef09c48
Make killing a locker an ERROR event

At least in apache, killing a locker with SIGKILL from inside opcache prevents
the child process from emitting a corresponding log event to the access or
error logs, therefore requests are termed with no record.  This makes is
incredibly difficult to debug problems espically on systems with high counts
of cache restarts.  Since INFO level is far too noisy for production use,
switch the killing to a higher level so we can see it easier.
ext/opcache/ZendAccelerator.c