-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Working Set memory keeps growing and goes on with a pagefile till no space is left #466
Comments
Hi @ArjanVanBuijtene |
Hi Enrico, The mentioned guidelines do not work as we have tested in a Live environment. Example: Memory: Redis-stats: and the INFO: And pagefile activity, besides the 172 GB (maxmemory on 140 Gb) already from the memory: So something is causing the working set to keep on growing, regardless the settings in use. Redis is the only software (besides redis-stats) we run on this server. Anymore info you need to receive? Kind regards, Met vriendelijke groet, Arjan van Buijtene Information Architect Data Technology
From: Enrico Giordani [mailto:notifications@github.com] Hi @ArjanVanBuijtene https://github.com/ArjanVanBuijtene — |
@ArjanVanBuijtene |
@ArjanVanBuijtene |
So the million dollar question is why virtual space goes up to 172 GB and then pagefile starts growing to 50-100 GB, while the Redis it self never reported a higher value as 130 GB and the maxmemory is 140 GB. |
@ArjanVanBuijtene The default system paging file max size is 3.5 times the physical RAM, your system should be able to grow it up to 672 GB, so unless Redis reaches a value close to it, you shouldn't worry about it and there shouldn't be any reason to reboot the system to bring it down. |
Thx for your answers and the quick support, we are going to anticipate on this and upgrade and optimize where relevant our environment. |
We have a scenario where we constantly update many keys.
The behaviour is that the memory grows quickly, easily above 100 GB.
This is for the Redis Data, although using SCAN we also see a 125 GB use drop to 50 GB.
Next the moment Redis is started it start growing as Working Set memory.
We have 192 GB memory, but still grows on to take over 100 GB space for the pagefile.
We latest version 3 build.
We tried MaxMemoy, change from virtual to hardware direct, looking into changing the malloc and switching to Linux, but we believe this is not the solution.
We feel that the Redis software is having an issue with the memory handling.
We do use maxmemory-policy volatile-ttl as the policy as we have expire set on our keys.
Please let me know if and which more info is required to determine where the issue could be.
Brgds,
Arjan van Buijtene
Airtrade
The text was updated successfully, but these errors were encountered: