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
6 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 ...
0
votes
1answer
35 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 ...
0
votes
2answers
43 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
58 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
35 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?
0
votes
1answer
44 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
43 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
16 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
30 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
68 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
114 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 ...
0
votes
0answers
53 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 ...
0
votes
1answer
251 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
306 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
0answers
82 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
204 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
148 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
2answers
977 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
29 views

Way to test (dry-run) redis-server config

With nginx you can start the server, change the config file, and then run: nginx -t Which will tell you if the config file is valid or not before you try to restart nginx. Is there similar ...
1
vote
1answer
150 views

How can I disable an Azure Redis Cache?

I have been experimenting with the Azure Redis Cache preview, and so far, so good. However, when I am not using it, I would like to disable it so that it is not consuming memory and not accessible. ...
0
votes
1answer
99 views

Redis security using stunnel and AUTH

Im a redis newbie but want to make sure everything is setup securely as we deal with medical info. I have a few EC2 instances. One of which is a server that runs two redis instances, one for a dev ...
1
vote
1answer
2k 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 ...
1
vote
1answer
229 views

Redis server Memory Increased to 22GB and Crashed (OOM)

A redis server v2.8.4 is running on a Ubuntu 14.04 VPS with 8 GB RAM and 16 GB swap space (on SSDs). However htop shows that redis alone is taking up 22.4 G of memory! I do not think the redis ...
2
votes
1answer
689 views

Using Logstash as shipper?

We are shipping logs from servers and using THE logstash on each server for shipping. So we read logs from the glob "/root/Desktop/Logstash-Input/**/*_log". input { file{ ...
1
vote
2answers
293 views

Is installing multiple redis instances on the server a good idea?

As title says. I'm considering creating a state service farm using redis, and I'd like to handle multiple "regions" - that way, if a service goes down only a single region should be affected. This may ...
-3
votes
1answer
208 views

Bjoern is 4x faster than Nginx - how to tweak Nginx to handle Bjoern proxy_requests without performance loss? [closed]

I was trying to put Bjoern behind Nginx for easy load-balancing and DoS/DDoS attack mitigation. To my dismay I not only discovered that it drops connections like chips (it varies between 20% and 50% ...
3
votes
1answer
128 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
116 views

Maintaining a progress counter across multiple PHP worker threads using Gearman

I've set up an Amazon EC2 instance running Gearman and 10 worker threads written in PHP. I'm also utilising MySQL and Redis. For each user that signs up to my website up to 1,000 Gearman jobs are ...
1
vote
1answer
38 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
0answers
336 views

Restarting redis after installing with Ansible hangs

I'm using the following playbook albeit slightly modified with a newer version of Redis: https://github.com/Kami/ansible-redis I removed the Disable obsolete init.d service and generate upstart ...
5
votes
1answer
631 views

Redis connection issue

We are currently experiencing a lot of Redis errors with the message Unable to connect: read error on connection, trying next server We run Redis on FreeBSD using PHP Redis and we have a hard ...
1
vote
1answer
422 views

Single redis instance with local redis connections via unix socket and remote via tcp. Possible?

I have local Redis instance listening on Unix socket. Is it possible to allow remote connections to this Redis instance via TCP? Any solutions? Maybe some kind of proxying TCP <> Unix socket?
0
votes
1answer
183 views

forward Redis requests across AWS regions

I have a Redis instance running on AWS Elasticache in US-East. I have VPN servers running in Tokyo and US-East. The problem: How to allow Redis connections while VPNd to the Tokyo VPN? You can only ...
1
vote
1answer
664 views

Caching (memcache/redis) and multiple servers - best strategy

We're considering best strategy for using cache (memcache or redis based) in our application (Symfony2). It will be deployed on multiple (so far 3) separate machines with load balancing and separate ...
1
vote
1answer
131 views

For redis slave's persistence model, is there a better way other than rsync rdb from slave to master?

My redis machine's rdb size is about 1 GB. My app use redis heavily and cannot let the master handle bgsave or else, it will slow down all the system in master's machine down. So, I have to prevent ...
0
votes
0answers
125 views

How to use Redis as a cache backend for uwsgi_cache in Nginx

I'm using Nginx with HttpUwsgiModule and i want to perform caching. I know that there is a uwsgi_cache which can be used to cache pages on the local file system. But i want to use Redis to cache pages ...
1
vote
0answers
143 views

Why bgsave on redis make data read slower?

Bgsave command is a command to fork redis a new process and do background saving on a new core of processor. However, my 2GB data on redis (about 1 GB for RDB after save) is slowdown my data transfer ...
0
votes
1answer
333 views

Can I created nested discovery rules in Zabbix?

I have installed Zabbix for monitoring some machines I'm responsible for. A few hosts in this setup run multiple redis instances running on different ports and each instance has multiple databases. I ...
0
votes
1answer
143 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 ...
0
votes
2answers
199 views

Can Redis RDB corrupt?

In redis.io site, it states that RDB is less durable than AOF. Does this mean there is some possibility of database corruption, and complete data loss if power is lost during a save operation?
1
vote
2answers
382 views

Redis: Configuration Options for limiting key/value sizes?

My boss recently asserted, in conversation, that Redis supports some configuration options for controlling maximum key or key/value sizes ... so we could set some option to prevent our applications ...
7
votes
2answers
3k 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 ...
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' ...
0
votes
1answer
53 views

Redis cluster RTT

We are currently using Redis as our data store. I am making a new section where we need to rank and paginate users. So i am thinking to use Sorted set for keeping rank and userid. And Hash for keeping ...
0
votes
1answer
138 views

Nginx configure to handle request from Redis

I'm trying to configure handle request direct from nginx using redis cache, cache already added to redis the problem is to configure nginx get the cache from redis URL is like ...
1
vote
2answers
335 views

Static master in Redis replication

I'm running replicated Redis that includes a master and just one slave. My goal is to implement a replication (using Redis sentinels) in which the slave becomes master when the master goes down, but ...
0
votes
1answer
129 views

Redis 2.8 Memory efficiency make test error

I'm attempting to install Redis 2.8 but when I ran make test, it threw out an error for this: * [err]: Memory efficiency with values in range 16384 in tests/unit/memefficiency.tcl Expected ...
0
votes
1answer
77 views

Why redis instance is dropping keys

Here is my Redis graph from graphite for the past 72 hours displaying current_keys. as you may notice one instance ( green ) is dropping keys regularly, while other one is ok.. Both of them were ...
0
votes
1answer
49 views

Redis: INFO doesn't report network/bandwidth metrics?

Is there a way to get network/bandwidth metrics from a given Redis process? Something I missed in the output of the INFO command? Some patch or compile time configuration option? Or would I need to ...
3
votes
1answer
1k views

Redis sentinel + HAProxy failover

I am looking to implement a HA redis implementation using Master-Slave redis servers. The web servers will connect to these through an HAProxy instance installed on each box. The situation is easy ...