Questions tagged [redis]

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

441 questions
3
votes
0 answers

Redis - Manual failover works but Automatic doesnt

I have a node Redis cluser with 1 master and 2 slaves. Sentinel is running on all of them. master 172.29.245.6 slave1 172.29.240.163 slave2 172.29.225.104 With my master up, this is the status of my cluster. Version -->…
Jason Stanley
  • 185
  • 1
  • 1
  • 11
3
votes
1 answer

Redis not starting on boot

I have installed the redis-server package on Ubuntu 14.04 LTS, running in Amazon EC2. ii redis-server 2:2.8.4-2 amd64 ii redis-tools 2:2.8.4-2 amd64 It didn't start on boot. So I ran the following commands, to re-create the init scripts: $…
Duncan Bayne
  • 203
  • 1
  • 2
  • 7
3
votes
1 answer

systemd redis.service won't allow unix socket connections?

I've installed redis-server on ubuntu 16.04 and I'm trying to connect to it via unix socket. I have commented out the bind and port directives in redis.conf and uncommented the unixsocket directives so I have: # Accept connections on the specified…
ptr
  • 165
  • 2
  • 6
3
votes
1 answer

Redis server high cpu debugging strategies

Recently, we have been noticing CPU spikes on our production environment caused by redis which can be seen below: To combat this issue, I have been restarting the redis server about twice a day :( which is obviously far from ideal. I'd like to…
dipole_moment
  • 83
  • 1
  • 7
3
votes
1 answer

Server closed connection error when checking if key exists in a redis cluster using stunnel

Using redis-cli command line utility with the -c switch to connect to a redis cluster with stunnel configured and running. When I execute the EXISTS command to verify a key, as expected, it redirects to the node that contains the key however, get…
Ray
  • 720
  • 1
  • 9
  • 13
3
votes
2 answers

Why Redis slaves don't take over the master after master fail in Redis Cluster?

I have a Redis Cluster with 2 masters and 4 slaves (2 slaves for each master). After I manually crash a master (i.e. redis-cli -p 6379 debug segfault) slaves doesn't do anything. They detects that something wrong with the master but they are doing…
Oleksandr
  • 733
  • 2
  • 10
  • 17
3
votes
1 answer

Redis spontaneously failed: "Failed opening .rdb for saving: Permission denied"

I am running redis-server (ver. 2.8.4) on Ubuntu 14.04 in Rackspace Cloud Server. The redis-server process is being run by the redis user. Early this morning, the Redis server spontaneously began failing "opening .rdb for saving." This occurred…
whusterj
  • 133
  • 1
  • 1
  • 3
3
votes
0 answers

Unsubscribe scheduled to be closed ASAP for overcoming of output buffer limits.

We're seeing error similar to the following on our redis servers since we migrated our web server (redis client) from Windows 2008 R2 to Windows 2012 R2 [2455] 27 Jun 18:15:18.029 # Client addr=192.168.33.200:62653 fd=86 name=WEB6 age=79940…
Brad
  • 619
  • 1
  • 10
  • 28
3
votes
2 answers

Sensu API not responding. Uchiwa: Connection error. Is the Sensu API running? Redis Issue

I have been setting up sensu on CentOS7.2 for the first time following the official docs over and over however I have not been able to get it to work: I cannot seem to connect to the API. Uchiwa gives the error: ALERT Datacenter site1…
ZZ9
  • 888
  • 3
  • 16
  • 47
3
votes
3 answers

Using Redis in an untrusted environment (multiple users)

I've been doing some research into Redis and the security model. My issue is that I will have numerous users using Redis as a caching layer, each for their own applications. I'm in a shared environment in which I cannot split users into their own…
zorrobyte
  • 65
  • 1
  • 5
3
votes
1 answer

Redis and Postgresql on same machine: vm.overcommit_memory=?

In the Redis documentation it clearly states that vm.overcommit_memory should be set to 1 to ensure background saving newer fails: http://redis.io/topics/faq HOWEVER In postgresql documentation it says, that vm.overcommit_memory should be set to 2…
Niels Kristian
  • 358
  • 1
  • 3
  • 13
3
votes
1 answer

Can't touch/connect to a unix socket from the same group

sudo ls -la /var/lib/redis/6379/ produces: drwxrwxr-x 2 redis redis 4096 Nov 28 23:10 . drwx-w---- 3 redis redis 4096 Nov 22 00:10 .. srwxrwx--- 1 redis redis 0 Nov 28 23:10 redis.sock Great, now sudo groups www-data produces: www-data…
Cenoc
  • 217
  • 1
  • 12
3
votes
0 answers

Using autossh to port forward redis traffic on an unstable connection

Setup 1 redis master 3 clients redis slaves(for reads) with tunnels to master for writes Each redis instance is a different server in a different location. Requirement Keep a persistent connection. When a slave disconnects be able to reconnect and…
3
votes
2 answers

Howto prevent ntopng causing out of disk space and inodes?

I've been trying the ntopng software from http://www.ntop.org/get-started/download on a CentOS box at work to monitor what is happening on our network. The problem I'm having is that I can't find any part of the software that gives an option to…
BeowulfNode42
  • 2,615
  • 2
  • 19
  • 32
3
votes
1 answer

Using Logstash as shipper?

We are shipping logs from servers and using THE logstash on each server for shipping. So we read logs from the glob "/root/Desktop/Logstash-Input/**/*_log". input { file{ path =>…