Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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

configuring rsyslog to read from network interface, reformat it with template and output to redis

I have a interface log something like: Apr 19 16:47:37 2022-04-19 16: 48:59 TE-GI-FW-01 %%something:IPVer=4 pt=udp DPort=1701 SIP=2.2.2.2 SPort=41753 Now I what to ...
user avatar
0 votes
0 answers
27 views

centos Fatal error: Uncaught RedisException: Cannot assign requested address in

We receive this error every few minutes on the server Fatal error: Uncaught RedisException: Cannot assign requested address in i set bind ip and firewall command like : firewall-cmd –permanent –new-...
user avatar
0 votes
0 answers
27 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 ...
user avatar
0 votes
0 answers
9 views

What cloudwatch metric do I use for checking how much space is left on Elasticache Redis?

I found that some cached items are being lost on production once in a while, the test and production environment settings are practically the same, so I am suspecting it is Redis running out of "...
user avatar
0 votes
0 answers
166 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 ...
user avatar
0 votes
0 answers
50 views

rspamd bayes classifiers per user and global

I' running email server with rspamd as spam filter. I have 2 bayes classifiers, one with original config named global and second with per_user = true named per_user. The per_user classifier has same ...
user avatar
  • 1
0 votes
1 answer
75 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 ...
user avatar
0 votes
0 answers
26 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....
user avatar
0 votes
0 answers
173 views

Redis-server does not work properly in debian bullseye lxc

I have a server with debian 10.11 (buster) and lxc (from debian repos, 1:3.1.0+really3.0.3-8) installed. When I create a new lxc container (bullseye) (using lxc-create -t download -n redis-container --...
user avatar
0 votes
1 answer
39 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) ...
user avatar
0 votes
0 answers
133 views

channels-Redis Consumes 100% cpu and becomes unresponsive

Ubuntu 20.04.3 LTS x86_64 channels-redis==3.2.0 Nginx -> Daphne -> redis/django command to start: "sudo docker run -p 6379:6379 -d redis:5" Django settings: 'default': { '...
user avatar
1 vote
0 answers
20 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. ...
user avatar
2 votes
0 answers
35 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 ...
user avatar
0 votes
0 answers
54 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: ...
user avatar
  • 41
0 votes
0 answers
23 views

Retrieving different sessions in flask

I'm using Flask-Session to store server-side session data on Redis. This is currently working fine but I want to access data from a previously-created session on a different browser (or computer). ...
user avatar
0 votes
0 answers
18 views

Remove sticky session setup with clustered database - sync delay duplication?

I am currently trying to remove my server setup with "Sticky Sessions" and go over to a setup with a Database for the session storage. Instead of one database (single point of failure) we ...
user avatar
  • 1
0 votes
0 answers
30 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/...
user avatar
  • 143
0 votes
1 answer
35 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: ...
user avatar
0 votes
0 answers
529 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-...
user avatar
0 votes
1 answer
212 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 ...
user avatar
0 votes
0 answers
517 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 ...
user avatar
0 votes
1 answer
146 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 ...
user avatar
0 votes
1 answer
110 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 ...
user avatar
  • 107
1 vote
0 answers
97 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 ...
user avatar
  • 11
0 votes
1 answer
723 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
0 votes
0 answers
96 views

How to add queues to rabbitmq + redis + celery?

I am new to backend development and I will try to explain my situation: Stack: Flask (nginx, uwsgi) Celery Redis (BackEnd) RabbitMQ (Broker) MongoDB (stores a lot of data) What do I want to ...
user avatar
0 votes
1 answer
69 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 ...
user avatar
0 votes
1 answer
172 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: ...
user avatar
1 vote
0 answers
80 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 ...
user avatar
0 votes
1 answer
92 views

Load Balance (http) nodes slower when Redis is non-local

We run a load balance with 3 Windows 2019 servers. One of them is the "master" one, serving SMB share to the other nodes, and it's also the server that Redis runs on (Redis used for sessions ...
user avatar
  • 3
1 vote
1 answer
204 views

Why I got errors running redis in laravel app?

I need to run laravel 5 app on my local Kubuntu 18 and I need to run redis server for this app I installed and in file /etc/redis/redis.conf I uncommented line : requirepass foobared in .env I ...
user avatar
  • 111
0 votes
2 answers
4k views

Can't initialize Redis as a systemd service (supervised systemd) on Ubuntu Server 20.04.2

On Ubuntu Server 20.04, Redis (5.0.7) doesn't start after setting supervised systemd on /etc/redis/redis.conf, but no error is printed when running it manually with /usr/bin/redis-server /etc/redis/...
user avatar
0 votes
0 answers
444 views

Poor performance of Redis on GCP

We recently moved our application from Azure to Google Cloud Platform, in order to better utilize the Firebase platform. We now have a bunch of firebase-functions that communicate with a Redis-...
user avatar
  • 101
0 votes
0 answers
33 views

connection is paused for long

a redis server is running in a different network namespace. I'm trying to connect a client to the redis server, it keeps waiting but is not getting response, its been hours. Client side code: int main(...
user avatar
0 votes
0 answers
63 views

Why does redis cluster suggests at least three masters

I tried to understand why redis cluster suggests at least three masters. I read http://redis.io/topics/cluster-tutorial, https://redis.io/topics/cluster-spec Redis cluster: 3 master nodes minimum? but ...
user avatar
-1 votes
1 answer
572 views

Cannot get redis 5 to run with systemctl

Installed Redis 5 (have Redis 3 working on server) Modified various configurations in /etc/opt/rh/rh-redis5/redis.conf as necessary including setting supervised to "systemd" and setting ...
user avatar
1 vote
1 answer
124 views

Improving memory fragmentation on a Redis cluster

I recently bought a managed Redis cluster on Digital Ocean, here are the specs: 1 GB RAM / 1vCPU / 10 GB Disk / Primary only. I'm only using this cluster for a PUB-SUB system where an external ...
user avatar
  • 113
1 vote
0 answers
699 views

redis load module: cannot open shared object file. Permission denied

I am successfully building the redisearch.so module on travis-ci. After the module is built, I instruct the Redis to load it like this redis-cli MODULE LOAD $TRAVIS_BUILD_DIR/rs/build/redisearch.so ...
user avatar
0 votes
1 answer
8k views

systemd[1]: Failed to start Advanced key-value store

A little rodeo with redis. The error issued by redis is pretty unspecific ... When doing journalctl -xe I got: -- The process' exit code is 'exited' and its exit status is 1. Nov 05 20:53:34 ...
user avatar
  • 361
0 votes
1 answer
103 views

Unbearably slow redis connection when using openvpn

I have an OpenVPN config file like the following: client proto udp explicit-exit-notify remote SOME_REMOTE_SERVER 1194 dev tun resolv-retry infinite nobind persist-key persist-tun remote-cert-tls ...
user avatar
0 votes
2 answers
294 views

Is it better to have a centralized [redis] caching instance or per instance?

I have a VPC in AWS that contains a public and private subnet. In the private subnet, I have two load balanced EC2 app servers, and an EC2 Database/Cache server. The two app servers connect to the ...
user avatar
0 votes
0 answers
930 views

Redis-cli --cluster create command is not working?

I have redis-server package through standard apt command, but when I'm trying to run redis-cli --cluster create its not working. I'm getting "Unrecognized option or bad number of args for: '--...
user avatar
0 votes
0 answers
120 views

Rspamd with Redis and security on a shared server

I'm considering switching from SpamAssassin to Rspamd as everybody raves about it. The feature set like improved bayes filtering and easy greylisting sounds interesting. There's a catch though: Rspamd ...
user avatar
  • 123
0 votes
0 answers
407 views

Redis issue showing me `moved` while configuring redis in laravel app

I have two servers containing the same laravel application and both are connected with a load balancer. Everything works well with the same RDS. To make the site faster I have created a Redis cluster ...
user avatar
0 votes
1 answer
32 views

Is there any advantage to using Object Caching (Redis) for DB table caching with a full static caching CDN

I am trying to optimize a small web application(PHP/MySQL), I have been using Redis as a cache for my DB, and I've gotten to the point of preparing to launch for testing. I've been working through an ...
user avatar
  • 105
1 vote
1 answer
298 views

Redis installation and running the service

I am very new to Redis. My project is having some installation instructions for Ubuntu. But my system is Windows. So i have installed the Windows version of Redis in the below location. Started the ...
user avatar
  • 121
2 votes
1 answer
4k views

Redis service hangs with systemctl and Type=notify

I have followed this answer: https://serverfault.com/a/893075/210494. I have CentOS 7.8. redis.service [Service] Type=notify ExecStart=/opt/redis/bin/redis-server /opt/redis/conf/redis-master.conf ...
user avatar
2 votes
0 answers
970 views

pecl install redis: When you enable igbinary, do you need to enable lzf and zstd compression? (phpredis)

When I fire the command sudo pecl install redis I get asked to enable: enable igbinary serializer support? [no] : enable lzf compression support? [no] : enable zstd compression support? [no] : In a ...
user avatar
0 votes
0 answers
589 views

Best practice in Redis is to rename the command 'FLUSHDB'. But now I get an error with Laravel when I want to clear the cache

In Laravel, you can set the cache to Redis. However, when I clear the cache with php artisan cache:clear, I get the error: ERR unknown command 'FLUSHDB' I know what the problem is because I have ...
user avatar

1
2 3 4 5
9