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

learn more… | top users | synonyms

5
votes
1answer
487 views

Redis Sentinel does not take action when the master goes down

I am trying to setup a Redis/Sentinel setup across 3 nodes, each of them running one redis instance and a sentinel instance. However, when the master machine goes down, the remaining sentinels just ...
2
votes
1answer
49 views

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 ...
2
votes
1answer
584 views

Avoiding swap on ElastiCache Redis

We have been having ongoing trouble with our ElastiCache Redis instance swapping. Amazon seems to have some crude internal monitoring in place which notices swap usage spikes and simply restarts the ...
2
votes
1answer
240 views

Strange CPU Loading peaks on web server

I have strange, very strange peaks of CPU loading on my website. normal loading about 2-3, when i have this peaks it is about 100-150 peaks may be in any time. not depends my normal loading profile.(...
2
votes
1answer
470 views

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 ...
1
vote
1answer
61 views

Cannot set password for redis sentinel 3.2

I tried to set up redis sentinel to make it has high availability and support fail over. I begin by setup the redis replication (1 master and 2 slaves in 3 ec2-instances) And after that, i install ...
3
votes
0answers
348 views

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 ...
2
votes
0answers
63 views

Correctly Optimizing Redis for memory ussage

I'm a but of a newbie to systems admin & redis configuration and am trying to figure our how to optimize redis. We are running a Magento eCommerce app on an AWS m3.large EC2 instance with redis ...
2
votes
0answers
283 views

Why bgsave on redis make data read slower?

Bgsave command is a command to fork redis a new process and do background saving on a new core of processor. However, my 2GB data on redis (about 1 GB for RDB after save) is slowdown my data transfer ...
2
votes
0answers
294 views

Putting a NetScaler infront of Redis master failover

I have a redis-sentinel solution for master failover, I just need to setup a vserver with all the master services in the pool. Only one master can act as the master at a time, the rest are slaves ...
1
vote
0answers
117 views

Redis Master/Slave Replication - Permission denied connecting to master

I'm trying to set up master/slave replication, but the slave cannot seem to connect to the master. I have two virtual servers set up on Hyper-V running Redis 2.8.19 on CentOS 7. Both servers were ...
1
vote
0answers
88 views

Redis creates many events in logstash

I'm doing some testing for a POC with logstash. When using redis to buffer messages it appears they stay in redis and continually get added to elasticsearch as new events. For example, if I restart ...
1
vote
0answers
52 views

redis-server2 is start-stop-daemon: warning: this system is not able to track process names longer than 15 characters

So I've had the need of running 2 instances of redis in the same server. My server is an Ubuntu 14.04 box. So I followed this guide, but not in a strict way. I mean, instead of modifying redis init ...
1
vote
0answers
97 views

Redis 3.0.5 on Debian Jessie hangs on shutdown when database not in /var/lib/redis. Any ideas?

I am trying to configure redis 3.0.5 (DotDeb build) on Debian Jessie to dump the database in another directory instead of the default /var/lib/redis. I know how to do this, and in my wheezy server ...
1
vote
0answers
102 views

Redis parent process smashing disk despite appendfsync = no

We are seeing loads of IO from redis-server despite our save operations being set to occur once every 15 minutes only. The workload is a "full page cache"; we store blobs of compressed HTML. The HTML ...
1
vote
0answers
91 views

Setting up a caching system r/w in DCs across continents

We are going to implement a caching system to make our front-end servers which are located in different data centres in Asia, America and Europe can read and write some small JSON data in the shortest ...
1
vote
0answers
134 views

Redis Sentinel false failovers

I'm having problems with Redis. I have 3 servers. Each server have 10 Redises working on different port. Also, each server has one Sentinel instance. Also, there are 5 application servers. Each ...
1
vote
0answers
29 views

Redis Time() command returns an empty result

Our Redis server behaves strangely under high load. When calling the Time() command it will occasionally return an empty result (not an Exception, just empty result). Is this an expected behavior ...
1
vote
0answers
304 views

How to use Redis as a cache backend for uwsgi_cache in Nginx

I'm using Nginx with HttpUwsgiModule and i want to perform caching. I know that there is a uwsgi_cache which can be used to cache pages on the local file system. But i want to use Redis to cache pages ...
1
vote
0answers
841 views

Copied redis dump.rdb server to new server, only loads < 5 MB into memory instead of ~1 GB from previous server

I am migrating redis servers (from 2.2 to 2.6, if that's relevant), and after I do a "SAVE" on the old box and copy the file to the new box, I put it in the same location from /etc/redis/redis.conf as ...
1
vote
0answers
358 views

Trying to compile phpredis on a mac using phpize54

I installed php 5.4 using mac port. I then git cloned the phpredis repository ( https://github.com/nicolasff/phpredis ). Then, I execute these commands: phpize54 ./configure make && make ...
1
vote
0answers
208 views

Large scale custom domain support for a hosted web service

I am running a hosted platform for publishing Markdown documents. Currently I offer a subdomain per user, but the number one request right now is custom domains. My server stack is NGINX and uWSGI ...
0
votes
0answers
8 views

Redis Performance Tanks as Number of Nodes Increases

Strange problem. We have 6 nodes behind a loadbalancer. They are high-spec VPSes running Ubuntu. On a separate node we run Redis. Further nodes run MySQL. The whole LAMP setup hosts Magento. ...
0
votes
0answers
24 views

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=...
0
votes
0answers
5 views

chef-manage processes not working (redis, web and worker)

I was able to install chef-server 12 in a docker container. I was also able to access this via URL. However, to have a Management Console, it is stated that I should install chef-manage by executing ...
0
votes
0answers
7 views

All save lines are commented out in redis.conf, yet I see a repetitive persistence

I have disabled redis persistence by commenting out all save lines in /etc/redis/redis.conf file. And I've restarted my redis-server, and everything worked fine for the last two months. However ...
0
votes
0answers
70 views

Issues with Redis Cluster in Docker

I am running a Redis Cluster of 48 instances spread across 6 physical servers. These redis instances are running in docker containers. The cluster is designed as below: 1) 4 Docker containers for ...
0
votes
0answers
22 views

Can I use twemproxy for load balancing by redis queue size?

Can I use twemproxy as a load balancer for a pool of redis instances, according to size of redis queue (amount of keys per instance)? Is twemproxy able to turn off from the upstream one of the redis ...
0
votes
0answers
60 views

Redis & HAProxy - updated configuration settings?

Have gotten 2 Redis instances installed, with one being a master. That is working remarkably well and with no headaches. I'm now trying to get my HAProxy/keepalived nodes to handle some sort of ...
0
votes
0answers
36 views

Nginx - Redis Server issue

I have an Ubuntu 14.04 VPS with multiple WP sites running in Nginx (Used this tutorial: https://deliciousbrains.com/hosting-wordpress-setup-secure-virtual-server/) When enabling Redis Server somehow ...
0
votes
0answers
63 views

Why Redis Sentinel can't manage 2 master servers?

I'm trying to configure Redis to have a master in each of our two main data centers. But the second Redis master keeps being demoted to slave of the first sentinel array. My version is 3.0.5. In each ...
0
votes
0answers
160 views

How to troubleshoot redis high CPU usage? And how to limit Redis CPU usage?

We have inherited a system in which there is a central server for queuing operations. Redis is chosen as queuing agent. Once in a while (like each 2-3 days) redis service CPU usage goes even upper ...
0
votes
0answers
15 views

Appendonly.aof is too large

My redis appendonly file fills up almost 99.9% of my system hard disk. I don't want to disable it. Is there a way to get around this so I can move partial files to another location?
0
votes
0answers
18 views

Redis retention - disk and memory

I am developing an application which is using Redis. It's using entries from 5 minutes, accumulating them, and sending the results somewhere. Can I configure Redis to keep 3 GB of the entries it ...
0
votes
0answers
128 views

Redis master-slave “connection lost” error

I have two docker machines: $ docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS redis-master * virtualbox Running tcp:/...
0
votes
0answers
34 views

Redis Sentinel master not downgraded to slave immediately

I have an architecture with three Redis instances (one master and two slaves) and three Sentinel instances. In front of it there is a HaProxy. All works well until the master Redis instance goes down. ...
0
votes
0answers
63 views

How can I monitor the backlog on a Redis pubsub subscription?

As documented in an issue on Google Code, when a Redis pubsub client can't keep up with the rate at which messages are being PUBLISHed to the channel, Redis maintains an ever-growing message backlog ...
0
votes
0answers
63 views

PG, Redis, and Elasticsearch replication for 2 distant metal servers

After years of running a web app on ~15 separate VPS, I'm switching to a single physical server*. App uses 3 DBs: Postgres, Redis, and Elasticsearch, and can update to latest version on all 3. ...
0
votes
0answers
49 views

Redis unable to AUTH to Master

I was trying to do redis replication between two servers, however I got the following information in the redis log [5295] 13 Jan 12:39:30.211 * MASTER <-> SLAVE sync started [5295] 13 Jan 12:39:...
0
votes
0answers
58 views

Unable to connect to MASTER: Resource temporarily unavailable : Connecting to MASTER no:0

I'm currently working on simle active stand/by Redis clustering for query caching with Keepalived. The problem I'm facing is when I shutdown&start(restart) the host1 server for testing, it ...
0
votes
0answers
58 views

Redis Windows maxmemory not respected

We made an upgrade from redis 2.8 to 3.0.500 In the past our redis server consumed about 1-2gb of RAM, so we defined a maxmemory of 4gb. I ensured with "config get maxmemory" that anything is ...
0
votes
0answers
125 views

Setting up Redis (Windows) Master-Slave Cluster “CLUSTER IS DOWN”

I've two pc's and set up a cluster the way I describe below.- Now when It ry to set a KEY i get "CLUSTERISDOWN" but the console looks like it is running.. Master Config cluster-enabled yes ...
0
votes
0answers
491 views

Redis Multi-Master Replication

Scenario: We have two datacentres which run concurrently (both serve traffic). Each has it's own entire stack of infrastructure, so it can operate without the other being up. That said, we would ...
0
votes
0answers
106 views

Problems with the sessions and HAProxy in OpenShift

I have written an application using Kraken and deploy in OpenShift with the option of auto-scaling (use HAProxy) but this has led me two problems: 1) HAProxy constantly sends requests to the ...
0
votes
0answers
844 views

redis server does not create socket file

I'm trying to install gitlab on my apache2 server using this tutorial : http://blog.florentlim.com/how-to-install-gitlab-on-debian-7-wheezy-on-apache2-http-server/ Everything seemed to go correctly, I'...
0
votes
0answers
289 views

Unable to open redis 6379 for inbound on AWS EC2

I have two servers on EC2. One hosting my php application and other hosting my redis server. I am managing my php session and data on redis server. So on my php server I gave the ip:port as session ...
0
votes
0answers
500 views

Ubuntu server memory fills up and Redis crashes

Here's /proc/meminfo: MemTotal: 7629488 kB MemFree: 237528 kB Buffers: 70536 kB Cached: 45612 kB SwapCached: 0 kB Active: 99400 kB Inactive: ...
0
votes
0answers
55 views

VPN-tunnel renegotiation problems

I have an application running on top of Celery with redis as a broker. Redis is hosted at our datacenter but the workers are hosted on a separate line. We have setup two-way communcation between the ...
0
votes
0answers
110 views

Updating openssl to fix heartbleed bug tries to remove redis-server

I am trying to fix openssl heartbleed bug on my server. I read that I can update the openssl version with the following command: sudo apt-get install openssl libssl1.0.0 But when i try to run this ...
0
votes
0answers
697 views

Restarting redis after installing with Ansible hangs

I'm using the following playbook albeit slightly modified with a newer version of Redis: https://github.com/Kami/ansible-redis I removed the Disable obsolete init.d service and generate upstart ...