00:28:09 GMT hey all! anyone around? 06:18:53 GMT how do i find the zset names from a database? 06:19:20 GMT test test 14:04:42 GMT Hi ho, my redis machine (which runs in a mesos cluster) keeps on eating more memory than maxmemory and crashes, is there any more parameters that I have to set to make it start evicting stuff in time? I set the maxmemory-policy to allkeys-lru 14:08:20 GMT http://pastie.org/private/u4vvhbqflvvonchgcq5bca 14:11:39 GMT It's version 3.0.2 14:42:44 GMT The used memory is 6gb in info and the limit is set at 8, but the redis-server process just contantly goes up in memory, it is at 18gb now 17:19:54 GMT are you perhaps looking at virtual memory? 17:55:11 GMT minus: I don't think so, then it wouldn't crash, right? 17:55:43 GMT It also makes backups to disk, I just realized. But those that tripple the memory usage...? 17:56:00 GMT it forks for backups iirc 17:58:20 GMT virtual memory doesn't really matter; if you want the real size in memory look at RSS 18:36:15 GMT spydon: what does redis INFO report for RSS size and fragmentation? 18:54:27 GMT Ah, the paste site died, how reliable 18:55:57 GMT mem_fragmentation_ratio:2.88 ? 18:56:08 GMT I don't find anything called RSS size 18:56:53 GMT You should see something like, 18:57:01 GMT used_memory_rss:3952640 18:57:16 GMT used_memory_rss:18518106112 18:58:10 GMT I don't remember off hand, but maxmemory settings may apply against the non-rss number 18:58:22 GMT What is rss? 18:58:48 GMT Basically the amount of memory allocated to redis by the operating system 18:59:13 GMT It can be higher than used_memory when blocks of memory are used inefficiently 18:59:18 GMT Ah, yeah, that number is the same as what top reports 19:01:20 GMT There's some info here, http://redis.io/topics/memory-optimization 19:01:31 GMT Look under the "Memory allocation" heading 19:02:54 GMT I don't really need to optimize it, I just need to know approximately how much memory I should throw on the machine. There is like an infinite amount of memory available in the cluster and I' 19:02:59 GMT m not paying ;) 19:03:14 GMT Haha, that makes things easy then 19:03:35 GMT But interesting to read anyways 19:03:48 GMT Yeah, unfortunately fragmentation will be dependent on usage patterns. Just monitor your typical ratio and allocate appropriately 19:04:03 GMT Will do 19:04:30 GMT Thanks a lot :) 19:04:46 GMT np 19:08:14 GMT If battlefield 1 crashes during launch now, I'll blame everything on you ;) "There was this c2nes guy on irc..."