Redis is an open source, highly-scalable key-value store, commonly referred to as a "NoSQL database."
Questions tagged [redis]
441 questions
2
votes
2 answers
Troubleshooting poor disk IO performance
Note that while this question is a little Redis-specific, the main problem is generic: a process takes so much HDD IO write bandwidth that other processes can't write anything.
We've got an Ubuntu VM inside Ubuntu-based Xen XCP host (installed on…

Alexander Gladysh
- 2,423
- 8
- 31
- 49
2
votes
1 answer
How to check if redis master is OK?
On the documentation, they advice the monitor command. But it has a 50% performance penalty for the whole system, and how should I do that ? Whatching the ouput using SSH until I don't see anything ?
Let's say I have 3 servers: 1 with a redis…

Bite code
- 409
- 5
- 17
2
votes
1 answer
Keepalived not honoring nopreempt
I'm using Keepalived to manage two Redis instances in a master/slave configuration. I'm experiencing a situation where, if Keepalived is terminated on the Master box (the one with the higher priority), the Backup server takes over as the master.…

Chris
- 347
- 3
- 6
- 13
2
votes
2 answers
Cron job not putting Redis in slave mode
My organization has Redis running in a Master/Slave configuration, using Keepalived to switch between the two. It was discovered that when the Slave instance dies for some reason, Keepalived will not restart it. I started writing a cron job to check…

Chris
- 347
- 3
- 6
- 13
2
votes
2 answers
Configure redis to not have everything in memory?
I like redis because it lets me do operations on data structures. I wanted to see what would happen if i were to put more data into redis then i have for ram. So i wrote a loop that inserted 30k bytes repeatedly and set maxmemory 100MB. I figure it…
user274
2
votes
3 answers
Am I using too much memory? (Rails on EC2 with Resque)
I am looking at the memory usage of the Rails application (it uses background processes via Resque) and since the common answer to the question, "how many workers is too many" was "test and see", I ran some memory commands and wonder if someone can…

Stpn
- 145
- 4
2
votes
1 answer
What steps are required to ensure more than 1024 clients can connect to redis?
I require more than 1024 clients to be connected to a single redis instance at once. My redis process runs as user ubuntu. I have edited /etc/security/limits.conf to specify:
ubuntu soft nofile 65535
ubuntu hard nofile 65535
I have also ensured…

esilver
- 335
- 2
- 5
- 11
2
votes
1 answer
Separate server for Resque workers
I'm trying to segment a few servers for a Rails project and part of that is entertaining the idea of isolating Resque workers to their own box. I already have Redis broken out, but is it common to put Resque workers elsewhere? Do they need to be…

cmhobbs
- 267
- 1
- 3
- 12
2
votes
1 answer
Resque(Redis) On EC2 Micro Replciated to 3 availability zones
I'm going to build a failover setup for my resque jobs system wich uses Redis as a queue. The idea is to put 3 redises in different availability zones on micro instances and replicate them. Also would be nice to use ELB/tcp for balancing and…

Stanislav O. Pogrebnyak
- 121
- 2
2
votes
1 answer
Force a process to update cwd after mount?
Redis is dumping snapshots to device that is rapidly running out of space.
I've tried mounting a larger device to the snapshot directory, but Redis continues to dump snapshots to the smaller device.
Is there any way to force redis to use the new…

ABentSpoon
- 123
- 4
2
votes
1 answer
Amazon EC2 ELB directing load to other instances and session stores
If we scale up (add an instance to ELB), could we redirect some existing requests to the new instance. So that, The users that we force to a new server will be asked to login again
If we scale down (remove an instance from ELB), then all users from…

Aivan Monceller
- 125
- 1
- 10
2
votes
3 answers
RedisToGo - remote Redis server. When to use one?
I like the concept of relying on third-party service hosting my data but what's the point of using super-fast NoSQL storage via remote hosting?
It maybe in different datacenter or even country! And network calls always cost a lot in comparison with…

user45286
- 336
- 1
- 4
- 12
2
votes
1 answer
Cannot kill redis server. It restarts every time I kill it
I cannot kill redis-server no matter how many times I've tried.
ps -ef | grep redis-server gives
root 10592 1 0 01:10 ? 00:00:00 /snap/redis/658/usr/bin/redis-server *:6379
root 10846 8813 0 01:12 pts/1 00:00:00 grep…

Shaundavin13
- 31
- 4
2
votes
1 answer
redis sentinels with docker-compose
so I have this kind of docker-compose
version: '3.8'
x-base: &base
image: redis:latest
x-base-sen: &base-sen
image: redis:latest
command: redis-sentinel /sentinel/sentinel.conf --protected-mode no
services:
redis1:
<<: *base
…

scaryhamid
- 143
- 1
- 6
2
votes
0 answers
Server Connection Issue - With OK CPU/RAM
Recently we had an occurrence where we were unable to connect to mutliple masters on our Redis cluster.
Connections from our code base were timing out. We were also unable to SSH into the box during this period, essentially locking us out.
This has…

Tbonepgh
- 21
- 1