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

learn more… | top users | synonyms

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
489 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
355 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 10.22....
0
votes
0answers
451 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
101 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
105 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
121 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
773 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 ...
0
votes
1answer
128 views

Trouble while installing redis-server

So for some reason it seems that the installation of the redis-server that was serving the sidekiq on one of my machines got removed (How does that happen?). I assume this because commands like which ...
0
votes
0answers
793 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
2answers
416 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 * ...
8
votes
2answers
815 views

Troubleshooting a Redis Stall

We have several redis instances running on a server. There are also multiple web tier servers connecting to those instance that experience a stall at the same time. We had packet captures going at ...
1
vote
1answer
249 views

resdis bgsave hangs forever on windows

I recently had a data loss due to a non functional bgsave/save (it hang up giving me always the "ERR Background save already in progress" error message) This is my server section of the redis info ...
0
votes
1answer
42 views

What does it mean when a process's cpu utilization seconds does not increase even though the process is clearly running?

On a Ubuntu 12.04 system, I'm running redis. Our monitoring looks at the redis process and grabs cpu utilization out of /proc/pid/stats. Great. For tens of seconds, this number does not increase at ...
1
vote
1answer
555 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 ...
1
vote
1answer
225 views

Use in-memory database or search engine for read only to make website faster

I have an application which require doing a lot of queries for every single page which make it slower. I have tried to use cache systems (Redis) but implementation are little bit complicated and will ...
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
1answer
27 views

i need redis high availability statistics

does anyone have any real life statistics on how long they can keep a Redis instance up and running for? I know I can get Redis Sentinel to give me fail over functionality but what is should be my ...
1
vote
1answer
186 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
1answer
46 views

ElasticCache enpoint to use in code

I have provisioned ElasticCache and launched a Redis cache cluster with Enable Replication option selected in Single Availability Zone, now I see three cache nodes under cache cluster as following ...
3
votes
0answers
319 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 ...
5
votes
1answer
454 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 ...
1
vote
1answer
486 views

Moving a web application to use HAProxy, Varnish, and nginx

I currently have 4 web application servers (running on application) on Rackspace that sit behind a Load Balancer (on Rackspace). In front of the Load Balancer. The application itself makes moderate ...
7
votes
1answer
2k views

upgrading from Redis 2.8.19 to 3.0.1

I currently have installed Redis 2.8.19 but I'm looking to upgrade to the latest stable release 3.0.1. Originally I downloaded, uncompressed, and compiled 2.8.9. What is the recommended approach to ...
1
vote
0answers
133 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 ...
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 ...
0
votes
1answer
179 views

Nagios3 with check_radius.pl and check_redis.pl (conflict?)

Using Nagios3 on Ubuntu 15.04 to monitor a dozen or so CentOS, RHEL and Ubuntu hosts. Everything works just great, including the check_radius.pl plugin (3 hosts). After installing the Redis plugin (...
0
votes
1answer
863 views

Redis and “invalid expire time in setex”

We run a Python (Django) application that temporarily stores data in Redis. Sometimes though it happens that data by the time it gets to get stored in Redis is already expired and therefore setex is ...
0
votes
1answer
3k views

Installing Redis on CentOS 6.6 , yum keeps using redis-2.8.14-2.el7.x86_64 (EL7) instead of EL6

Im trying to install redis on one of my servers. but i keep getting Error: Package: redis-2.8.14-2.el7.x86_64 (epel) Requires: systemd This is due to the fact that its trying to download ...
0
votes
1answer
590 views

what could cause a not so busy redis server to close connection?

We have 17k tcp connection in CLOSING state on redis server. My understanding is that only client would initiate closing a connection, not from a redis server. So I should see 0 connection in CLOSING ...
2
votes
0answers
286 views

Using database for storing text files and images [closed]

I need to build a image/static file cache which would host maybe few hundred up to thousand static files from 1kb to ~200kb. I'd need super fast reads (I'm using redis, but it's one threaded and I'm ...
0
votes
0answers
284 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
1answer
1k views

PHP session handler using redis not work

I was sets 3 servers : 192.168.7.147:6379 <-- redis server 192.168.7.162 <-- web server 1 (using phpredis, with local devdomain jttest.com ) 192.168.7.218 <-- web server 1 (using phpredis, ...
0
votes
1answer
238 views

Using Redis for multiple Instances for session management

Hi We are in the process of implementing AWS opsworks. There will be multiple instances of PHP App Servers and one instance of mysql. We are planning to use redis and phpredis for session and data ...
7
votes
3answers
19k views

Redis installation on centos 6.5

I am trying to install Redis on centos 6.5 (x64) with following line: yum install redis But I am getting following screen: [root@NodeJs ~]# yum install redis Loaded plugins: fastestmirror Setting ...
0
votes
1answer
127 views

VPS policy states CPU usage limitations

I have found a cheap vps solution to cover my needs. Reading through the policies of the vps service, I found that they state "CPU usage should not exceed 70%". Is there a way to prevent this? I plan ...
0
votes
0answers
487 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: ...
4
votes
1answer
799 views

Redis 2.8.12 slave sync failing

I'm getting the following error when trying to sync from same version master in redis cloud: # Server started, Redis version 2.8.12 * The server is now ready to accept connections on port 6379 * ...
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 ...
1
vote
1answer
2k views

Redis/Sentinel cluster failover results in “failover-abort-not-elected master”

I have a 2 node Redis cluster set-up. [master] 192.168.56.102: Redis Master (:6379), Redis Slave (:6380), Sentinel(:26379), Sentinel#2(:26380) [rescue] 192.168.56.103: Redis Master (:6379), Redis ...
0
votes
1answer
210 views

Redis connects remote clients periodically

I have a weird problem with redis, about once every 30 minutes it disconnects every client. Log out put below. I have neither set maxclients nor does the timeout apply in this case. Any ideas? [...
0
votes
1answer
204 views

AWS per connection download limit

I want to spawn a redis slave in AWS (Sydney), which needs ~20Mbit/s to catch up on the writes of the master located in germany. Problem: I get only 8Mbit/s (1MB/s). Tried bigger instance types ...
1
vote
2answers
252 views

RHEL 6.6: redis-package for php54

Redhat Enterprise Linux Server 6 contains php54 packages, in addition to the normal php packages that ship version 5.3. Unfortunately for me, a php-redis package exists, but no php54-redis package. ...
1
vote
1answer
265 views

Redis eats up more and more memory

I am running Redis 2.8.17 on Ubuntu 14.04 and yesterday Redis started eating up all the memory until it was killed by OOM. I restarted it multiple times, restarted the server, flushed all the data, ...
0
votes
1answer
311 views

How do I enable backup(snapshot) on redis elasticache t2.medium

I was able to create a snapshots of my m1.small caches but the backup button is disabled when I select my t2.medium. Is there a way for me to enable backup of a t2.medium redis elasticache?
1
vote
1answer
2k views

Is it safe to delete redis dump and temp files from /var/lib/redis/

I don't know anything about redis and right now i have to free disk space before it fills up. I see some old redis files in /var/lib/redis/ and the file names are like dump1252.rdb dump1254.rdb ...
0
votes
1answer
333 views

Is it possible to force a specific program to use virtual memory?

Let say I have 1GB RAM Ubuntu, I need to run both memcached and redis on the same machine The usage of memcached is quite heavy (e.g. 1K read per second) and redis is less heavy (but still 10 read ...
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 ...
2
votes
1answer
234 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.(...
0
votes
1answer
2k views

redis socket file disappears after reboot?

I installed redis and I am setting it to use a socket. It works fine at the beginning but if I reboot the machine (ubuntu 14.04 via vagrant on virtualbox), Redis does not start anymore and displays ...