-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memcached memory to infinite after PHP update/restart #478
Comments
This is completely normal. Your memcached is filling up with data as you begin using it. This is how it works! Memcached does not proactively recover memory; rather, it fills until it's full and then begins evicting records that are either a) past their TTL or b) Least Recently Used within their respective object-size-buckets. |
Maybe I was not clear enough. The server RAM is climbing to 100% caused by memcached and at a sudden point memcached completely stops working, no evictions are taking place. This is only the case after updating PHP. |
The default limit for the memcached server is 64MB ( |
Are both of you talking about the same thing? I.e. php-memcached extension vs memcached server? Just a wild guess. |
Memcached v3.1.5
PHP 7.4.14
After every minor PHP update (and restart) I experience my memcached to start climbing in memory consumption fast. This eventually causes Memcached to stop working at all. A restart of memcached solves the problem, but this not ideal because my PHP sessions are in Memcached.
Does anyone else also have experienced this problem? Is there any way to debug what it could cause?
The text was updated successfully, but these errors were encountered: