Questions tagged [redis]

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

431 questions
58
votes
7 answers

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 what to do.
Karl Morrison
  • 1,521
  • 4
  • 25
  • 42
48
votes
3 answers

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 fix this via the command: setsebool -P…
savagecitizen
  • 481
  • 1
  • 4
  • 3
45
votes
2 answers

Redis Cluster: (error) MOVED

I have a Redis cluster with the following nodes: 192.168.0.14:6379 master (slots from 0 to 16383) 192.168.0.15:6379 slave (slots from 0 to 16383) 192.168.0.16:6379 master (without slots) Documentation says that any node can redirect queries to the…
Oleksandr
  • 703
  • 2
  • 10
  • 17
17
votes
3 answers

Redis not starting with systemctl

I have installed redis on an ubuntu 16.04 machine and if I run /usr/local/bin/redis-server /etc/redis/cluster/7000/redis.conf it starts up and I can connect to it without issues. However I want to start it using systemctl start redis, so I have…
munHunger
  • 323
  • 1
  • 3
  • 9
16
votes
1 answer

Scaling Logstash (with redis/elasticsearch)

Over a cluster of over 12 centos 5.8 servers, I deployed logstash using the native logstash shipper, which sends /var/log/*/*.log back to a central logstash server. We tried using rsyslogd as the shipper, but due to a bug in rsyslogd's ImFile…
Tom O'Connor
  • 27,440
  • 10
  • 72
  • 148
16
votes
2 answers

Tips for maximizing Nginx requests/sec?

I'm building an analytics package, and project requirements state that I need to support 1 billion hits per day. Yep, "billion". In other words, no less than 12,000 hits per second sustained, and preferably some room to burst. I know I'll need…
linkedlinked
  • 446
  • 1
  • 3
  • 11
15
votes
2 answers

Avoiding swap on ElastiCache Redis

We have been having ongoing trouble with our ElastiCache Redis instance swapping. Amazon seems to have some crude internal monitoring in place which notices swap usage spikes and simply restarts the ElastiCache instance (thereby losing all our…
Josh Kupershmidt
  • 826
  • 1
  • 9
  • 9
14
votes
4 answers

Redis cluster: 3 master nodes minimum?

I'm evaluating the cluster capabilities of Redis 3 (I'm using Redis 2 standalone at the moment), so I am reading the info at http://redis.io/topics/cluster-tutorial. In this document I read a very important info: Note that the minimal cluster that…
Mat
  • 1,783
  • 4
  • 22
  • 39
14
votes
3 answers

Some Linux systems become very slow when Redis is loading a big dataset

I received a report from a Redis user, and I'm not sure what to reply as I'm not an expert in the area of Linux and its scheduler, however we (as the Redis project) need to figure this kind of issues especially in the future as with Redis Cluster…
antirez
  • 331
  • 3
  • 8
13
votes
2 answers

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 install redis Attempting to start it like this…
Zubin
  • 509
  • 1
  • 4
  • 9
12
votes
5 answers

Connect remotely to ElastiCache - Redis

We are using ElastiCache - Redis for our site, we need to flush the Redis cache and when I try to connect to my ElastiCache - Redis remotely by this command from any PC redis-cli -h example-redis-1.example.0001.euw1.cache.amazonaws.com -p 6379 It…
Farmi
  • 369
  • 1
  • 4
  • 17
12
votes
2 answers

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. I would prefer not to delete it, as I do not wish…
JeremyDWill
  • 883
  • 1
  • 7
  • 10
12
votes
3 answers

node.js, mongodb, redis, on ubuntu performance degradation in production, RAM is free, CPU 100%

As the question title suggests, I'm having an hard time to figure out what can be improved on my application(or tuned in the os, ubuntu) to achieve an acceptable performance. But first I'll explain the architecture: The front-end server is an 8 core…
Franjanko
  • 276
  • 2
  • 8
11
votes
1 answer

How to turn off 'protected-mode' in Redis?

I'd like to disable protected-mode on my production Redis. Regarding to the following error I got from my other Redis-Sentinel instance I could disable it live by connecting to Redis from the master machine it runs on. DENIED Redis is running in…
Thomas Schwärzl
  • 323
  • 1
  • 5
  • 13
11
votes
1 answer

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…
Mia
  • 111
  • 1
  • 1
  • 4
1
2 3
28 29