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

learn more… | top users | synonyms

0
votes
1answer
15 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 ...
-2
votes
2answers
2k 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 ...
2
votes
3answers
5k views

How do I load the dump.rdb file into redis?

I have a dump.rdb file, which is in the same directory as redis.config. When I start my sever: redis-server ./redis.config It does not load the data in that 1 GB file. How do I load that data?
1
vote
0answers
22 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 ...
14
votes
3answers
6k views

SElinux: allow httpd to connect to a specific port

My system is running CentOS 6.4 with apache2.2.15. SElinux is enforcing and I'm trying to connect to a local instance of redis through my python/wsgi app. I get Error 13, Permission denied. I could ...
2
votes
0answers
21 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 ...
0
votes
1answer
47 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 ...
2
votes
0answers
52 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 ...
0
votes
1answer
52 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
1k views

Setting up multiple redis masters

In recent study, I was led to the belief that it is not possible for redis to be setup with multiple masters with each master having 2 slaves. ...
1
vote
0answers
24 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
1answer
47 views

Which server should I put my message queue on: my worker server or my application server?

I have two EC2 servers. One is the application server (serving HTTP/S requests) and one is a "worker" server processing jobs. I am wanting to move to use Huey (a task queue) which uses Redis as a ...
0
votes
1answer
42 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
982 views

Keepalived not honoring nopreempt

I'm using Keepalived to manage two Redis instances in a master/slave configuration. I'm experiencing a situation where, if Keepalived is terminated on the Master box (the one with the higher ...
0
votes
1answer
37 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
44 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
51 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
1answer
956 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
0answers
78 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
121 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
0answers
66 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 ...
0
votes
0answers
124 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
1answer
76 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 ...
2
votes
1answer
123 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
38 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
1answer
185 views

My redis' fork time is slow and impact query performance a little. What should I do to check?

I used redis with RDB option only. It used 2GB of memory. When it forked, it used about 10 seconds to completely save the file. When I check up with redis.io site, I found this latency stat: - Linux ...
3
votes
4answers
2k views

Redis won't shutdown

Most of the time when I reboot my Ubunutu server, I get "Waiting for Redis to shutdown…" over and over and it never stops until I force reboot. What could cause this? I have http://godrb.com/ ...
0
votes
1answer
82 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? ...
1
vote
1answer
653 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 ...
2
votes
1answer
2k views

How can I generate a command for start-stop-daemon that will kill the process if it doesn't term during a timeout period?

I need to run a start-stop-daemon for a redis instance and I want it to send a SIGTERM and if the redis instance doesn't quit i would like it to force a quit. The start-stop-daemon configuration says ...
0
votes
0answers
20 views

Nginx directive for redis_connect_timeout doesn't work as expected

I'm using the Nginx HttpRedis, HttpRedis2, and HttpSRCache modules so that I can use Redis for caching. This works well, but I have problems when my Redis server is unavailable. If the host itself ...
6
votes
2answers
2k views

How do I configure another instance of redis on ubuntu?

I basically want to have 2 instances of redis on Ubuntu. I looked at /etc/init.d/redis-server script and tried to create a new one (redis-server-dev) pointing to another config file (new port etc) ...
0
votes
1answer
79 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 ...
2
votes
1answer
439 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
2answers
160 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. ...
0
votes
1answer
107 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
3answers
2k views

How to install Redis with Chef?

I am trying to install Redis with Chef. I would think, it's easy, since I only want to have the default configuration. So, I add to a Berksfile: site :opscode cookbook 'apt' cookbook 'node' ...
1
vote
1answer
124 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
112 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
1answer
438 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 ...
1
vote
0answers
23 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 ...
0
votes
0answers
57 views

Access ElasticCache Redis instance within VPC from a classic instance

I have an existing AWS EC2-Classic deployment that I am seeking to add a small Redis instance to. As this only needs to be a tiny Redis instance I elected to use the t2.small size. I've since found ...
2
votes
1answer
118 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 ...
1
vote
1answer
679 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 ...
2
votes
2answers
2k 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
1answer
513 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 ...
3
votes
2answers
748 views

Redis vs Memcache

I'm a bit new to Memcache and Redis and I'm trying to understand the difference between the two and what each actually is. As has been explained to me Memcache is a database caching solution. Data ...
1
vote
1answer
3k views

Why isn't systemctl starting redis-server on CentOS 7?

I've installed redis on a new CentOS 7 box but can't start it using systemctl. It was installed like this: rpm -i http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm yum ...
0
votes
0answers
74 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 ...
1
vote
2answers
4k views

Cannot connect to Redis installed on VirtualBox running Ubuntu from Windows 7

I've setup an Ubuntu image on VirtualBox on a Windows 7 host. On the Ubuntu guest I've installed Redis which runs on port 6379 (TCP) by default. I've setup port forwarding using the VirtualBox GUI ...