Skip to content

Conversation

@zorrobyte
Copy link
Contributor

#677

volatile-lru is a poor choice as it depends on the keys stored to be explicitly marked as purgable, something that the WordPress Redis plugin DOES NOT do. This means that an EE server running Redis will fill the cache, never to clean it unless it's purged via the Nginx plugin.

Setting it to allkeys-lru ensures that the oldest used keys are always purged if out of RAM instead of segfaulting and massively slowing down a WordPress site.

zorrobyte added 2 commits February 3, 2016 17:44
#677

volatile-lru is a poor choice as it depends on the keys stored to be explicitly marked as purgable, something that the WordPress Redis plugin DOES NOT do. This means that an EE server running Redis will fill the cache, never to clean it unless it's purged via the Nginx plugin.

Setting it to allkeys-lru ensures that the oldest used keys are always purged if out of RAM instead of segfaulting and massively slowing down a WordPress site.
@harshadyeola
Copy link
Contributor

@zorrobyte
Thanks for the PR :)

harshadyeola added a commit that referenced this pull request Mar 15, 2016
Fix Redis config volatile-lru -> allkeys-lru
@harshadyeola harshadyeola merged commit bfc310e into EasyEngine:master Mar 15, 2016
@rsmith4321
Copy link

Does the redis.conf need to edited manually to fix this for already configured servers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants