Cheers,
Pieter
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to redis-db+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/redis-db?hl=en.
>
In this case it's strange that restarting the system fixes the
issue... Maybe an INFO output and a CLIENT LIST could help us.
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - VMware
http://invece.org
"We are what we repeatedly do. Excellence, therefore, is not an act,
but a habit." -- Aristotele
when the server is in "leaking state" you should try to perform a
BGSAVE, take the output RDB, and run the following RDB memory
estimation tool against it:
https://github.com/sripathikrishnan/redis-rdb-tools
Or otherwise, take the RDB file, and load it in another computer and
check the memory usage with INFO, so that we can see if really the
data set is consuming more memory than needed.
Alternatively you can simple save, stop the server, restart, and see
if the memory usage is similar or not.
The problem is that for an investigation that can lead to results we
need to understand if the dataset is not really occupying this memory.
And if not, where the memory is lost.
If we have evidence of the first, you can do a GDB core dump and send
me the dump so that analyzing the memory we can try to understand
where it is leaking.
Also note that you can use Redis 2.4.11 redis-cli to check if there is
some key that is growing a lot for some reason:
redis-cli --bigkeys
Thanks for your help.
Cheers,
Salvatore
> For more options, visit this group at http://groups.google.com/group/redis-db?hl=en.
Ok that's interesting, please could you give me more or less the
difference between legitimate memory usage and leaked memory if you
have (even an approximate) idea? Thank you.
> For more options, visit this group at http://groups.google.com/group/redis-db?hl=en.