- Issue created by @Abhishek Sawant
- Status changed to Postponed: needs info
over 1 year ago 2:04pm 15 December 2023 - 🇨🇭Switzerland berdir Switzerland
the readme has instructions on how to move the cache_container table to redis as well, but I don't see how that alone could cause high mysql load and why it would be related to not having a redis connection.
- 🇮🇳India Abhishek Sawant
Thanks @Berdir, Yes now we followed the instructions from readme for moving the cache_container table to Redis and that helped now moving the load to Redis server. For now all good. Even we could not understand how cache_container alone could cause high load on PostgreSQL Database. Anyways, thanks for all your help here, really appreciate.
- 🇮🇳India Abhishek Sawant
After following the instruction from readme, we moved the cache_container table to redis. But now we're seeing below warning while performing the drush cr or any other activity for clearing the cache.
"Warning: Undefined array key 14 in Predis\Connection\StreamConnection->writeRequest() (line 261 of /var/www/html/vendor/predis/predis/src/Connection/StreamConnection.php)
#0 /var/www/html/core/includes/bootstrap.inc(347): _drupal_error_handler_real(2, 'Undefined array...', '/var/www/html/v...', 261)"IS there anything missing here?
- 🇮🇳India Abhishek Sawant
Is below warning stopping the connection to Redis?
"Warning: Undefined array key 14 in Predis\Connection\StreamConnection->writeRequest() (line 261 of /var/www/html/vendor/predis/predis/src/Connection/StreamConnection.php)
#0 /var/www/html/core/includes/bootstrap.inc(347): _drupal_error_handler_real(2, 'Undefined array...', '/var/www/html/v...', 261)"