Active
Project:
Redis
Version:
8.x-1.5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2022 at 23:17 UTC
Updated:
13 Apr 2022 at 00:51 UTC
Jump to comment: Most recent
I'm running Redis on Platform.sh with a Drupal 9 website. maxmemory is set with volatile-lru eviction process. Redis ran out of memory and returned a 500 error.
Upon investigation, there are permanent and volatile keys in the cache, and the number of permanent keys is growing. The volatile keys have a TTL of 1 year and are generated from the user interaction on the website. The permanent keys are generated from a migration
Is this a known issue with migrate API? Is there something I can do to have the migration generate volatile keys?
Changing the eviction process to allkeys-lru would address the issue. Are there reasons why I wouldn't want to do this?
Thanks.
Comments
Comment #2
stephencross commented