Issue: https://github.com/php/php-src/issues/8159
Comment Author: unix-world
I have tried this and still crashing.
Not the SIGTERM is the problem ...
But I observed that in PHP 8.0 2 extra lines have been added:
```
// line # 783
} else if (errno != 0) {
zend_accel_error(ACCEL_LOG_WARNING, "Failed to send SIGKILL to locker %d: %s",
mem_usage_check->l_pid, strerror(errno));
```
and
```
// line #795
} else if (errno != 0) {
zend_accel_error(ACCEL_LOG_WARNING, "Failed to check locker %d: %s",
mem_usage_check->l_pid, strerror(errno));
```
I am trying with this 4 lines commented out, ... I have an idea that here might be the clue, after
issuing SIGTERM or SIGKILL the apache may halt the access to logging and here might be a crash
perhaps ...
because the other log situations in this code block I could not reproduce but they might be also
crashing, but never got yet entered in the ``if (errno == ESRCH) {`` where are other 2
calls to zend_accel_error().
Let me try this and I get back.