Questions tagged [redis]
Redis is an open source, highly-scalable key-value store, commonly referred to as a "NoSQL database."
447
questions
0
votes
0
answers
15
views
Deploy a Redis cluster in Kubernetes with High Availability
I am looking at deploying a Redis cluster (3masters, 3workers/slaves) on Kubernetes.
I found the Redis Operator as being the best option but the “capability level” doesn’t look that attractive to me.
...
0
votes
0
answers
16
views
Redis Conf symlinks problems
Is there any way that I can set up a symlink to /etc/redis.conf to a different location than /etc/redis/redis.conf and work? Let's say I have the file in my local directory, and instead of copying the ...
0
votes
0
answers
50
views
Unable to cURL into redis
I'm getting a connection refused error on port 9443. redis-server is definitely running, version 7.2.4. I'm not finding any other configuration I need to be setting up. It's not using the docker image....
0
votes
0
answers
42
views
[name=Redis, majorVersion=6]; user must register resolver or explicitly set 'hibernate.dialect'
I have asked this question in stackoverflow already, but I think the question is more suitable here. Sorry for cross-posting.
After successfully creating datasource for redis in wildfly, I am now ...
1
vote
0
answers
107
views
Issue with DNS Resolution in Celery/Redis on Debian 12 - VPS Provider Specific
I'm facing a peculiar issue with DNS resolution in a Celery/Redis setup on some Debian 12 installations. It seems that the problem might also relate to the VPS network settings. I'm at a loss and ...
0
votes
0
answers
40
views
Kubernetes Load Balancing with Redis Cluster and microservices
I have the following scenario:
N kubernetes Nodes
A redis cluster with N instances, each node has a single instance
There are requests coming into the nodes in a round-robin format
After the requests, ...
1
vote
1
answer
140
views
Rspamd + Redis: Is it necessary to persist Redis database? If yes, how?
I am using rspamd and I have enabled Redis. To my understandind Redis is an in-memory key-value cache for volatile data. However, the rspamd documentation says that the Baysian classifier module uses ...
0
votes
0
answers
79
views
Cerbot for both NGINX and Redis
I'm running ubuntu with both NGINX (443) and Redis (6379) ports exposed separately on the same machine,
I want them both to use TLS and for that I'm using Cerbot.
From time to time Cerbot ...
0
votes
0
answers
319
views
redis in docker Permission denied
docker run -d --name=Redis \
--restart=always \
--network=host \
-v /usr/local/redis:/redis \
-v /usr/local/pki:/pki \
-u redis:redis \
redis:7.2.1 \
redis-server /redis/redis.conf
log is
Opening the ...
0
votes
0
answers
86
views
Redis - Unable to Authenticate
I have been trying to set up an Authelia instance for the last week or so and keep running into an issue where it won't authenticate to the Redis instance (both in Docker). I suspected it was because ...
1
vote
0
answers
96
views
How to export Azure REDIS data to BLOB storage with a Automation Runbook?
I'm struggling with setting up a runbook that overnight exports my REDIS Premium data to a BLOB container. This might be due to my lack of Powershell experience.
So far I came up with this:
# Ensures ...
0
votes
1
answer
1k
views
Installing redis 7.0 from remi-modular repo
This might be blatantly obvious, but I cannot install a package from the remi-modular repository, despite having added the repo file in the /etc/yum.repos.d/ and validating it.
I have attempted ...
0
votes
0
answers
89
views
Having two datacenters with two virtual servers at each, what is the suitable redis topology for high availability?
I have two data centers, A and B, which has two virtual servers at each site. We have connectivity between the two sites. I'm planning to deploy one redis HA cluster with two masters and two slaves. ...
0
votes
1
answer
407
views
Unable to set activedefrag yes in Redis server
I have a Redis cluster that is constantly at a memory fragmentation ratio of about 2.
I was trying to enable activedefrag by running CONFIG SET activedefrag yes in redis-cli, but I received the error ...
0
votes
2
answers
704
views
Redis Stack Server - Cannot Change Data Dir (Docker/Kubernetes)
I am trying to get redis up and running in a Kubernetes environment. I’ve done many tutorials, read the documentation, etc. etc. I need to have the .rdb file and the .aof file(s) saved in a Persistent ...
9
votes
4
answers
9k
views
How to install and configure Redis server on Amazon Linux 2023 (AL2023)?
Amazon Linux 2023 is loosely based on Fedora 34, 35 and 36 as per aws:
https://docs.aws.amazon.com/linux/al2023/ug/relationship-to-fedora.html
However redis package is not available in AL2023, instead ...
-1
votes
1
answer
35
views
why shell discard my string of variable
[root@es01 ~]# redis-cli -h IP_ADDRESS -p 6380 -a admin info 2>/dev/null|grep config_file|cut -d: -f2
/opt/redis/7.0.5/cluster/redis-6380.conf
[root@es01 ~]# cat $(redis-cli -h IP_ADDRESS -p ...
0
votes
0
answers
245
views
Poor server performance on Linux Ubuntu 20.04 with PHP-FPM, MySQL, and Redis Server installed
My client’s server has recently started having performance issues. The single website hosted on the server loads very slowly. It is built with WordPress using a custom theme. There are a minimum ...
1
vote
1
answer
752
views
Redis Sentinel with TLS - how to get node FQDN rather than IP?
This may be a Serverfault or a Stack Overflow question, I'm not sure yet:
I've set up a simple three node Redis system with a master and two replica nodes, managing failover with Redis Sentinel. Redis ...
0
votes
1
answer
194
views
Connect Redis Unix Domain Socket to Django
I have a Django website running via nginx under user www-data and gunicorn under user myuser bound at /run/gunicorn.sock.
nginx works just fine; it acts as a proxy to the gunicorn Unix domain socket. ...
0
votes
1
answer
112
views
Getting command failed: NO_PY2=1
Sorry if its trivial question. I do not have experience with linux terminal.
I am trying to install RedisJSON on ubuntu 22 on Windows.
https://redis.io/docs/stack/json/#build-from-source
When I run ...
0
votes
0
answers
548
views
Migrating Redis data from old cluster to another cluster
I've got 2 redis cluster, and I wish to move a lot of data from old cluster to new cluster.
I've write a script using redis-cli and MIGRATE command.
It success at about first 20 keys, then it start ...
2
votes
1
answer
2k
views
Cannot kill redis server. It restarts every time I kill it
I cannot kill redis-server no matter how many times I've tried.
ps -ef | grep redis-server gives
root 10592 1 0 01:10 ? 00:00:00 /snap/redis/658/usr/bin/redis-server *:6379
root ...
1
vote
1
answer
376
views
keydb active-replica multi-master php session storage
I'm looking to use keydb/redis for php session storage in a HA setup. Currently, I have two keydb instances running with the following config:
Instance 1 (192.168.2.10)
requirepass pass123
masterauth ...
0
votes
0
answers
440
views
Heroku Redis upgrade from free to paid stuck in "preparing (plan upgrade in progress)"
I'm trying to upgrade Heroku Redis from the free hobby plan to a paid version but it seems eternally stuck in in "preparing (plan upgrade in progress)".
What's the best way to deal with this?...
0
votes
1
answer
91
views
Is it possible to have a Cloudwatch alarm of the specific events of a ElastiCache Redis cluster?
I need some solution to get cloudwatch alarm notification for specific elasticache events like '''ElastiCache:CacheNodeReplaceStarted''', '''ElastiCache:RemoveCacheNodeComplete'''.
I know we can ...
1
vote
1
answer
260
views
Re-enabling commands in a cluster environment
we are running Redis as a container in a Kubernetes cluster (v1.21.14-gke.3000) where it is installed via Helm. Helm uses the Bitnami image, which disables the FLUSHALL command. As with this article,...
0
votes
1
answer
2k
views
redis-server takes a long time to load in memory the dataset at boot
My Linux distribution uses the redis database.
At boot the redis-server needs about 80 seconds to load the dataset. The following is a log that shows what I have written:
redis-server[249]: 249:M 17 ...
4
votes
2
answers
4k
views
Redis cannot bind a specific ip address?
I'm new to redis, but I want to set one up on my Raspberry Pi 4 (RP) for using it in a Django application (with celery).
On my RP I have installed a firewall, ufw, and allowed incomming traffic from ...
0
votes
0
answers
606
views
redis-server does not start when parsed path to configfile
I'm having a Raspberry Pi 4, which I want to run a redis-server (v.5) on (used for Celery in a Django application).
The issue is, I can't get access to the redis server from my computer (they are on ...
1
vote
2
answers
5k
views
Redis failing to create unix socket
I am trying to set redis up to use a Unix Socket.
I am using the stock Debian installation /etc/redis/redis.conf except with the following additions at the end of the file, based on this info:
# ...
1
vote
1
answer
2k
views
Redis Server Refuses All Connections Via Unix Socket
I am running Ubuntu server 20.04 LAMP, with Redis 5.0.7.
Problem:
When a unix socket has been configured with port 0 Redis refuses all connections.
basic /etc/redis/redis.conf:
# create a unix domain ...
1
vote
1
answer
1k
views
How to properly proxy redis behind HAProxy?
I am configuring HAproxy and would love using with Redis, my configuration is fairly simple:
global
maxconn 50000
defaults
timeout connect 10s
timeout client 30s
timeout server 30s
...
2
votes
1
answer
5k
views
redis sentinels with docker-compose
so I have this kind of docker-compose
version: '3.8'
x-base: &base
image: redis:latest
x-base-sen: &base-sen
image: redis:latest
command: redis-sentinel /sentinel/sentinel.conf --...
0
votes
1
answer
250
views
Redis failed every few hours
I have a problem in redis, Each 18-30 hour it failed and I should restart it manually to run it again.
Our server have 1 wordpress website.
Redis version: 5.0.3
OS: CentOS Linux release 8.3.2011
...
0
votes
0
answers
461
views
Redis persistent installation with more data than RAM
I'm new to Redis, but lately they've started to promote the idea of using Redis as a general purpose persistent db, instead of mainly for cache. I think this would be a good fit for an app I want to ...
0
votes
1
answer
350
views
Redis on AWS task
I have an API that have some heavy processing endpoints. To avoid problems, I created a queue system using redis.
Now I put this API into a docker, and I'm using ECS to deploy service that creates a ...
0
votes
0
answers
1k
views
Docker isn't fowarding port to redis
I'm trying to run redis in a docker container on AmazonLinux, and I can't for the life of me get it to forward the port. It starts as it should and appears to be working, but there is no process ...
3
votes
1
answer
6k
views
Redis inside Docker Compose Permission Denied for RDB file Crontab
Hi I have following docker-compose.yaml file.
version: "3.9"
volumes:
local_postgres_data2: {}
local_postgres_data_backups2: {}
services:
postgres:
image: postgres
...
0
votes
1
answer
884
views
My Node.js droplet can't connect to DigitalOcean Managed redis
I have a Parse Server (which is a Node.js server basically) and I'm trying to connect to a redis database, which is hosted on DigitalOcean Managed Databases. Both servers are on the same VPC network ...
0
votes
0
answers
236
views
How to cluster Redis service
Imagine 6 servers running Redis on all of them:
192.168.10.1
192.168.10.2
192.168.10.3
192.168.10.4
192.168.10.5
192.168.10.6
They have divided into 2 site:
Site 1
192.168.10.1
192.168.10.2
192.168....
0
votes
1
answer
189
views
Change Redis Sentinel offered port
I have set up three Redis servers using Bitnami Docker images.
Both plain and TLS ports have been configured for Redis and Sentinel.
How does Sentinel determine which Redis Master port (TLS or plain) ...
1
vote
0
answers
76
views
Allowing untrusted clients read-only replication of public data in a redis instance?
I've got a database of publicly auditable votes, updated in real time in a redis instance. Nothing else is in that redis instance. It has been separated from related data in a second redis instance. ...
2
votes
0
answers
42
views
Server Connection Issue - With OK CPU/RAM
Recently we had an occurrence where we were unable to connect to mutliple masters on our Redis cluster.
Connections from our code base were timing out. We were also unable to SSH into the box during ...
0
votes
0
answers
94
views
Increased TTFB in HTTP load balance
We have our own rack in Amsterdam, Leaseweb.
We do HTTP load balance (via Cloudflare) with 3 Windows 2019 IIS servers:
Server 1: Bare-metal supermicro server. Runs IIS, MySQL8, and Redis.
Server 2: ...
0
votes
0
answers
657
views
PHP7.4 redis issue
I just updated php7.4-redis in ubuntu 18.04 server. After I get everywhere:
PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/lib/php/20190902/redis.so (/usr/lib/php/...
0
votes
1
answer
157
views
Which host of redis in config, if running in the same k8 cluster?
I am running a redis cluster helm install -n redis staging bitnami/redis-cluster in my k8s cluster and want to use this with a self hosted gitlab. In the docs I see I have to set
redis:
install: ...
1
vote
0
answers
2k
views
Postgres and redis pods are failing from time to time
I've setup a kubernetes cluster (1.19) using RKE on a bare betal ubuntu (20.04) machine.
I'm running a self hosted gitlab instance (installed by helm chart) on that cluster.
From time to time (every 1-...
0
votes
1
answer
2k
views
Redis from docker image redis:6.2.5-alpine3.14 can't start "Invalid LZF compressed string"
After restart docker container with redis:6.2.5-alpine3.14 it can't start with error:
[offset 55130] Internal error in RDB reading offset 0, function at rdb.c:411 -> Invalid LZF compressed string
...
1
vote
0
answers
2k
views
Redis is seeing legitimate connections as attacks - possibly due to reverse proxy?
I'm running Redis for use with Rails and Action Cable. These all sit behind an Nginx reverse proxy. Currently whenever Redis is connected to, I get
# Possible SECURITY ATTACK detected. It looks like ...