Questions tagged [redis]

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

431 questions
7
votes
1 answer

Redis appendonly.aof file size out of control

I host a Rails 5 website that uses Sidekiq to manage its background jobs. The problem I have is that regularly the appendonly.aof file grows to big that it fills that whole disk where it is saved. It there a way to limit the size of appendonly.aof…
jlfenaux
  • 283
  • 1
  • 4
  • 8
7
votes
1 answer

Setting up multiple redis masters

In recent study, I was led to the belief that it is not possible for redis to be setup with multiple masters with each master having 2 slaves. https://github.com/uolter/redis_failover/issues/4#issuecomment-24377513 I was quite taken aback by this…
Mark
  • 171
  • 1
  • 1
  • 4
7
votes
2 answers

Redis vs Memcache

I'm a bit new to Memcache and Redis and I'm trying to understand the difference between the two and what each actually is. As has been explained to me Memcache is a database caching solution. Data from frequently run queries are cached to be re-used…
Brad
  • 589
  • 1
  • 9
  • 26
7
votes
1 answer

How do you get Redis connections working within an Amazon VPC private subnet?

I have an Amazon VPC setup with a private subnet containing 2 instances. One of them has redis running on it, the other instance I want to use to connect to the redis server. I have the redis instance listening on port 6123. When I connect locally…
Tomek
  • 215
  • 3
  • 8
6
votes
1 answer

Redis reports read-only filesystem, but it isn't

I get this in my Redis logs: 1182:M 30 Nov 14:27:00.028 * 1 changes in 900 seconds. Saving... 1182:M 30 Nov 14:27:00.029 * Background saving started by pid 1920 1920:C 30 Nov 14:27:00.029 # Failed opening .rdb for saving: Read-only file…
Joe
  • 519
  • 8
  • 18
6
votes
1 answer

Redis 2.8.12 slave sync failing

I'm getting the following error when trying to sync from same version master in redis cloud: # Server started, Redis version 2.8.12 * The server is now ready to accept connections on port 6379 * Connecting to MASTER…
AXE Labs
  • 1,519
  • 5
  • 19
  • 24
6
votes
2 answers

Installing additional LUA modules into Redis

I'm trying to get Redis to allow EVAL (http://redis.io/commands/EVAL) to make HTTP requests. Two modules: LuaCURL and Luasocket give this ability. The Redis source code has a directory with additional modules (such as cjson)…
user3786834
  • 127
  • 8
6
votes
1 answer

Redis connection issue

We are currently experiencing a lot of Redis errors with the message Unable to connect: read error on connection, trying next server We run Redis on FreeBSD using PHP Redis and we have a hard time reproducing the error on Ubuntu so this might be a…
mre
  • 311
  • 2
  • 7
6
votes
3 answers

Redis reload configuration changes without restarting service

When I change redis configuration via puppet, is there a better way to load the configuration other than restarting the redis service?
kalyan
  • 229
  • 1
  • 2
  • 11
6
votes
3 answers

How to uninstall the redis installed from source in ubuntu 12.04?

I'd installed the redis-server on Ubuntu 12.04 from source. But at somepoint it couldn't get installed fully, failed on last make install cmd. Then I just installed via apt package. Now I'm confused which installation is being run with which conf…
Autodidact
  • 385
  • 2
  • 4
  • 13
6
votes
3 answers

How do I install the latest stable version of Redis?

I am new to redis. and I just followed cli to install redis sudo apt-get install redis. but the install server version is 2.2.12 . If I want to update this version and I want to install redis 2.7 + then how can I do this thing, please help. I am…
lord_linus
  • 183
  • 1
  • 2
  • 6
5
votes
3 answers

How to configure Redis Cluster inside a Kubernetes cluster to be accessible by external applications

I'm having trouble exposing my Redis Cluster on Kubernetes to external applications. Using a Kubernetes load balancer service, I'm able to assign an external IP to Redis which provides initial connectivity. The trouble is, whenever the client…
shrumm
  • 116
  • 1
  • 9
5
votes
2 answers

Redis with custom data dir: systemd config file changed automatically?

I'm running Redis 4.0.9 on Ubuntu 18.04.1 LTS with a custom data dir for the RBD file. To make this work, besides updating the dir in redis.conf to the new location, I also had to update /etc/systemd/system/redis.service and…
Andrei O
  • 153
  • 1
  • 5
5
votes
1 answer

Redis: read-only slave vs fail-over slave?

I'm reading a lot of documentation around Redis network configurations, and I'm confused about how it seems the requirements in the architecture mental model I had, don't seem to map with the current options. First of all: I don't need sharding,…
knocte
  • 347
  • 1
  • 6
  • 18
5
votes
3 answers

AWS Redis Encryption in-transit + TLS EC2 Connection

I'm already using AWS Elasticache Redis but without "Encryption in-transit". I've created a new small/temp cluster with this Encryption Enabled but I can't connect to it - redis-cli error: Connection reset by peer eg: redis-cli -h aws.host.name -p…
Adam
  • 505
  • 1
  • 6
  • 10
1 2
3
28 29