Questions tagged [redis]

47 questions
11
votes
2 answers

How can I install redis server 7 on Ubuntu 22.04?

I'd like to install the newest Redis Server 7 on my Ubuntu 22.04 (I've already installed Redis Server version 6 via standard workflow with apt install). I tried to use a Snap package from https://snapcraft.io/redis But my Redis is still version 6…
Eddie R
  • 371
5
votes
1 answer

Problems to connect with remote redis-server

I have two Amazon-EC2 instance let's say A and B. B has redis-server installed. I want to access B from A So I am trying A$ redis-cli -h B_ip -p 6379 Could not connect to Redis at B_ip:6379: Connection timed out Could not connect to Redis at…
Avinash
  • 193
4
votes
1 answer

How to calculate number of possible records in Redis per 32GB of memory?

In my company are talking about the possibility to build some part of our backend in Redis instead of mongodb but we want to calculate how many records we will be able to store in a server with 32G. While I know that that totally depends on the size…
midudev
  • 143
4
votes
1 answer

Redis : Can't handle RDB format version 9 Ubuntu 18.04

Following the indications in here: Redis-QuickStart I installed in my Ubuntu 18.04.01 Server Edition the latest stable Redis release : download.redis.io/redis-stable.tar.gz and tested the result of the compilation: \o/ All tests passed without…
3
votes
1 answer

Systemd Refuses to Start Redis Server

I have duplicate redis.conf & /etc/systemd/system/redis.service files on my test and prod servers via scp. Where prod is able to start and run redis with a unix socket. My test server refuses to start redis, with the following error output: ●…
mjones
  • 317
  • 2
  • 7
  • 21
2
votes
0 answers

redis Error: Server closed the connection

I have 6 nodes in a redis cluster - 3 master and 3 slaves. All the nodes are running just fine except for one master and it's slave. On this troublesome master, when i run the command (on either master or slave), i get the following error: Error:…
The Georgia
  • 143
  • 4
2
votes
0 answers

Is it possible to use explicit huge pages in redis

I know that Redis does not work well with THB (Transparent Huge Pages), but is it possible to run Redis using explicit 2MB or 1GB HugePages? Unfortunately googling the issue always gives a ton of info about THP but none about HugeTLB. Is it possible…
HubertNNN
  • 443
2
votes
0 answers

Could not connect to Redis at 127.0.0.1:6379: Cannot assign requested address

I tried connect to redis server but I can't. $ redis-cli Could not connect to Redis at 127.0.0.1:6379: Cannot assign requested address $ telnet localhost 6379 Trying 127.0.0.1... telnet: Unable to connect to remote host: Cannot assign requested…
2
votes
0 answers

Redis rdb persistence quite slow

My two nodes in a Redis cluster have quite different persistence performance. The master node is always much faster than the slave one when saving data to disk. Here is the persistence info for master: [fred@redis_master temp]$ redis-cli -h…
2
votes
2 answers

Can't start Redis Server on Ubuntu 16.04

I can't get redis server to start on Ubuntu 16.04. I installed via this repo I double checked the systemd redis.service file and it looks fine. it points to the binaries. Systemctl Status Redis-server.service - Advanced key-value store Loaded:…
2
votes
0 answers

Redis Sentinel sdown at start up

I'm experiencing a weird issue. When I try to launch Redis in sentinel mode, such as: redis-sentinel /path/to/sentinel.conf everything was working, but a few seconds later, it puts the state +sdown master mymaster x.x.x.x 6379 Here is my…
2
votes
1 answer

Redis on azure debian vm - connect ETIMEDOUT

I made a Debian 9 VM on Azure, I also installed MariaDB, PHPMyAdmin, and node with pm2. With this, I set in inbound rules port 80 for HTTP, 3306 for MySQL and port 6379 for the Redis. when i try to connect with the windows client it refuses or in…
2
votes
1 answer

How can BGREWRITEAOF return ERR?

The documentation for BGREWRITEAOF states that BGREWRITEAOF always returns the string value OK. Well, today I sent BGREWRITEAOF to my redis-server 2.6.7 and received (error) ERR in response. maxmemory is 3G; appendonly is yes. The system has 4gb of…
2
votes
1 answer

How to make redis work locally?

I've got a redis db. Now I need to make it work locally. I mean I want it to be accessable on my local machine only. No requests over network. How can I do it? I found redis.conf with the following content: # If you want you can bind a single…
1
vote
1 answer

Installing redis-server-stack on MacOsx (load command 0x80000034 is unknown) error

I have redis-server running fine. I cant run redis-server-stack. The modules don't seem to be loading. 41188:M 21 Oct 2023 16:35:10.184 # Module /usr/local/Caskroom/redis-stack-server/7.2.0-v4/lib/redisearch.so failed to load:…
Merlin
  • 131
1
2 3 4