07:33:39 GMT hi 07:36:10 GMT I need help 07:36:27 GMT if I run redis-server /etc/redis/redis.conf redis works fine 07:36:52 GMT if I do systemctl start redis redis does not want to work 07:36:56 GMT the error message is 07:37:15 GMT Opening Unix socket: bind: Permission denied 07:37:30 GMT however I have /var/run/redis folder with permission 777 07:37:41 GMT so not what is the problem here 07:38:04 GMT anyone who can help me understand what is happenning? 07:56:09 GMT cmon guys there is a lot of people in this channel, Im pretty sure someone has the answer... 09:00:53 GMT Is there something obviously wrong with the following lua script that would cause execution to fail? 09:01:07 GMT https://www.irccloud.com/pastebin/7ujVOaLz/ 09:09:59 GMT echologic, why do you ask? is it failing? how is it failing? 09:14:54 GMT Habbie: the response, at least when I debug my app, says my output variable is undefined. In this case, I'm expecting the output var to be the result of `return redis.call()` 09:15:09 GMT can you show the full response? 09:16:35 GMT Habbie: sure https://www.irccloud.com/pastebin/BQ6n3Bjo/ 09:16:58 GMT that does not look like the full response 09:17:12 GMT or is that a node error instead of a redis error? 09:17:39 GMT that's the js error from the redis client I'm using, yeah (ioredis). The data is going into the function just fine. 09:18:12 GMT well, try it in redis-cli 09:18:38 GMT how do multiline lua scripts work in cli? 09:18:56 GMT just replace all newlines with a space 09:24:32 GMT Habbie: hmm... https://i.imgur.com/pjvjntu.png 09:26:01 GMT that's not the code you pasted earlier 09:27:09 GMT what fancy client is that :o 09:27:55 GMT minus: Medis! https://github.com/luin/medis 09:28:37 GMT echologic: redis-cli has a lua debugger (3.2), that might help you debug your script 09:28:42 GMT Habbie: how does it differ? 09:28:53 GMT echologic, the arguments to return redis.call(..) differ 09:28:58 GMT echologic, you need to work harder if you want us to help you 09:29:01 GMT holy fuck 09:29:04 GMT echologic, speaking for myself at least 09:29:05 GMT that thing is electron 09:29:55 GMT it's nice that it looks nice, but very worrying that it uses 500MB RAM 09:32:13 GMT damn, 2.8+ only :/ 09:33:11 GMT michel_v, you're stuck on older? 09:34:10 GMT yes. 2.6 09:34:13 GMT my sysadmins won't ever update anything here 09:34:16 GMT ouch 09:34:30 GMT that's like at least 5 years old 09:34:37 GMT indeed it is 09:34:46 GMT that's a century in IT time span 09:34:53 GMT well I suppose it's 2.6. when I do redis-cli help scan, there's no return 09:35:07 GMT info will tell you 09:36:08 GMT ahah 09:36:10 GMT ahahahahahahah 09:36:13 GMT redis_version:2.2.12 09:36:15 GMT just shoot me 09:36:36 GMT michel_v: :) 09:36:45 GMT hey beorn_ 09:36:54 GMT salut :) 09:38:33 GMT 2.2.12 is from july 2011; and it's not even the latest patch set for 2.2 09:38:44 GMT hi 09:39:20 GMT anybody can help me to find out why redis is giving me this error? 09:39:23 GMT Opening Unix socket: bind: Permission denied 09:44:17 GMT run redis-server with strace to see if it's really accessing the path you think it does, check if selinux or so might be blocking it 09:46:00 GMT Hello guys, I am a newbe to Redis. I have been using Memcache for a long time but now I achivied the limit of its possibilites so I would like to switch the whole system to Redis. Recently I have made a test and run Redis instanction od production enviroment (quite a traffic) but started to get a Connection Timeout and Error while reading line from the server errors. 09:47:05 GMT I completely have no idea what could be wrong. The exceptions are thrown after some time. I suppose when some limit has been touched. 09:49:02 GMT And the 3rd problem is: MISCONF Errors writing to the AOF file: No space left on device 09:49:10 GMT INFO might give you some pointers; maybe you hit the connection limit 09:49:33 GMT the last one means your disk is full ;) 09:49:49 GMT if you don't need disk persistence, disable it 09:50:04 GMT (but since AOF isn't enabled by default i assume you want that) 09:50:30 GMT Can I paste here the info command output? 09:50:31 GMT :) 09:51:52 GMT root@redis1:~# redis-cli info # Server redis_version:3.0.7 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:869e89100d5ea8c2 redis_mode:standalone os:Linux 2.6.32-43-pve x86_64 arch_bits:64 multiplexing_api:epoll gcc_version:4.8.4 process_id:16947 run_id:917845a0dc5dea3027c40990ef5cf7cd97dd06cd tcp_port:6379 uptime_in_seconds:53911 uptime_in_days:0 hz:10 lru_clock:3586062 config_file:/etc/redis/redis.conf # Clients connected_cl 09:52:06 GMT Looks like it's to long to pase it here. 09:52:32 GMT Where should I take a look for the connection limit in the output? 09:53:36 GMT # Clients connected_clients:1 client_longest_output_list:0 client_biggest_input_buf:0 blocked_clients:0 09:54:01 GMT Probably this is the answe, nevertheless I have the connection limit set to 10000 (by default) 09:54:41 GMT I guess it isn't related to the connection limit 12:19:33 GMT Hi all, I have a question about master failover (as outlined in https://redislabs.com/blog/real-time-synchronization-tool-for-redis-migration). Point 2.2 says "Configure the application [instances] to use the slave instead of the master" - should all the application flip their config to use the slave at the same time to avoid issues? (I think the answer is Yes but I want to have more expert opinions) 12:20:55 GMT I am planning a migration like the above one but the number of applications issuing commands to Redis is around 100 different hosts controlled by Puppet 12:21:27 GMT (all of them using nutcracker/twemproxy) 13:36:25 GMT anyone here? 13:36:56 GMT ilia, if you have a question, just ask it 13:40:06 GMT is it possible to replicate only part of db. for example i have a list of days, and i want to replicate only specific day to local redis db 13:41:31 GMT no, not with redis' built-in replication mechanism 13:44:36 GMT and with sharding? can a shard be configured to "represent day", and later dynamically request a specific shard? 13:56:04 GMT no idea about that, sorry. it does sound like it'd be a hack though. 14:04:48 GMT we have an issue that requires high performance db for research. and we would like to copy a data locally on demand 14:11:36 GMT you could make multuple, separate instances 16:57:38 GMT Hi 16:59:05 GMT Does anyone have any ideea why would i receive this error when doing zadd? 'Redis: Protocol error: "invalid bulk length"' I have 2 threads in Perl that are taking elements from one "input" sorted hash, and put them in a "processing" queue using zadd 16:59:56 GMT basically i wanted to implement a queue for multiple worker perl processes