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

learn more… | top users | synonyms

0
votes
0answers
28 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
11 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
31 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 ...
2
votes
1answer
16 views

redis: enable a disabled command at run time

This is a production instance of redis 2.8.13 on centos. In our redis.conf, we have this: rename-command CONFIG "" And now.... we want to run the latency monitor which requires that we use the ...
0
votes
1answer
85 views

Debian 8.4 jessie set open files limit for redis user

When starting redis 3.0.6 (installed from jessie-backports) under Debian 8.4 jessie, I get the following warning/error: 18127:M 13 Apr 15:12:38.730 # You requested maxclients of 10000 requiring at ...
1
vote
0answers
70 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
33 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 ...
0
votes
1answer
23 views

AWS: By what IP address should I reference on an EC2 instance where is running Redis?

I have 2 EC2 instances - on one is the production app, on the other one is Redis. I connect from the first one to Redis. This is how I set Sidekiq: Sidekiq.configure_server do |config| ...
1
vote
2answers
195 views

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 ...
0
votes
0answers
30 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
37 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
51 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
11 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
1answer
28 views

Managing sudden peak in traffic for event ticketing system

I am going to be managing an event ticketing system for a specific event. I think we will probably be expecting generally low traffic, although there's likely to be a few sudden peaks of traffic (to ...
1
vote
0answers
30 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 ...
0
votes
0answers
11 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
93 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 ...
0
votes
1answer
56 views

How do i measure redis replication delay?

Which of these can be considered to monitor replication delay ? Redis_master_repl_offset, Redis_master_last_io_seconds_ago , Redis_slave_repl_offset
2
votes
1answer
39 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 ...
0
votes
1answer
34 views

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 ...
0
votes
0answers
23 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
47 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
47 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
37 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 ...
0
votes
1answer
311 views

Redis installation “make test” errors

I am getting the following errors when running a "make test" for Redis 2.8 installation on CentOS 6.7: *** [err]: Test replication partial resync: ok psync (diskless: no, reconnect: 1) in ...
0
votes
0answers
46 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
42 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
1answer
18 views

// , Can I change the MASTERAUTH value on a running Redis instance in a Redis Cluster?

// , According to http://redis.io/topics/security, I can set a requirepass value, for example, requirepass foobared, in the Redis configuration files. However, I don't want this in my configuration ...
0
votes
0answers
90 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 ...
1
vote
0answers
88 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
1answer
51 views

Limit redis connections when using PhpRedis as session store

We are using PhpRedis as a session handler for PHP sessions. Other than that, we are running a standard Apache/PHP configuration. Since we are using an external Redis-as-a-service provider, we would ...
3
votes
2answers
643 views

Redis: Error moving temp DB file on the final destination: Operation not permitted

I have a nodeBB install which relies on Redis as the data store. Its just a test install at the moment while I iron out any problems. The Redis instance stayed up for a few days but then fell over ...
1
vote
1answer
84 views

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 ...
0
votes
1answer
279 views

Connect remotely to ElastiCache - Redis

We are using ElastiCache - Redis for our site, we need to flush the Redis cache and when I try to connect to my ElastiCache - Redis remotely by this command from any PC redis-cli -h ...
0
votes
1answer
47 views

Redis - Master - Master Sync without sharding

I'm currently using redis in a master -slave scenario. In my case i use redis as some kind of CacheBus and I want ot eliminate the single point of failure (if the master server goes down) Is there a ...
0
votes
2answers
612 views

Redis fails to start on OpenSuse Leap 42.1 after upgrade

I decided to upgrade a machine running 13.2 to the latest Leap 42.1. I started the process and it did the upgrade. After the reboot everything is working except for the redis server service. I can't ...
2
votes
0answers
56 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 ...
0
votes
2answers
463 views

Starting Redis as a service on OS X with Homebrew

I installed Redis via brew install redis and attempted to add it as a service via: ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents launchctl load ...
1
vote
1answer
1k views

How to run multiple redis instances with systemd

I recently moved to Debian 8 "Jessie" which now use systemd and I can't find a way to run multiple redis instances. I found out there is a /lib/systemd/system/redis-server.service file to start ...
0
votes
1answer
738 views

How to stop celery worker?

I am running celery via redis. I start my worker like this: celery multi start worker1 -A mypackage.tasks.tasks celery multi v3.1.18 (Cipater) > Starting nodes... > ...
2
votes
1answer
469 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 ...
0
votes
1answer
62 views

How can I start redis on RedHat RHEL 6?

I followed the instructions for installing redis from here. I also ran: make test and all the tests passed. Then: make install and that appears to have worked. I've done all this as root. But ...
0
votes
2answers
3k views

Redis (error) NOAUTH Authentication required

I get the error: (error) NOAUTH Authentication required. When in redis-cli and trying to display the KEYS *. I've only set a requirepass not an auth afaiac. I'm in the redis.conf but do not know ...
1
vote
2answers
470 views

Create a cron job to run redis every 30 minutes if it is not running

I want to create a cron job that will run redis every 30 minutes if it is not already running, but I don't know what I should do. I know that the beginning should look like this */30 * * * */<some ...
1
vote
2answers
320 views

Redis Sentinel Configuration and Hostnames

I have 2 sentineles and 2 redis servers. I want to configure sentinels using hostnames of redis servers. Currently, I define each hostname in hosts file like this. 10.22.20.156 clsupport1 ...
0
votes
0answers
386 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 ...
1
vote
0answers
92 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 ...
0
votes
0answers
99 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
1answer
108 views

Redis memory usage impact on performance

While performing health checks of a Redis 2.8.19 setup running on an 30GB Ubuntu Server 14.04 LTS, I noticed that Linux memory usage was split as follows: Used memory : 10GB Cached Memory : 10GB ...
1
vote
1answer
696 views

How can I add rule to iptables on ubuntu to enable redis on local ip but not external

I've followed the various scripts to set up 2 linode machines. Both have an external and local Ip. On one I have installed redis, and I want to connect to this machine via the local ip. Which rules ...