Questions tagged [redis]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
204 views

How can I scale a mysql database with high I/O used for queue jobs with 300 workers?

I'm currently using angular on the frontend for a dashboard that displays the progress of queue workers. On the backend, I use 50 AWS EC2 instances that each have around 6 workers and those are ...
51 votes
3 answers
130k 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
0 answers
64 views

Linux send queue is not zero, how to diagnose?

I used redis-cli to connect to redis-server, which just stuck forever. I used strace to trace the redis-cli process and found this: [root@iZ2ze0fgielr9er134vdz0Z zuoca]# strace -p 8044 strace: ...
-1 votes
1 answer
303 views

Unable to create a redis instance in google cloud

I have trouble creating a redis instance using gcloud command I think i have set thing properly. gloud init and post that i executed gcloud redis instances create redis4quote --size=1 --region=...
2 votes
1 answer
297 views

How to use redis server in Amazon Ec2 correctly

I have installed the Redis server on the Amazon EC2 instance. Redis is working fine on the server Now I want to open the port 6379 for it "Edit inbound rules" in the security group can you please tell ...
2 votes
1 answer
2k views

Limit redis connections when using PhpRedis as session store

We are using PhpRedis as a session handler for PHP sessions. Other than that, we are running a standard Apache/PHP configuration. Since we are using an external Redis-as-a-service provider, we would ...
4 votes
1 answer
13k views

Redis sentinel: force switch to another master

Context: I have 3 redis nodes, and 3 sentinels. The failover works properly. When I'm taking the master down, another master is elected. Need: I need a way to test the behavior, to make sure ...
0 votes
1 answer
4k views

redis-sentinel Docker container can't resolve master instance hostname

I'm trying to set up redis-sentinel from bitnami and I'm getting the following error: redis-sentinel_1 | nami ERROR Unable to start com.bitnami.redis-sentinel: redis-sentinel_1 | *** FATAL ...
2 votes
1 answer
342 views

Webserver error 503 Troubleshooting

I have a nice VPS with 4 cores, 180ssd, 8gb of ram. My website is a custom website, that autogenerates from a database, and on the first run it is cached in memory using redis. The issue that I am ...
0 votes
1 answer
51 views

Azure Redis Cache

Is it possible to create Azure Redis Cache using API and to create primary and secondary key by my own ( I want to create keys and then to forward these key to Redis Cache)? So basically I want to ...
0 votes
1 answer
535 views

Redis taking too much memory

I setup a Redis (version 4.0.6) sentinel cluster in two centos 6 VMs. Both master and slave Redis server has maxmemory set to 10GB and maxmemory_policy as volatile-lru. The problem is, both servers ...
2 votes
1 answer
3k 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 http://example.com/...
5 votes
1 answer
5k views

Redis: read-only slave vs fail-over slave?

I'm reading a lot of documentation around Redis network configurations, and I'm confused about how it seems the requirements in the architecture mental model I had, don't seem to map with the current ...
5 votes
1 answer
11k views

How does one close all _existing_ TCP connections on some ports using IPTables?

Say I have a quick network partition test that I'd like to run, like disconnecting two halves of a ReDiS cluster from each other, and I want to use IPTables to temporarily disconnect one group of ...
1 vote
0 answers
1k views

redis-cluster - add-node slave to existing cluster from remote machine hanging forever

I am trying to connect a cluster of 8 replicas on one address to an existing cluster on another address. The replica servers are all running in cluster mode. When I try to do either: ./redis-trib....
8 votes
1 answer
19k views

Redis appendonly.aof file size out of control

I host a Rails 5 website that uses Sidekiq to manage its background jobs. The problem I have is that regularly the appendonly.aof file grows to big that it fills that whole disk where it is saved. ...
0 votes
0 answers
945 views

redis not following redis.conf settings

I am running redis server and have set the dir to /var/lib/redis and dbfilename to dump.rdb in the redis.conf file but i notice redis starts to produce these errors below 120844:C 23 Sep 02:59:31.098 ...
0 votes
1 answer
1k views

unable to connect to redis using gcp external ip

I followed the following instructions and installed a redis-server on gcp. https://cloud.google.com/community/tutorials/setting-up-redis I set the firewall so that port 6379 is open to all ip (0.0.0....
0 votes
1 answer
670 views

Starting Redis in systemd with Auth

Does anyone know how to pass the auth to redis "when it is started in systemd." You have to use a custom init script here. Mine is the following: [Unit] Description = Redis In-Memory Store After = ...
9 votes
4 answers
28k 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 letter (...
15 votes
2 answers
15k views

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 ...
0 votes
1 answer
567 views

Caching with Redis on a Parse Server

I'm on a 2.6.3 Parse Server and I need to cache the results of queries, to speed things up! I understand that Parse Server offers a Redis adapter. What exactly do I have to do, in order to start ...
1 vote
1 answer
2k views

Is it possible to have a Cloudwatch alarm of the 'free memory' of a ElastiCache Redis cluster?

I'm looking to set up a cloudwatch alarm on a Redis cluster in ElastiCache rather than each individual node. Is this possible in cloudwatch? so far I've only found ways to set alarms on each ...
15 votes
4 answers
41k views

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 ...
0 votes
1 answer
310 views

Can AWS ElastiCache instance fail during a manual/automated backup?

I have an AWS ElastiCache instance running at around 85% memory capacity. Before scaling to a bigger instance, I would like to take a manual backup and test a few things out. Failure of this node is ...
2 votes
1 answer
230 views

/tmp directory is not cleaned on live server

Laravel: 5.5 Horizon: 1.2.3 php: 7.2 ubuntu: 16.04, LAMP I don't know if this issue is related to redis server of horizon, but what I'm sure that this happens. When using database driver the /tmp ...
2 votes
1 answer
3k views

Installer for Redis Sentinel on Ubuntu 16.04 LTS

I've installed Redis server v=4.0.6 on Ubuntu 16.04 LTS from Chris Lea's PPA. It works great and I set up 2 Slaves. All is good. -- Now I want to install and configure Redis Sentinel, but I can't ...
0 votes
0 answers
93 views

Use redis with externally hosted Mysql

I have an Apache2 (aws ec2) based server and just installed Redis However when I try to start Redis I get the below error and not sure how to fix it so that Redis can be started? I believe it is ...
1 vote
1 answer
3k views

HAProxy for Redis Sentinel: want BACKUP, not DOWN

I configured an HAProxy service for my Redis Cluster installation (3 nodes with Redis Sentinel managing the master delegation) and it works good: clients are redirected only to the master node and ...
0 votes
1 answer
1k views

Aws Redis clustered session managment not working

We are running php7 with nginx in aws ELB and handling sessions in AWS clustered redis, but session is not storing in AWS redis clustered.. Sometime it works but most time it not working. in php.ini ...
-2 votes
1 answer
1k views

MUltiple App Instances To One Remote Redis Server

I need to setup 4 locations / servers that all run one instance of an app. Traffic will be fed through a load balancer and directed to the closest node depending on location. The problem I am running ...
0 votes
1 answer
891 views

PHP 1.5m session files. Size on disk greater than actual content. Should I go Redis?

I noticed my PHP sessions folder is filled with millions of files with the same session data. For example let's assume its a 48 byte long string, content remains the same. Let's assume there are ...
1 vote
1 answer
2k views

Redis Client not connecting to Redis server via HAProxy

I'm facing an issue while connecting to Redis server via HAProxy using Jedis as a redis client. Everything works fine when Redis server is directly connected to but, the same is not working via ...
-1 votes
1 answer
799 views

Are thousands of expired keys bad on performance for Redis?

I'm new to Redis, so I don't know which metrics I should care about and how to monitor its healthiness and responsiveness. My colleagues and I are maintaining a software, which uses Redis heavily for ...
5 votes
3 answers
9k views

AWS Redis Encryption in-transit + TLS EC2 Connection

I'm already using AWS Elasticache Redis but without "Encryption in-transit". I've created a new small/temp cluster with this Encryption Enabled but I can't connect to it - redis-cli error: ...
7 votes
1 answer
12k views

How can you link nodes in a redis cluster via hostname instead of ip?

Redis cluster requires that all nodes can see each other to chatter; to accommodate some trivial situations (eg. docker with all nodes publicly exposed) some additional config options are available: ...
3 votes
2 answers
4k views

Why Redis slaves don't take over the master after master fail in Redis Cluster?

I have a Redis Cluster with 2 masters and 4 slaves (2 slaves for each master). After I manually crash a master (i.e. redis-cli -p 6379 debug segfault) slaves doesn't do anything. They detects that ...
4 votes
2 answers
22k 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 ...
3 votes
0 answers
1k views

Redis - Manual failover works but Automatic doesnt

I have a node Redis cluser with 1 master and 2 slaves. Sentinel is running on all of them. master 172.29.245.6 slave1 172.29.240.163 slave2 172.29.225.104 With my master up, this is the status of my ...
0 votes
1 answer
427 views

Is there a newer version of the module php5-redis for ubuntu 16.04?

I installed owncloud (v 10.0.3.3) in my server (Ubuntu 16.04) and I try to resolve an warning I get about: Transactional file locking should be configured to use memory-based locking, not the ...
2 votes
3 answers
5k views

One liner to check if specific port(s) is/are open

Redis Quick Start states: Make sure the port Redis uses to listen for connections (by default 6379 and additionally 16379 if you run Redis in cluster mode, plus 26379 for Sentinel) is firewalled, ...
0 votes
0 answers
8 views

Recommendation for disk size for GitLab, PostgreSQL and Redis containers [duplicate]

At present, GitLab is running as an omnibus docker (includes both postgres and redis as part of single container) and the size of data directory is 500 MB after 2 months of usage. We have around 70 ...
0 votes
3 answers
5k views

Installing Redis on CentOS 6.6 final - no package available

I've added the "EPEL" repo: Loaded plugins: changelog, downloadonly, fastestmirror, presto Loading mirror speeds from cached hostfile * elrepo: repos.mia.lax-noc.com * epel: epel.gtdinternet.com * ...
4 votes
0 answers
721 views

AWS ElastiCache Redis - Why has SwapUsage slowly climbed just over 100MB dispite having FreeableMemory available?

Starting around 7/28/2017 the SwapUsage started to climb for reasons I cannot figure out. I have spent many hours Googling and reading AWS documentation. At no point do we run out of FreeableMemory. ...
0 votes
2 answers
122 views

Open up MySQL, Redis etc. only to certain other servers?

Many server applications like MySQL or Redis are by default only accessible by localhost, having a config line like bind 127.0.0.1. If you want to connect remotely, you have to remove this line. Now, ...
1 vote
3 answers
6k views

Redis & HAProxy - updated configuration settings?

Have gotten 2 Redis instances installed, with one being a master. That is working remarkably well and with no headaches. I'm now trying to get my HAProxy/keepalived nodes to handle some sort of ...
0 votes
1 answer
798 views

Redis-cluster Master consumes more memory than expected

I am running this redis cluster implementation in kubernetes: https://github.com/sobotklp/kubernetes-redis-cluster After some time running the master starts consuming more and more memory. It gets ...
5 votes
2 answers
4k 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
0 answers
2k views

redis-server process keeps restarting when killed on macOS

I am trying to kill the redis-server process on macOS. Whenever I kill it or shut it down, it restarts under a different process id. I've tried killing it three ways: redis-cli shutdown sudo kill [...
-2 votes
1 answer
831 views

Freshly installed redis not responding? [closed]

I had to install a very old redis-server on a very old Ubuntu server and used the package manager for it. However, after installing and starting the server, I do not get any response but timeouts. ...

1
3 4
5
6 7
9