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
0answers
37 views

Openstack services with Redis

Based on my research, in order to have high available and "load shared" openstack services, we have to use Redis in place of Memcached. here is the why? Redis does support high availability (...
-1
votes
0answers
22 views

Process “redis-server” runs fine. After ~6 hours, another process named “redis2” starts and hogs up entire server CPU [duplicate]

I'm trying to figure out what's going on here. I spun of a Fedora 32 droplet on DigitalOcean to host a Laravel application a few days ago. I use redis for my queue and for broadcasting, but admittedly ...
1
vote
0answers
46 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 ...
0
votes
0answers
31 views

Good architecture for redis cluster in HA scenario with low writes and high reads?

I was going through different clustering docs of redis available online and came across two types of clustering. 3 nodes running on 6 machines, with slots divided between nodes, each node has one ...
0
votes
1answer
69 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 ...
1
vote
1answer
27 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 ...
0
votes
0answers
34 views

Can't access Redis when I set AUTH, using AWS ElasticCache

I'm trying to set a password using AUTH in Redis. I'm using AWS ElasticCache. I followed the documentation of AWS, but it doesn't seem to work. Here is where I'm setting the password: Control Access: ...
0
votes
0answers
22 views

redis-server multi-master replication with keepalived

We have a cluster setup where we have 5 database servers in a galera cluster. We also need to have a redis server on each of these database servers. I have looked at redis cluster but it talks mostly ...
0
votes
1answer
239 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/...
0
votes
0answers
103 views

Replica is not syncing with Master in Redis Cluster

created Redis cluster using 6 nodes, 3 masters and 1 replica is working fine but 2 replicas are not syncing, when i checked the log i got following error - MASTER <-> REPLICA sync started Non ...
0
votes
0answers
98 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-...
0
votes
0answers
25 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(...
0
votes
0answers
24 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 ...
-1
votes
1answer
315 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 ...
0
votes
1answer
75 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 ...
1
vote
0answers
167 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 ...
0
votes
1answer
2k 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 ...
0
votes
1answer
49 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 ...
0
votes
0answers
23 views

Redis clears memory unexpectedly

We are storing stock market data in Reids as per the example below. The data accumulates all day, and we will restart server or purge data programatically at day end. The problem is that twice now, I ...
0
votes
0answers
56 views

One instance is disconnected from Redis cluster

I have configured the redis cluster by using 6 instances 3 of them or master and 3 slaves, it was working properly but my senior wanted some changes in that after changing i restarted the redis ...
0
votes
2answers
132 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 ...
0
votes
0answers
345 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: '--...
0
votes
0answers
101 views

Redis Sentinel Vs Redis Sentinel + Haproxy?

I want to configure Redis Sentinel for production. I am stuck on should I do Redis sentinel with client code OR Redis sentinel + Haproxy. What are the points I should be considering to make this ...
0
votes
0answers
71 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 ...
0
votes
0answers
119 views

Nginx + Redis - Unable to fix CORS error on HTTPS - only works for http

I have a website running on a Nginx + Php-FM + Redis Stack . Was getting some CORS warnings with error Access to font at '...fa-brands-400.woff2' from origin 'https://example.com' has been blocked by ...
0
votes
0answers
162 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 ...
0
votes
0answers
69 views

What does the output of strace of a Redis server's PID mean?

I run wordpress inside LXCs with a LEMP stack that involves redis and noticed through htop that the redis server accumulates the most CPU time. Trying to have a look what is going on with redis and ...
0
votes
1answer
20 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 ...
0
votes
0answers
23 views

How to create caching in AWS elasticache redis

I have a web application hosted on the AWS ec2 instance. I have load balancers enabled and also I have created a cluster in aws elasticache ( Redis ) i have 3 nodes in 1 shard. I can also access them ...
0
votes
0answers
106 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 ...
2
votes
1answer
2k 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 ...
2
votes
0answers
498 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 ...
0
votes
0answers
201 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 ...
1
vote
0answers
12 views

Redis Cluster modification

I have currently 2 Virtual Private Servers with 3-3 Redis instances. What I want os, to spread them to 3 VPSs with 2-2-2 nodes each. How do I do that in a way, I can keep all my keys? I also want to ...
0
votes
0answers
33 views

Can't get redis-sentinel notification script to execute correctly

Installed latest version of redis/redis-sentinel (6.0.5) from Chris Lea PPA on Ububtu 20.04. Created a notification script with the same path as suggested in the default conf. Tested that the script ...
0
votes
0answers
328 views

Redis 6 TLS cluster

I have set up a redis 6 tls cluster ( without mutual client authentication) with 6 nodes ( 3 masters and 3 slaves). I am facing this error : 29096:M 05 Aug 2020 17:14:37.009 # Error accepting a client ...
0
votes
1answer
323 views

How to estimate the max number of connection an AWS ElasticCache Redis cluster can support?

Is there any formula or "rule of thumb" I can apply to make an estimate of maximum number of connections a redis cluster hosted on AWS ElasticCache can support? My cluster currently has 3 ...
1
vote
2answers
281 views

Is there anyway to restore a dump.rdb redis backup file remotely?

i have written some Golang code to backup a bunch of Redis clusters the only way i have found to restore these backups is to copy the dump.rdb file in a certain directory and restart the Redis ...
1
vote
3answers
439 views

How to switch nodes easily in a redis cluster cli?

I have a three node redis cluster. If I run cluster nodes after I connect to one of the node via redis-cli, I got this output: 10.0.32.70:6379> cluster nodes ...
0
votes
1answer
91 views

does running redis-cli with --rdb block the redis instance?

i have a couple of redis instances which are running RDB mode. currently if i want to backup my instances i run BGSAVE command and copy the rdb file. i want to get the rdb file on a remote machine so ...
0
votes
1answer
147 views

Docker fails external connectivity for Redis

I have tried all the possible solutions available on either StackOverflow or other forums, that I could find. I begin installing redis with docker by actual instructions available on Hub Docker. But I ...
0
votes
0answers
20 views

One process in my server using 100% cpu [duplicate]

Please check below PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2561 redis 20 0 2761160 2.3g 1028 S 200.0 30.0 58:33.49 sysupdate 2576 redis 30 10 ...
0
votes
0answers
199 views

redis-stable server stopped working

I was earlier using redis server 3.x and it worked fine. But as I had to switch to newer version, I removed it using the answer here and installed the new and stable version, following instructions ...
1
vote
0answers
20 views

redis2_query & proxy_pass together

I am trying to implement security to APIs via Nginx. Basically I will allow APIs only if a token exists in redis location /api/ { if ($http_securitytoken = "") { return 403; }...
0
votes
1answer
45 views

I used elk+redis+filebeat to build the logging platform, and now after redis is replaced by codis, logstash reports???

I used elk+redis+filebeat to build the logging platform, and now after redis is replaced by codis, logstash reports: # [2020-06-18T11:20:54,146][WARN ][logstash.inputs.redis] Redis connection problem {...
0
votes
1answer
304 views

Redis Server Exploit for command execution

I am new to this forum and looking for some help to understand this exploit. I am trying to check command execution on a vulnerable Redis server. Following this document, I am able to exploit a Redis ...
0
votes
1answer
63 views

New and Unknown Netstat Entries

OS = Debian 10. When I run netstat -natp, I have two unidentified entries which are concerning. tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 24310/redis-server ...
0
votes
1answer
1k views

ssh connection timed out, why sudo service sshd restart resolves it?

I have a little tricky behavior I can't explain. I have a virtual machine running Ubuntu 20.04, docker 19.03.6and arediscontainer. Hosted on aWindows 2019` Hyper-V machine. There's a second virtual ...
0
votes
1answer
48 views

What's so good about having a job queue?

I am currently building an API that sends transactional emails to users. I do this with a job queue, bull in particular. During development, something crossed my mind; where are these jobs actually ...
1
vote
0answers
79 views

How to monitor the disk space usage of an AWS elasticache redis cluster?

This is the reason behind this question: I am using a redis cluster on AWS elasticcache as a datastore. I do not enable eviction because I need to keep the data alive inside the redis cluster for as ...

1
2 3 4 5
9