Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [redis]

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

0
votes
0answers
6 views

Redis AWS ElastiCache failing to increase NumberOfAvailabilityZones

I'm trying to change my CloudFormation template, but it fails with an error: INFO: stackname found was elas-redis INFO: creating change set elas-redis-2018-06-14-125050 INFO: waited for change set ...
0
votes
0answers
7 views

Methods to figure out maxmemory setting for redis

Does anyone have good rules of thumb for setting the maxmemory config in redis? The background on this is I believe our current maxmemory value is too small but I'm not sure how to determine the ...
0
votes
0answers
21 views

docker redis refusing connection on host

I had a docker discourse instance running on a Google compute engine using Ubuntu for a year. With no changes my discourse stopped responding with a 502 bad gateway error. I wasn't able to ssh into ...
0
votes
1answer
20 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
0answers
31 views

PHP for redis not loading

Trying to get REDIS client installed correctly for use on a debian linux install. I installed redis client with PECL. When I run PHP -m from the command line it shows that the redis client is loaded ...
0
votes
1answer
18 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 = ...
0
votes
1answer
53 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 ...
0
votes
1answer
110 views

Redis not starting on boot with systemd but works with manual start

I have installed redis on Ubuntu 16.04 according to the digialtocean guide. It uses systemd and should start on boot. I can start redis from cli sudo systemctl start redis and it works with no ...
1
vote
1answer
57 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 ...
0
votes
1answer
120 views

Kubernetes (K8S): TCP clients waiting very long timeout on connection to a Service when there are no Pods serving its requests

My problem occured when using Redis on Kubernetes, but it seems that it is not a problem with Redis itself, but with network/infrastructure. My scenario: I have a Redis Service with single Redis Pod ...
0
votes
0answers
15 views

Load ElasticSearch index (?) on Redis to eliminate downtime

I’ve been assigned to do some weird task to my opinion. Some background: Project’s infrastructure comprises by Elasticsearch cluster and an API. The API hits elasticsearch for data (plain and simple)....
0
votes
1answer
65 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 ...
0
votes
0answers
17 views

Redis sentinel 4.0.9 -->3.02 back compatibility?

I am running Redis 4.0.9 master and slave on Ubuntu 16.4. to keep sentinels odd, I run 3 sentinels on Windows server 2012R2, which can only run latest windows version 3.0.2. Is it safe to work this ...
2
votes
1answer
49 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 ...
0
votes
0answers
24 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 ...
0
votes
0answers
245 views

Redis not run with Unix Socket Enable on Centos 7 with NextCloud

I need to activate a redis cache on nextcloud server! To do this I use unix sockets (they should be more powerful)! Then when installed redis and configured in nextcloud at the start of the redis ...
0
votes
0answers
19 views

Weird slots on redis cluster

I set up a new redis cluster (v4.0.9) and i have a strange issue on one node. I have 4 masters nodes / 4 slaves and a node seems to reshard slots itself (on his point of you) without any reason. On 3 ...
-2
votes
1answer
52 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
0answers
119 views

Redis-sentinel epoch configuration

What is the meaning of congif-epoc, leader-epoch and current-epoch values in redis sentinel configuration? I could not understand reading the redis documentation. Thanks.
0
votes
0answers
23 views

RedisIO not configuring in Chef

I keep running into this stack trace when attempting to configure RedisIO via Chef: Recipe: redisio::configure * redisio_configure[redis-servers] action run ==================================...
0
votes
0answers
33 views

Allowing access to redis port only to spesific ip

I have two servers. These servers are connecting each other for mysql. So 1) Server 1 is using server 2's mysql database, so server 1 is connecting to server 2 for mysql without any problem. 2) ...
0
votes
1answer
31 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 ...
0
votes
0answers
567 views

Redis Sentinel Systemd services failing to start on Ubuntu 16.04 and CentOS 7

Having trouble getting my Redis sentinel systemd services to start. I can run sentinels manually with success -- e.g.: root@poolwc:/etc/redis# redis-sentinel ./sentinel.conf --sentinel Three redis ...
0
votes
0answers
36 views

how to inegrate redis with lemp server as object cache

using fact cgi as pagecache installed redis and redis php added the extension to PHP. redis & redis php extension working. used w3total cache for sometimes on the server to point redis as ...
-1
votes
1answer
97 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 ...
1
vote
1answer
280 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
vote
1answer
681 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: ...
0
votes
2answers
343 views

Redis fails only at startup

Redis fails to start every time I start our CentOS 7/openvas server. After the server boots up I can manually start redis without any issues using systemctl start redis.service. Below are the ...
1
vote
1answer
791 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 ...
3
votes
1answer
3k views

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 ...
0
votes
0answers
201 views

Can't access VM set up to use Host-only network with internet access

I'm trying to set up Redis (4.0.1) on a guest VM (Debian 8) with VirtualBox. My setup was working, but I have moved between networks which required me to update my configuration. To make sure I don't ...
0
votes
0answers
62 views

Redis master/slave : electing a slave to master if not found on boot

I got a Redis master slave + sentinels setup : 1 master, 2 slaves and 3 sentinels, it's use for cache so there is no data persistence. Failover works fine, but for one case: after a total shutdown if ...
0
votes
0answers
28 views

Redis config for light usage, persistent data, & small RAM footprint

I'd like to set up a small redis database for a few backend server tasks. In the past, I've left the config pretty close to the defaults. What sort of configuration might work best to keep the RAM ...
4
votes
3answers
3k 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: ...
1
vote
1answer
303 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 ...
1
vote
0answers
256 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
3answers
1k 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
1answer
144 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 ...
0
votes
0answers
9 views

How long redis slave stores backlog?

If slaves accumulate backlog to facilitate failover, when will they release backlogs in redis4.x? Do they honour repl-backlog-size?
0
votes
0answers
22 views

How to check redis-server has loaded all data from rdb with daemonize mode?

redis-server is always daemonize, I can see memory is increasing, but is there a way I can check it's done loading?
0
votes
0answers
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 ...
4
votes
0answers
121 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
2answers
53 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, ...
0
votes
1answer
255 views

heroku redis error : NOAUTH Authentication required

I wanna deploy my django project to heroku. My project uses channels so I need to set up ASGI based environment. I have two installed add-ons in heroku app. One is Heroku-postgresql and the other is ...
0
votes
1answer
80 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 ...
0
votes
1answer
210 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 ...
1
vote
1answer
1k views

Systemd: Redis server wont start when run as a service - too many levels of symbolic links

I have recently ran into the issue from the subject. I have installed Debian 9 as a webserver (with nginx, php7.0-fpm and some other stuff) and I want to use redis with my PHP installation. When ...
0
votes
0answers
362 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
1answer
107 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. ...
3
votes
1answer
8k views

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 ...