Closed jordantrizz closed 1 year ago
Lua slow script detected: still in execution after 5029 milliseconds.
Are you using "selective flushing"?
No, simply using the admin bar method.
@jordantrizz: What do you see under Settings > Redis?
Here you go!
Status: Connected
Filesystem: Writeable
Redis: Reachable
Key Prefix: eip2H_object_cache_domain.com
Connection
Client: Relay (v0.6.4)
Host: 127.0.0.1
Port: 6379
Database: 0
Connection Timeout: 1s
Read Timeout: 1s
Retry Interval: 0ms
Redis Version: 6.0.6
We need the full diagnostics dump.
Of course, sorry about that.
Status: Connected
Client: Relay (v0.6.4)
Drop-in: Valid
Disabled: No
Ping: 1
Errors: []
PhpRedis: 5.3.7
Relay: 0.6.4
Predis: 2.1.2
Credis: Not loaded
PHP Version: 7.4.33
Plugin Version: 2.4.1
Redis Version: 6.0.6
Multisite: No
Metrics: Enabled
Metrics recorded: 728
Filesystem: Working
Global Prefix: "wp_"
Blog Prefix: "wp_"
WP_REDIS_CLIENT: "relay"
WP_REDIS_SCHEME: "unix"
WP_REDIS_PATH: "/var/run/redis/redis-server.sock"
WP_REDIS_PREFIX: "eip2H_object_cache_domain.com"
WP_CACHE_KEY_SALT: "eip2H_object_cache_domain.com"
WP_REDIS_PLUGIN_PATH: "/var/www/domain.com/htdocs/wp-content/plugins/redis-cache"
WP_REDIS_SELECTIVE_FLUSH: true
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: [
"advanced-cache.php v by ",
"Redis Object Cache Drop-In v2.4.1 by Till Krüss"
]
Description
When running the "Purge Cache" operation, an error will occur.
Expected Behavior
There should be no error if Redis is unavailable during a purge of cache.
Actual Behavior
The temporarily unavailable exceptions should be handled gracefully.
Possible Fix
Change the exception to soft fail and report to error_log()
Steps to Reproduce
Additional context
This occurs with phpredis or relay.
WordPress debug log
redis-server.log
Environment