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

Which cache solution is suitable for Storing Cache data? [closed]

We are running many websites in Yii2 application. Currently we are using File Cache for Data Caching. Now we want to use load balancer and put our caching on dedicated server. We will have to store ...
Future King's user avatar
0 votes
1 answer
41 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
1 answer
64 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
3 votes
3 answers
920 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
  • 33
-1 votes
1 answer
25 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
50 views

rspamd SPAMTRAP module cannot add fuzzy rules

I like to use the rspamd Spamtrap module, but it seems it cannot add rules for fuzzy matches. I get the following error call to (SPAMTRAP_CHECK) failed (2): /usr/share/rspamd/plugins/spamtrap.lua:54: ...
allo's user avatar
  • 1,600
0 votes
0 answers
137 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
1 vote
1 answer
203 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,011
0 votes
1 answer
112 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
93 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
230 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
1 vote
1 answer
559 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
0 votes
0 answers
128 views

redis-server unable to to start on RHEL 8 due to custom configuration

I have redis installed on a Red Hat Enterprise Linux 8 server. Locally, redis-server starts normally if using default config/ not config file provided. Redis can be used locally to create and query ...
Retrosec6's user avatar
1 vote
1 answer
195 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
  • 239
0 votes
0 answers
345 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
0 answers
36 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
1 vote
1 answer
79 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
0 answers
283 views

Upgrade Redis Standalone to 7.0.5

I need to update the redis version on centos 7. It's not clustered, I didn't find anything in the documentation, how can I do it?
Eduardo Paludo's user avatar
0 votes
1 answer
853 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 ...
frankfalse's user avatar
3 votes
2 answers
2k 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
245 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
1 vote
2 answers
2k 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
0 votes
1 answer
1k 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
497 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
0 votes
0 answers
185 views

Why Redis Cluster's shards get 0 Key

We have a Redis cluster consisting of 8 nodes that are working on the ubuntu 20.04 server. Every single node has 6 instances of Redis servers working on different ports. We have 48 Redis instances ...
GEnc B's user avatar
  • 1
2 votes
1 answer
2k 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
79 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
168 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
219 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
874 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
0 votes
1 answer
3k 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
597 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
169 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
117 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
40 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
37 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
80 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
0 votes
0 answers
291 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/...
G. G.'s user avatar
  • 143
0 votes
1 answer
151 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: ...
user3142695's user avatar
0 votes
0 answers
1k 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-...
user3142695's user avatar
0 votes
1 answer
987 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 ...
Oleg Neumyvakin's user avatar
0 votes
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 ...
tsvallender's user avatar
0 votes
1 answer
412 views

Why does IIS PHP not recognize PhpRedis when it exists and is added correctly?

Before you read: PHP not loading extensions does not answer my question because I do not have Apache. I have IIS. MySQL extension of PHP not working does not answer my question because the files have ...
Jamesthe1's user avatar
0 votes
1 answer
324 views

CentOS: Redis max client connection limitation

I am using Redis caching server on CentOS, where Redis accepts clients connections on the configured listening TCP port. I am trying to figure out the limits applied by the operating system to the ...
Eng7's user avatar
  • 127
1 vote
0 answers
386 views

Redis Sentinel cannot connect to Master that is using password - Redis 6.2 (dockerized)

I have dockerized images of redis (as official dockerhub guides when using custom redis.conf) and custom image (based on alpine image see here: https://pastebin.com/9WsMk1JC ) of sentinel (also with ...
Konrad's user avatar
  • 11
2 votes
1 answer
2k views

KeyDB Active Replica - LOADING Redis is loading the dataset in memory on full sync

We have setup 2 keydb servers with Active Replica, as described here: https://docs.keydb.dev/docs/active-rep/ We use HAproxy to redirect the traffic to the correct server. So we have the current ...
58k723f1's user avatar
1 vote
1 answer
5k views

What are the drawbacks of multiple Redis Instances on same machine?

We have a legacy system where instead of using multiple DB in a Redis instance, we are using multiple Redis instances(identifying by port number that they are running on) on the same machine with the ...
Hussain Nagri's user avatar
0 votes
1 answer
89 views

Does using Redis for task queuing in NAutobot guarantee transaction safety?

We want to use NAutobot to store a machine state in a custom field. To prevent 2 services updating this custom field at the same time, it needs proper transaction safety. If I understand the NAutobot ...
Michael Niemand's user avatar
0 votes
1 answer
612 views

How to check if Redis is working on a shared server (without redis-cli)?

I host my website on a shared CentOS-Bash-Apache-MySQL-PHP server environment with Nginx as reverse proxy (Namecheap). I understood that to enable Redis for my installment all I had to do was to add: ...
redisguesto's user avatar
1 vote
0 answers
163 views

Debugging Redis/Jedis performance issues

I have an application that currently has an in-memory cache and, of course, the performance is blazing fast. But due to some reasons (that are out of scope here) I want to start using Redis but the ...
The_Tourist's user avatar

1
2 3 4 5
9