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

learn more… | top users | synonyms

2
votes
2answers
6k 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
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
13 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 ...
0
votes
0answers
18 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
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
29 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
953 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
26 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
30 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
43 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
566 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 ...
-3
votes
1answer
1k 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
0answers
62 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
89 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
56 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
109 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
63 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
96 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
36 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
177 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
80 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
551 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
3k 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
18 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 ...
5
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
73 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
436 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
146 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
94 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
116 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
100 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
357 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
51 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
112 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 ...
0
votes
1answer
564 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 ...
1
vote
2answers
3k 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
420 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
732 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
70 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 ...
0
votes
1answer
649 views

starting redis as a service fails on redhat 6.1

I have installed redis on a redhat 6.1 linux machine. I used the commands make make install cd utils ./install_server I used all default settings so I can start the server with the redis-server ...
1
vote
1answer
596 views

Proxy over redis, HAProxy or twemproxy?

The best way to hide switching of master/slave redis servers, is to use a proxy over master server. Among proxy candidates, there is two more important (and used) choices: twemproxy and ...
0
votes
1answer
790 views

How to send task to celery using redis pubsub with postgresql?

How do you send task to celery through redis pubsub once a new record has been inserted into a postgresql table? My problem here is to get redis to listen for inserts in my postgresql table, and when ...
0
votes
0answers
117 views

debian redis update-rc.d errors - there is a loop between redis and nginx

I tried to install redis as a service in debian 7 wheezy(redis version 7) by following the instructions from http://redis.io/topics/quickstart but after running sudo update-rc.d redis_6379 defaults ...
1
vote
1answer
444 views

FreeRADIUS and Redis Module

I am wanting to use FreeRADIUS with REDIS for authorisation and accounting. I am running FreeRADIUS 3.0.3. I note the rlm_rediswho module, which appears to be used for caching recent accounting ...
0
votes
1answer
1k views

What steps are required to ensure more than 1024 clients can connect to redis?

I require more than 1024 clients to be connected to a single redis instance at once. My redis process runs as user ubuntu. I have edited /etc/security/limits.conf to specify: ubuntu soft nofile 65535 ...