PHP Fatal error: OOM command not allowed when used memory > ‘maxmemory’
-
Hi, I start to use this plugin some weeks ago and I not have any problems at the moment. But seems yesterday I start to get an error. I have to increase the reddis plan to avoid the problem at the moment. Note: I use Heroku as server and Reddis as addon.
……
PHP Fatal error: Uncaught Predis\Response\ServerException: OOM command not allowed when used memory > ‘maxmemory’. in ../wp-content/plugins/redis-cache/includes/predis/src/Client.php:370#0 ../wp-content/plugins/redis-cache/includes/predis/src/Client.php(335): Predis\Client->onErrorResponse(Object(Predis\Command\StringSet), Object(Predis\Response\Error))
……I only need to use this plugin to handle the user login process to access to the backend of wordpress. I don want to ‘cache’ any other section.
So I set this configuration:
define(‘WP_REDIS_IGNORED_GROUPS’, array(‘comment’, ‘blog-details’, ‘blog-id-cache’, ‘blog-lookup’, ‘global-posts’, ‘networks’, ‘rss’, ‘sites’, ‘site-details’, ‘site-lookup’, ‘site-options’, ‘site-transient’, ‘users’, ‘useremail’, ‘usermeta’, ‘user_meta’, ‘userslugs’) );
My question is this plugin delete the old keys records after some time? There is a way to set the time?
Any advice about how to avoid this problem?
Thanks.
- The topic ‘PHP Fatal error: OOM command not allowed when used memory > ‘maxmemory’’ is closed to new replies.