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

Close all _existing_ TCP connections on some ports using IPTables?

Say I have a quick network partition test that I'd like to run, like disconnecting two halves of a ReDiS cluster from each other, and I want to use IPTables to temporarily disconnect one group of ...
0
votes
0answers
16 views

Server migration with the shortest possible downtime [on hold]

If it was the same network and localization I'd simply do: 1. set up new server with nginx, ruby, rails and passenger 2. set up postgres data replication with new server as master 3. a) if load ...
-1
votes
0answers
8 views

Switch to Redis or use Redis as cache for mySQL [on hold]

I have been using mySQL to make an multi-platform application. I am looking upscale the app and so I am looking into noSQL alternatives. I have been getting the hang of Redis and I really like it. I ...
0
votes
2answers
411 views

Installing Redis on CentOS 6.6 final - no package available

I've added the "EPEL" repo: Loaded plugins: changelog, downloadonly, fastestmirror, presto Loading mirror speeds from cached hostfile * elrepo: repos.mia.lax-noc.com * epel: epel.gtdinternet.com * ...
0
votes
1answer
1k views

fsockopen(): unable to connect to 127.0.0.1:6379

Im running centOs 6.3, I installed redis-server via remi repository on my local machine. I can run the redis cli. But when I try to connect via php script I get fsockopen(): unable to connect to ...
0
votes
0answers
20 views

Connect to Redis on Azure VM [duplicate]

I have a new Windows 10 Azure VM (classic). I've installed Redis and can ping it locally using the redis-cli.exe API. 127.0.0.1:6379> ping PONG How do I ping this from my local machine? Do I ...
0
votes
1answer
1k views

Redis error on start: invalid bind address

I am seeing in the following in my redis log: [1398] 17 Jun 22:55:53.467 # Opening port 6379: invalid bind address When trying to start redis with service redis start. However, I confirmed that is ...
1
vote
0answers
38 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 ...
2
votes
1answer
506 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 ...
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 redis-...
1
vote
1answer
545 views

Redis GUI needed for AWS ElastiCache on an EC2 instance

I've a AWS ElastiCache Redis cluster setup that I wish to manage. Since AWS doesn't let you access ElastiCache outside the VPC, I've setup a micro EC2 instance that carried a copy of the phpRedisAdmin ...
3
votes
2answers
357 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
46 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
1answer
24 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| config....
0
votes
0answers
20 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
45 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
19 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
129 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
102 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
69 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
0answers
31 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 ...
2
votes
2answers
3k views

Redis high availability and load balancing

I'm using Redis for some time and now we want to move to a redundant cluster which would be fault tolerant, highly available and load balanced. I principally use Redis for some PHP web application ...
1
vote
1answer
184 views

How to config user_prefs (SpamAssassin) individually per user in Redis DB?

I'm going to implement mail gateway with FreeBSD 10.1. So, I installed Postfix, Amavisd, Clamav, Spamassassin, Procmail (for filtering spam from maildir to spam folder), Bayes with Redis database. I ...
0
votes
0answers
56 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 ...
5
votes
2answers
326 views

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 ...
0
votes
0answers
98 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
13 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
2answers
595 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 ~/Library/LaunchAgents/homebrew.mxcl....
0
votes
1answer
29 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
40 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 ...
6
votes
2answers
9k views

Why does redis report limit of 1024 files even after update to limits.conf?

I see this error at the top of my redis.log file: Current maximum open files is 1024. maxclients has been reduced to 4064 to compensate for low ulimit. I have followed these steps to the ...
0
votes
0answers
12 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
114 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
1answer
44 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
1answer
73 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
42 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 ...
3
votes
1answer
3k views

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 ...
0
votes
0answers
28 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
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 ...
0
votes
0answers
57 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
55 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
52 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
40 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
1answer
397 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 tests/...
0
votes
0answers
48 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
20 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 ...
1
vote
1answer
54 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
688 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 ...