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
12 views

Nginx & PHP - Different caching for a different location on the same domain (multiple web apps different cache)

Recently, I have multiple web applications on my domain at my dedicated server. Domain www.example.com - which has WordPress on parent/top (main) location and custom PHP web applications located ...
0
votes
0answers
7 views

Redis cluster setup using sentinel - How to extend the same sentinels for other clusters(master - slaves)

We're working on providing Redis as a service and would like to know if I can extend same Sentinels to multiple clusters(masters and slaves of other applications). Can anyone of you help pelase?
1
vote
1answer
63 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 ...
0
votes
0answers
19 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....
0
votes
0answers
26 views

Redis Sentinel not respecting announce-ip option

I am attempting to create a redis-sentinel cluster using docker-compose on my system and have it visible to the host machine (this is to try and replicate an application that is going to use redis-...
0
votes
0answers
11 views

Missing php-redis repository in docker debian stretch image

I'm missing the repository that includes the php-redis package. Inside my debian 9/stretch docker container I run the following: root@dcc82d674095 [19:36:46] [/var/www/html] -> # apt-get install ...
0
votes
0answers
37 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
0answers
15 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
12 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
43 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
21 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
114 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
44 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
86 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
203 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
94 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
251 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
75 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
19 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
50 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
27 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
304 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
23 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
72 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
152 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
27 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
44 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
35 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
687 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
45 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
109 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
342 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 ...
2
votes
1answer
982 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
421 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
977 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
2answers
5k 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
212 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
64 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
30 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
366 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
315 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
2k 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
164 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
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
141 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
56 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
299 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
96 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 ...