Redis server seems to fail periodically
-
I’m finding that for the most part this is an excellent plugin that helps reduce the load on my database instance but at least once a day I’ll have the site go down for a few minutes with the following error in the logs.
[Wed Jul 20 23:05:08.524159 2022] [php7:notice] [pid 2902] [client 3.105.214.130:0] RedisException: Connection refused in /var/www/zerotackle.com/public_html/wp-content/object-cache.php:685\nStack trace:\n#0 /var/www/zerotackle.com/public_html/wp-content/object-cache.php(685): Redis->connect('127.0.0.1', 6379, 1, '', 0, 1)\n#1 /var/www/zerotackle.com/public_html/wp-content/object-cache.php(502): WP_Object_Cache->connect_using_phpredis(Array)\n#2 /var/www/zerotackle.com/public_html/wp-content/object-cache.php(220): WP_Object_Cache->__construct(true)\n#3 /var/www/zerotackle.com/public_html/wp-includes/load.php(729): wp_cache_init()\n#4 /var/www/zerotackle.com/public_html/wp-settings.php(131): wp_start_object_cache()\n#5 /var/www/zerotackle.com/public_html/wp-config.php(136): require_once('/var/www/zerota...')\n#6 /var/www/zerotackle.com/public_html/wp-load.php(50): require_once('/var/www/zerota...')\n#7 /var/www/zerotackle.com/public_html/wp-blog-header.php(13): require_once('/var/www/zerota...')\n#8 /var/www/zerotackle.com/public_html/index.php(17): require('/var/www/zerota...')\n#9 {main}, referer: https://www.zerotackle.com/
Is there a setup step or config setting I should be using to help prevent this?
Also, just generally, what is an appropriate size to allocate for Redis on a server instance that has 16GB of memory.
Status: Connected Client: PhpRedis (v5.2.1) Drop-in: Valid Disabled: No Ping: 1 Errors: [] PhpRedis: 5.2.1 Relay: Not loaded Predis: Not loaded Credis: Not loaded PHP Version: 7.4.30 Plugin Version: 2.1.6 Redis Version: 7.0.0 Multisite: No Metrics: Enabled Metrics recorded: 1255 Filesystem: Working Global Prefix: "wp_" Blog Prefix: "wp_" WP_REDIS_DATABASE: 0 WP_REDIS_TIMEOUT: 1 WP_REDIS_READ_TIMEOUT: 1 WP_REDIS_MAXTTL: 3600 WP_REDIS_PREFIX: "www.zerotackle.com" WP_CACHE_KEY_SALT: "www.zerotackle.com" 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", "wordfence", "wordfence-ls" ] 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", "wordfence": "ignored", "wordfence-ls": "ignored" } Drop-ins: [ "advanced-cache.php v by ", "Redis Object Cache Drop-In v2.1.6 by Till Krüss" ]
The page I need help with: [log in to see the link]
- The topic ‘Redis server seems to fail periodically’ is closed to new replies.