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

stephencross created an issue. See original summary.

stephencross’s picture

Issue summary: View changes