PHP FPM Segfault with Object Cache Enabled
-
Hi, and thanks for this amazing plugin.
I’m having a really hard time trying to get Docket Cache working with my own VPS-based hosting setup. I’m running PHP 8.1 FPM + NGINX on Ubuntu 22.04. Opcache is enabled. NGINX serves to a Cloudflare tunnel via a Unix socket.
When accessing the WordPress backend (/wp-admin), the PHP FPM service constantly crashes with Docket Cache enabled, to the point of making it unusable. The corresponding error in the php log looks like:
fpm_children_bury(), line 258: child 29975 exited on signal 11 (SIGSEGV) after 8.270777 seconds from start
And from dmesg:
php-fpm8.1[824022]: segfault at 7ffcf5140fe8 ip 00005569f5036814 sp 00007ffcf5140ff0 error 6 in php-fpm8.1[5569f4e5b000+2fd000] likely on CPU 0 (core 0, socket 0)
From a coredump of the PHP FPM process:
from
gdb bt
:0x0000561fcb1073a2 in zend_eval_const_expr (ast_ptr=0x7fd40f8a6108) at ./Zend/zend_compile.c:10299
and
gdb info locals
:result = <error reading variable result (Cannot access memory at address 0x7ffe62b25fb0)>
Sorry if that’s not all that helpful, I’m still very new at using/understanding coredumps.
This is all very obscure to me, and the site is nice and stable without Docket Cache Object Cache enabled. I’m afraid I’ll probably just need to let Docket Cache go for now, but I figured I’ll give this a shot.
Any idea of what might be going on based on the above?
Thanks!
- The topic ‘PHP FPM Segfault with Object Cache Enabled’ is closed to new replies.