-
Notifications
You must be signed in to change notification settings - Fork 197
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
Expunges happen without hitting limits #508
Comments
Additional findings: Lines 755 to 768 in 1ba5a2d
If the Update I: ~2 days later: After setting the Update II: ~3 days later: The problem seems to boil down to the massive fragmentation my implementation caused. After resetting Nevertheless I think that at least the hard crashes are something to look after. Also the docs could state, how and why the purge takes place. |
Facts first:
5.1.23
8.2.18
(inside a docker container based onphp:8.2-fpm
)mmap
I observe that the cache expunges way too often without any hint why it's doing so.
Does anyone have an idea what's going on and how I can mitigate?
I implemented logging by calling the following script every 30s and writing its results to a log file:
I then analyze the output with:
My output is:
So basically it's always crashing if available space reaches 1000M.
I don't get why it's doing so. You see that my "Slots Hint" is
160k
(shown as 163.841 in col 2 "Slots"), while "only" handling around 100-130k entries (col 6 "Entries"). I thought the problem was that I only assigned 1000M to apcu at first. So I upped it to 2000M, but the expunges still happen often.Any hints are highly appreciated!
Full Config
The text was updated successfully, but these errors were encountered: