Skip to main content

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

Identify which script in redis is currently running

I'm encountering an issue with my Magento 2 shop where Redis reports the following error: BUSY Redis is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE. Process went away Upon ...
kekw's user avatar
  • 113
0 votes
0 answers
23 views

Redis on Docker never close file handle, leading to full disk (100% disk usage in df)

I have a docker running redis server as slave instance on a Ubuntu server, production instance. This server always have disk full, although checking disk usage (using du) never show anything use the ...
Dapid Candra's user avatar
0 votes
0 answers
81 views

Configuring HAProxy for Redis PubSub

I'm trying to configure a HAProxy instance for a Redis cluster. The application that connects to Redis use both short-lived connections for common commands like SET/GET and long-lived connections for ...
Vincent's user avatar
  • 101
-1 votes
2 answers
78 views

How do companies manage software versioning for tools, frameworks, etc.?

If a company is using many different software, is there a way to automate version tracking - comparing current version being used in the company and latest version released, and maybe taking actions ...
Arpi's user avatar
  • 1
0 votes
1 answer
101 views

nginx php-fpm redis configuration "socket error on read socket"

my localhost is on ubuntu with nginx + php-fpm 8.1 server { server_name "~^({[a-z]}2\.)*(?<project>\w+)\.(.*)localhost$"; root /home/fw/public_html; location ~ \.php$ { ...
mikakun's user avatar
  • 111
0 votes
0 answers
132 views

ubuntu 22.04 redis.service stops working after adding tls

A fresh install of redis on ubuntu 22.04: I changed supervised no to supervised systemd. When running systemctl start redis.service, everything works as expected. I now change the redis.conf file to ...
Sam Leurs's user avatar
  • 105
0 votes
0 answers
110 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. ...
Jérémy Ferfer's user avatar
0 votes
0 answers
30 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 ...
Daniel Mendoza Pupo's user avatar
0 votes
0 answers
186 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....
Fibericon's user avatar
  • 105
0 votes
0 answers
72 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 ...
Sudipta Roy's user avatar
1 vote
0 answers
243 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 ...
Houman's user avatar
  • 1,675
0 votes
0 answers
59 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, ...
me_the_bo's user avatar
1 vote
1 answer
236 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 ...
user2690527's user avatar
0 votes
0 answers
101 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 ...
iTaMaR's user avatar
  • 101
0 votes
0 answers
395 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 ...
Stephen Xia's user avatar
0 votes
0 answers
110 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 ...
user2337871's user avatar
1 vote
0 answers
127 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 ...
JonHendrix's user avatar
0 votes
1 answer
2k 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 ...
Seymour B's user avatar
0 votes
1 answer
550 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 ...
Gerald Schneider's user avatar
0 votes
2 answers
884 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 ...
techgirl's user avatar
9 votes
4 answers
13k 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 ...
VIVEK's user avatar
  • 93
-1 votes
1 answer
38 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 ...
redliquid's user avatar
0 votes
0 answers
270 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 ...
Mike Hermary's user avatar
2 votes
1 answer
924 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 ...
Mikael H's user avatar
  • 5,129
0 votes
1 answer
220 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. ...
Bobort's user avatar
  • 126
0 votes
1 answer
117 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 ...
Tadas V.'s user avatar
  • 101
0 votes
0 answers
672 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 ...
YOULYU ZHANG's user avatar
2 votes
1 answer
3k 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 ...
Shaundavin13's user avatar
1 vote
1 answer
479 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 ...
Aaron A's user avatar
  • 249
0 votes
0 answers
472 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?...
Marc's user avatar
  • 123
0 votes
1 answer
115 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 ...
Rajaneesh's user avatar
2 votes
1 answer
353 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,...
Erick Calder's user avatar
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 ...
User051209's user avatar
4 votes
2 answers
5k 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 ...
CutePoison's user avatar
0 votes
0 answers
727 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 ...
CutePoison's user avatar
2 votes
2 answers
6k 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: # ...
run_the_race's user avatar
1 vote
1 answer
3k 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 ...
Maestro223's user avatar
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 ...
ciaoben's user avatar
  • 113
2 votes
1 answer
6k 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 --...
scaryhamid's user avatar
0 votes
1 answer
320 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 ...
Muhammad Khalaf's user avatar
0 votes
0 answers
532 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 ...
flen's user avatar
  • 101
0 votes
1 answer
430 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 ...
Learning from masters's user avatar
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 ...
Diogenes Creosote's user avatar
3 votes
1 answer
7k 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 ...
Mudassar Hashmi's user avatar
0 votes
1 answer
946 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 ...
Sotiris Kaniras's user avatar
0 votes
0 answers
262 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....
Farid Niasti's user avatar
0 votes
1 answer
206 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) ...
user2798081's user avatar
1 vote
0 answers
79 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. ...
James Bowery's user avatar
2 votes
0 answers
44 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 ...
Tbonepgh's user avatar
0 votes
0 answers
99 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: ...
Alex K.'s user avatar
  • 41

1
2 3 4 5
10