--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Votatile-ttl only evict keys with expiration set. Probably you should look at allkeys-lru?On Fri, Jul 29, 2016 at 4:53 PM, Owais Ahmad <millenn...@gmail.com> wrote:Hello,I am using redis 3.2.1 on a 64-bit machine with 4GB RAM and 2 cores.Here is my config and stats:maxmemory=2.5gb.used-memory=2.4gb.db size=volatile-keys=24,486,077.
--expired-keys=1,870,148.evicted-keys=2945operations per second=800background-saving=onApplication intermittently gives OOM error even when I have enabled volatile-ttl eviction policy.Logs do not suggest anything which I can use to isolate the problem.When I restart redis server, the used memory drops low and things operate fine for a few days. This leads me to think that redis is not freeing up memory upon key expiry.There is no way that the application can store these many keys, as when redis starts, the key volume is low, and it increases very slowly.How much overhead per KV pair does redis store?Is there a way to say x bytes of key value pairs will require y bytes of RAM on redis, so that I can increase the memory limit if the requirement is high?Regards,Owais
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--andyhAndy Huang (Huangkejun)
--
You received this message because you are subscribed to a topic in the Google Groups "Redis DB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/redis-db/ArAuk9IH7NQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to redis-db+u...@googlegroups.com.