03:07:01 GMT anyone in here? 07:04:28 GMT When redis gets full, even with volatile-ttl set as maxmemory-policy, redis refuses to clean out old entries for new ones. Magento 2 (which is using redis) just shows an error for redis when it gets full. 08:24:53 GMT Mattias: do you actually have volatile keys? 08:25:19 GMT badboy_: is that something the application sets? Not sure what magento 2 does really when is uses redis 08:25:50 GMT s/when is/when it 08:27:13 GMT show output of INFO please 08:27:20 GMT sure, sec 08:27:24 GMT volatile = keys with an expire 08:29:27 GMT badboy_: https://gist.github.com/mattias/30c7122d9456fd6590e778c2a750c928 08:32:22 GMT I think I tried volatile-lru or allkeys-lru but that kept removing sessions which only had been inactive for 1-5 min. 08:32:37 GMT redis is used for both cache and sessions in this case 08:33:11 GMT so you have some with an expire, that's giod 08:33:35 GMT it might be that it can't remove enogh/quickly enough 08:34:44 GMT As I understand in AWS Elasticache I need to use separate endpoints for reading and writing. Is this the default way Redis clusters are set up? 08:36:19 GMT badboy_: For now we have doubled maxmemory, and I'll keep an eye on peak memory usage for a few days and see if it is stable. but volatile-ttl should still help some? Or is there a better alternative? lru just doesn't work because it gets rid of sessions for some reason. Been thinking of trying to set up two redis instances, unless you can configure each database with separate maxmemory + policies. 08:38:44 GMT you can't 08:39:01 GMT if you have different requirements for your data you need to use two instances 08:39:04 GMT Pinchiukas: no 08:39:34 GMT badboy_: "no" as in AWS made that up? 08:40:09 GMT I don't know AWS Elasticache, but I know Redis clusters^^ 08:40:24 GMT Pinchiukas: can you point me to documentation about it requiring separate endpoints 08:41:04 GMT badboy_: http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Endpoints.html?shortFooter=true 08:41:09 GMT At least that's how I read it. 08:42:36 GMT where does it say that you _have_ to use separate endpoints? 08:43:06 GMT also are we talking Redis in Cluster mode or not in Cluster mode? 08:43:12 GMT How else can you use it? 08:43:16 GMT Cluster mode. 08:44:24 GMT > Redis (cluster mode enabled) clusters, use the cluster's Configuration Endpoint for all operations. 08:45:11 GMT (though you need a client that can handle Redis Cluster, it will follow the redirects) 08:45:12 GMT I must be stupid. 08:45:36 GMT Yeah I was actually thinking of using the Redis cluster as a memcache server. 08:52:43 GMT Guess I'll have to use their memcached offering... 08:56:34 GMT if you need memcached, you should use memcached, yes 08:58:31 GMT I was hoping to use Redis' replication and data retention features. 08:58:52 GMT but Redis != Memcached 09:00:30 GMT It does support the memcached protocol though? 09:12:34 GMT badboy_: but I'd fail if I use a *cluster* of Redis nodes because it redirects to different shards? 09:12:58 GMT it does not support the memcached protocol 09:16:12 GMT I've been mislead it appears. :) 09:17:16 GMT yes 09:49:12 GMT how do I run a script without defining keys? 09:49:22 GMT my script: return redis.call('del', unpack(redis.call('keys', ARGV[1]))) 09:49:34 GMT it deletes all keys with matching pattern 09:50:33 GMT I call it as: eval "