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
103 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 ...
4
votes
1answer
1k 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
279 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 ...
3
votes
1answer
7k 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
743 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 ...
3
votes
1answer
2k 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{ ...
2
votes
2answers
2k 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
709 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% ...
5
votes
2answers
311 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 ...
1
vote
1answer
62 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
672 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 ...
6
votes
1answer
1k 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
1k 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
553 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
1k 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
345 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 ...
1
vote
0answers
288 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 ...
2
votes
0answers
273 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
562 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 ...
1
vote
1answer
309 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
740 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
894 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 ...
23
votes
3answers
18k 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
3answers
4k 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
90 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
362 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 ...
2
votes
2answers
514 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
213 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
189 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
73 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
3k 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 ...
1
vote
1answer
1k views

redis: setting 'maxclients' on the fly

How do you set maxclients to X in redis? I know that it should look something like this: config set maxclients X but I keep getting the follow errors (error) ERR Unsupported CONFIG parameter: ...
0
votes
1answer
242 views

How does LogStash handle Redis input restart?

I have Redis v2.4.5 configured as an input for LogStash v1.2.1 When Redis restarts, LogStash continues to keep an open connection (according to netstat), but no longer reads messages from the list. ...
0
votes
1answer
2k views

Default Time To Live (TTL) on AWS Elasticache Redis implementation

What is the default Time To Live (TTL) in the AWS Elasticache Redis Implementation? I figured I could get it from the redis-cli, but looks like it doesn't support the CONFIG GET * syntax generally ...
1
vote
1answer
233 views

What's the default username and password for the VM Depot “Redis Server 2.6.9 Ubuntu 12.04 LTS”?

I've got this server running on a local Hyper-V host, but can't log in because I don't know the username and password for it. http://vmdepot.msopentech.com/Vhd/Show?vhdId=147&version=254 I set ...
0
votes
2answers
436 views

Permissions error trying to dump Redis to a Vagrant shared folder

I keep getting a permissions error when trying to dump the Redis .rdb file to my vagrant shared folder. The saves are working fine when going to the default /var/lib/redis location. A few things I've ...
5
votes
1answer
5k 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
824 views

Copied redis dump.rdb server to new server, only loads < 5 MB into memory instead of ~1 GB from previous server

I am migrating redis servers (from 2.2 to 2.6, if that's relevant), and after I do a "SAVE" on the old box and copy the file to the new box, I put it in the same location from /etc/redis/redis.conf as ...
2
votes
3answers
3k views

redis “No route to host” when pinging a remote redis host

I'm in the process of setting up a Resque server and am having to setup Redis for the first time. When using redis-cli to ping the remote server I get a "No route to host" error, however when I ...
0
votes
1answer
229 views

celery tasks from one domain appear on another domain's django admin hosted on the same box

I have a rather funny problem that I didn't manage to find it elsewhere. I have 2 django-celery projects running with redis on 2 different domains, but apparently hosted on the same box. I don't have ...
-1
votes
1answer
62 views

Redis specific protocol

I was reading the redis documentation: http://redis.io/topics/quickstart And I come across this line "External programs talk to Redis using a TCP socket and a Redis specific protocol." TCP is the ...
2
votes
0answers
281 views

Putting a NetScaler infront of Redis master failover

I have a redis-sentinel solution for master failover, I just need to setup a vserver with all the master services in the pool. Only one master can act as the master at a time, the rest are slaves ...
1
vote
0answers
350 views

Trying to compile phpredis on a mac using phpize54

I installed php 5.4 using mac port. I then git cloned the phpredis repository ( https://github.com/nicolasff/phpredis ). Then, I execute these commands: phpize54 ./configure make && make ...
1
vote
1answer
235 views

HA for Resque & Redis

Trying to avoid SPOFs for Resque and Redis. Ultimately the client is going to be PHP via (https://github.com/chrisboulton/php-resque). After going through and finding some workable HA for ...
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 ...
0
votes
1answer
2k views

Production redis server has 100% cpu usage

My production redis server has gone mad and has been hogging up 100% of CPU usage. I have done everything that I can from upgrading redis server to restarting the machine. I can't figure out what's ...
0
votes
1answer
805 views

How to install Redis - executables missing after make

Trying to install Redis on Ubuntu 12.04.2 LTS. I ran the steps from the website: wget http://download.redis.io/redis-stable.tar.gz tar xvzf redis-stable.tar.gz cd redis-stable make And then: sudo ...
-1
votes
1answer
186 views

What type of amazon ec2 instance should i take ? And how many of them? [duplicate]

I will be hosting a website . Our initial target will be around 50,000 unique visitors a day . Files are served using apache/php and the realtime events (likes,comments) are handled using a nodejs ...
1
vote
1answer
193 views

REDIS connection environment variable

I have an application server that is connecting to an external redis server for pub/sub, I am currently using a redis python library, when I connect using the library it assumes the redis server is ...
0
votes
1answer
585 views

Getting a connect timed out error when using HttpRedis and eval modules for NGiNX

I am trying to catch the value from Redis. So that I can echo it via a variable. This is why I am using eval block. But for some reason I am getting errors. I don't get any config errors when I ...