Questions tagged [redis]

Redis is an open source, highly-scalable key-value store, commonly referred to as a "NoSQL database."

441 questions
2
votes
1 answer

KeyDB Active Replica - LOADING Redis is loading the dataset in memory on full sync

We have setup 2 keydb servers with Active Replica, as described here: https://docs.keydb.dev/docs/active-rep/ We use HAproxy to redirect the traffic to the correct server. So we have the current situation: keydb 001 - 10.0.0.7 keydb 002 -…
58k723f1
  • 21
  • 6
2
votes
0 answers

redis load module: cannot open shared object file. Permission denied

I am successfully building the redisearch.so module on travis-ci. After the module is built, I instruct the Redis to load it like this redis-cli MODULE LOAD $TRAVIS_BUILD_DIR/rs/build/redisearch.so which gives me the following error 5439:M 17 Nov…
2
votes
1 answer

systemd[1]: Failed to start Advanced key-value store

A little rodeo with redis. The error issued by redis is pretty unspecific ... When doing journalctl -xe I got: -- The process' exit code is 'exited' and its exit status is 1. Nov 05 20:53:34 servername systemd[1]: redis-server.service: Failed with…
kghbln
  • 411
  • 2
  • 10
  • 20
2
votes
1 answer

pecl install redis: When you enable igbinary, do you need to enable lzf and zstd compression? (phpredis)

When I fire the command sudo pecl install redis I get asked to enable: enable igbinary serializer support? [no] : enable lzf compression support? [no] : enable zstd compression support? [no] : In a blog post it says: Using igbinary serializer…
Philipp Mochine
  • 165
  • 1
  • 12
2
votes
1 answer

How to find out the endpoint url of a node of a redis cluster via aws cli 'elasticache describe-cache-clusters'?

If I run aws elasticache describe-cache-clusters I will get results like this: { "CacheClusterId": "dev-001", "ClientDownloadLandingPage": "https://console.aws.amazon.com/elasticache/home#client-download:", …
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
1
vote
1 answer

How to fix the "Redis is busy running a script" error

My servers are repeatedly crashing due to receiving the following error from Redis: BUSY Redis is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE. However, I can't seem to find a way to determine what is this "script" the…
Derek Chiang
  • 11
  • 1
  • 2
1
vote
1 answer

redis instance restore using dump.rdb is not working

I have redis instance with 10 keys in qa env. the instance is configured to use dump.rdb in /tmp directory . I ran "save" command and saw new dump.rdb file that was created . then I created new instance on other host . copied the dump.rdb to the…
alonzo
  • 31
  • 3
1
vote
2 answers

why does Redis fail to start wth default config?

I am running Ubuntu 18 (well, really Windows Subsystem for Linux with Ubuntu 18 distro). I have installed redis 4.0.9. If I start it with no config specified, it works out ok: redis-server However, if I start it using the default config file…
BeetleJuice
  • 411
  • 2
  • 4
  • 12
1
vote
0 answers

haproxy pods in keep crashloopbackoff

I'm using helm to install a redis-ha in my cluster with command: helm install -f develop-redis-values.yaml stable/redis-ha --namespace=develop -n=develop-redis In develop-redis-values.yaml, i turn haproxy.enabled to true When the pods appear, its…
1
vote
2 answers

Accessing Redis in a peered VNet

I have an IaaS server in one Azure VNet and a premium Redis cache in another peered VNet. There are no NSGs. I can't access Redis using redis-cli. Is there some restriction to accessing Redis from a peered VNet in Azure?
Elomis
  • 313
  • 1
  • 2
  • 13
1
vote
3 answers

How many cores can Redis possibly utilize?

I am using Redis on virtual machines and having trouble deciding how many cores should I assign to them. I know that Redis uses single thread to serve requests, but documentation also states that some tasks performed in background by different…
chimmi
  • 111
  • 1
  • 4
1
vote
0 answers

Linux send queue is not zero, how to diagnose?

I used redis-cli to connect to redis-server, which just stuck forever. I used strace to trace the redis-cli process and found this: [root@iZ2ze0fgielr9er134vdz0Z zuoca]# strace -p 8044 strace: Process 8044 attached read(3, Also, I used netstat to…
mobel
  • 11
  • 1
1
vote
1 answer

How to use redis server in Amazon Ec2 correctly

I have installed the Redis server on the Amazon EC2 instance. Redis is working fine on the server Now I want to open the port 6379 for it "Edit inbound rules" in the security group can you please tell me Type and protocol for it I should use? Thanks…
vidur punj
  • 119
  • 3
1
vote
0 answers

redis-cluster - add-node slave to existing cluster from remote machine hanging forever

I am trying to connect a cluster of 8 replicas on one address to an existing cluster on another address. The replica servers are all running in cluster mode. When I try to do either: ./redis-trib.rb add-node --slave REPLICA_IP:6380…
Christopher Reid
  • 253
  • 1
  • 3
  • 12
1
vote
1 answer

Redis Sentinel not respecting announce-ip option

I am attempting to create a redis-sentinel cluster using docker-compose on my system and have it visible to the host machine (this is to try and replicate an application that is going to use redis-sentinel locally). I have created the following…
mdedetrich
  • 111
  • 1
  • 3