Not sure about the relation, but I get the same results if I try to enable this plugin when JIT (opcache.jit) is enabled on PHP (won’t happen if opcache only is enabled, without enabling JIT).
I’m using PHP-FPM 8.0 (there’s another application on the same virtual host that runs only on PHP 8.0), Apache 2.4, Ubuntu 22.04.
APACHE LOG:
[proxy_fcgi:error] [pid 23594:tid 139919474284096] [client 192.168.x.x:18631] AH01067: Failed to read FastCGI header, referer: https://mydomain.com/wp-admin/options-general.php?page=redis-cache
[proxy_fcgi:error] [pid 23594:tid 139919474284096] (104)Connection reset by peer: [client 192.168.x.x:18631] AH01075: Error dispatching request to : , referer: https://mydomain.com/wp-admin/options-general.php?page=redis-cache
PHP LOG:
WARNING: [pool mydomain.com] child 23544 exited on signal 11 (SIGSEGV - core dumped) after 18.812093 seconds from start
NOTICE: [pool mydomain.com] child 23813 started
Redis Object Cache Diagnostics (before Enable Object Cache):
Status: Not enabled
Client:
Drop-in: Not installed
Disabled: No
PhpRedis: 5.3.7
Relay: Not loaded
Predis: 2.1.2
Credis: Not loaded
PHP Version: 8.0.29
Plugin Version: 2.4.3
Redis Version: Unknown
Multisite: No
Metrics: Disabled
Metrics recorded: 0
Filesystem: Working
WP_REDIS_PLUGIN_PATH: "/var/www/mydomain/wp-content/plugins/redis-cache"
WP_REDIS_PASSWORD: ********
Drop-ins: []
Then, if I click the button “Enable Object Cache” of the plugin (with PHP’s opcache.jit enabled) the server goes 503 (Service Unavailable).
Then, if I configure on php.ini opcache.jit=disable
, then when I click the button “Enable Object Cache” of the plugin, it works, and shows this Diagnostics:
Status: Connected
Client: PhpRedis (v5.3.7)
Drop-in: Valid
Disabled: No
Ping: 1
Errors: []
PhpRedis: 5.3.7
Relay: Not loaded
Predis: 2.1.2
Credis: Not loaded
PHP Version: 8.0.29
Plugin Version: 2.4.3
Redis Version: 7.0.12
Multisite: No
Metrics: Enabled
Metrics recorded: 17
Filesystem: Working
Global Prefix: "xxxxxx_"
Blog Prefix: "xxxxxx_"
WP_REDIS_PLUGIN_PATH: "/var/www/mydomain/wp-content/plugins/redis-cache"
WP_REDIS_PASSWORD: ********
Global Groups: [
"blog-details",
"blog-id-cache",
"blog-lookup",
"global-posts",
"networks",
"rss",
"sites",
"site-details",
"site-lookup",
"site-options",
"site-transient",
"users",
"useremail",
"userlogins",
"usermeta",
"user_meta",
"userslugs",
"redis-cache",
"blog_meta"
]
Ignored Groups: [
"counts",
"plugins",
"themes",
"theme_json"
]
Unflushable Groups: []
Groups Types: {
"blog-details": "global",
"blog-id-cache": "global",
"blog-lookup": "global",
"global-posts": "global",
"networks": "global",
"rss": "global",
"sites": "global",
"site-details": "global",
"site-lookup": "global",
"site-options": "global",
"site-transient": "global",
"users": "global",
"useremail": "global",
"userlogins": "global",
"usermeta": "global",
"user_meta": "global",
"userslugs": "global",
"redis-cache": "global",
"counts": "ignored",
"plugins": "ignored",
"themes": "ignored",
"blog_meta": "global",
"theme_json": "ignored"
}
Drop-ins: [
"Query Monitor Database Class (Drop-in) v3.13.1 by John Blackbourn",
"Redis Object Cache Drop-In v2.4.3 by Till Krüss"
]