Questions tagged [redis]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
105 views

Receiving “Failed to start A high performance web server and a reverse proxy server.” after redis installation

I received the following error: Processing triggers for ureadahead (0.100.0-21) ... N: Ignoring file 'plesk.list.ai_back' in directory '/etc/apt/sources.list.d/' as it has an invalid filename I ...
0
votes
0answers
28 views

Redis 6 HA, sharding, load balancing

I'm learning Redis and I faced with problem (or misunderstanding) with HA, sharding and load balancing implementation. OS Ubuntu server 18. I compiled last version of Redis 6, started 6 instances and ...
1
vote
0answers
28 views

Start 3 redis instances via systemd

I'd like to start 3 instances of Redis 6 via systemd. System info: root@ubnt:/home/test11# uname -a Linux ubnt 4.15.0-88-generic #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020 x86_64 x86_64 x86_64 GNU/...
1
vote
0answers
19 views

difference bwtween redis force failover and automatic failover caused by a master down

I want to use go-redis NewFailoverClinet as a client to set data into my database(redis-3.2.6) in a loop. Result shows using command sentinel failover <MasterName> to trigger failover could ...
0
votes
0answers
36 views

Unkown enabled account RedisService

I am on a windows 10 Pro 1809 I just checked (cmd "wmic useraccount list full") and found that on my system there is one account named RedisService with description Redis Server Service, that is ...
0
votes
0answers
25 views

Redis streams: are they swapped to disk if memory is low

What happens if a redis stream grows beyond the machine's memory? Will old messages get swapped to disk? Background: I want to use the messenger component of symfony, which can use redis as a message ...
0
votes
0answers
15 views

Redis benchmark vs reality: unexpected behavior

I have a Redis standalone instance in production. Earlier 8 instances of my application, each having 64 Redis connections(total 12*64) at a rate of 2000 QPS per instance would give me a latency of <...
0
votes
0answers
23 views

Slave connected to wrong master after fail-over in Redis Cluster

We met a weird situation in our Redis instances (v3.0.7). In normal cases, we have 9 Redis instances on 3 servers, and each server has 3 instance. We use Redis Cluster to ensure high availability for ...
0
votes
0answers
72 views

LVS host drops FIN packets sometimes?

LVS and Redis are running on my network shown as below. webapp --- lvs --- redis LVS host is running in DSR mode and web application(nginx+lua) which uses Redis is deployed on webapp host. Once, I ...
0
votes
2answers
1k views

docker: Error response from daemon: driver failed programming external connectivity on endpoint redis-redisjson

I wonder if anyone can help. I tried to install reJSON using Docker on a Raspberry PI but got some errors. Then as I couldn't figure out what to do about the errors tried a few things but nothing ...
0
votes
1answer
423 views

How do I get a channel layer from Django-Channels lib to communicate with Redis in Oracle VM using Docker Toolbox?

I am using Django Channels and am trying to make sure that a channel layer can communicate with Redis. However, I have Windows 10 Home edition which means I had to use Docker Toolbox to create an ...
0
votes
1answer
409 views

My production server was breached and I found this script. Is it a decoy?

A few days ago my VPS came under heavy load from spammers trying ssh attacks and script injections. I have since added new fail2ban regexps and new security measures for REDIS where it looks like they ...
0
votes
0answers
82 views

Azure redis-cache growing total connections received

I have new Azure redis-cache app and I've been monitoring it for days now. I'm checking how my redis app is performing by using redis-cli command "INFO" redis.cache.windows.net:6379> INFO ...
0
votes
0answers
1k views

Could not connect to Redis at 127.0.0.1:6379: Cannot assign requested address

I tried connect to redis server but I can't. $ redis-cli Could not connect to Redis at 127.0.0.1:6379: Cannot assign requested address $ telnet localhost 6379 Trying 127.0.0.1... telnet: Unable to ...
1
vote
1answer
275 views

How do I open a port on Linux Mint (VirtualBox guest) for the Redis Server?

FWIW, I posted a related programming question on Stack Overflow over here. I installed a Linux Mint on the VirtualBox to test a Redis Server I installed on. The Linux machine is linked with the ...
1
vote
0answers
29 views

Docker: Is there a way I can check if Redis is being used as a cache for PostgreSQL server?

I have a set of docker containers communicating over a network via Docker Compose (one of them is redis and one of them is postgreSQL). I did a Wireshark capture on the communicating containers and I ...
2
votes
0answers
2k views

Redis : Can't handle RDB format version 9 Ubuntu 18.04

Following the indications in here: Redis-QuickStart I installed in my Ubuntu 18.04.01 Server Edition the latest stable Redis release : download.redis.io/redis-stable.tar.gz and tested the result of ...
1
vote
0answers
306 views

Redis cluster failing over too frequently

Out of 12 masters, 4 masters failed over same time not sure about the reasons. Couldn't find much from slowlog. We have configured only 1 slave whenever fail-over happens master link status will be ...
0
votes
1answer
2k views

Redis fails to start after reboot (“Can't open the log file: Permission denied”)

I've ran into a problem with my Redis 4.09 installation on Ubuntu 18.04. Each time I reboot the machine the /var/log/redis/redis-server.log ends up being owned by www-data:www-data: # namei -l /var/...
1
vote
0answers
360 views

Nginx v Redis: Upstream Prematurely Closed Connection

My AWS EC2 instance, running Node, needs to pass data to my Redis cache. This has been working fine for months. But, for the passed few days, it's broken. All requests either timeout after approx 60 ...
0
votes
1answer
391 views

Why does redis need write permissions for redis.conf?

I just installed redis on an Ubuntu server. When I examined its file permissions, I saw -rw-r----- 1 redis redis 59124 Jan 11 02:24 /etc/redis/redis.conf Why does the redis user need write access to ...
0
votes
1answer
190 views

Original Redis Master does not become “good” slave after failover

I have setup a 3 node HA redis cluster with Sentinel monitors on each of the nodes. I have the following configuration: RedisA - Master RedisB - Replica RedisC - Replica with 3 Sentinels watching the ...
1
vote
1answer
3k views

Can not uninstall redis-server in Ubuntu?

I was trying to install Redis on Ubuntu using: sudo apt install redis-server The process partially installed and timed-out and the redis-service was not installed. After that I tried to remove the ...
2
votes
0answers
153 views

Redis rdb persistence quite slow

My two nodes in a Redis cluster have quite different persistence performance. The master node is always much faster than the slave one when saving data to disk. Here is the persistence info for master:...
1
vote
1answer
533 views

Redis socket permissions caught between /var/run and http

I'd like my PHP web application (run as user apache) to connect to redis via a UNIX socket. So I thought of running redis as user apache as well and the socket permissions can be 0700 owned by apache. ...
1
vote
2answers
5k views

Can't start Redis Server on Ubuntu 16.04

I can't get redis server to start on Ubuntu 16.04. I installed via this repo I double checked the systemd redis.service file and it looks fine. it points to the binaries. Systemctl Status Redis-...
0
votes
1answer
547 views

Php permission denied on connection to /tmp/redis.socket on cpanel

I have installed redis on my Cpanel Centos 6.9 VPS and successfully connected to it via tcp. I wanted to share redis.socket connection instead of tcp with several users on my vps but failing to do so ...
2
votes
0answers
439 views

Redis Sentinel sdown at start up

I'm experiencing a weird issue. When I try to launch Redis in sentinel mode, such as: redis-sentinel /path/to/sentinel.conf everything was working, but a few seconds later, it puts the state +...
2
votes
1answer
313 views

Redis on azure debian vm - connect ETIMEDOUT

I made a Debian 9 VM on Azure, I also installed MariaDB, PHPMyAdmin, and node with pm2. With this, I set in inbound rules port 80 for HTTP, 3306 for MySQL and port 6379 for the Redis. when i try to ...
0
votes
2answers
9k views

Can't Install Openvas on Kali

I've can't solve this problem. Trying to install Openvas on Kali. I'm surprised by the amount of problems I'm facing to install a program on this OS. I've used apt-get install openvas Done. Then I ...
1
vote
1answer
358 views

How can BGREWRITEAOF return ERR?

The documentation for BGREWRITEAOF states that BGREWRITEAOF always returns the string value OK. Well, today I sent BGREWRITEAOF to my redis-server 2.6.7 and received (error) ERR in response. ...
0
votes
2answers
2k views

Windows 10 Linux Subsystem Redis not auto-starting

I have installed Redis on Windows 10 Linux Subsystem. I followed the instructions available at https://redis.io/topics/quickstart and I have taken care that I followed all the steps mentioned in ...
5
votes
1answer
5k views

Problems to connect with remote redis-server

I have two Amazon-EC2 instance let's say A and B. B has redis-server installed. I want to access B from A So I am trying A$ redis-cli -h B_ip -p 6379 Could not connect to Redis at B_ip:6379: ...
0
votes
1answer
113 views

Redis will not start via bitbar / brew services start

Trying to get redis managed via bitbar's brew services plugin, I cannot; it silently fails, and running brew services start redis also silently fails. Equally, brew services list shows it as started, ...
0
votes
0answers
3k views

kill: 5656 : arguments must be process or job IDs

Having redis-server ON (launched with redis-server &). Running this command in a terminal works perfectly: kill -s SIGTERM "`pgrep redis-server`" But in a script it outputs the following ...
0
votes
1answer
359 views

Can I gracefully restart httpd, redis and php-fpm without affecting my website visitors?

I'm running a fairly resource-heavy Magento-based site via a combination of Apache httpd, redis and php-fpm. When I make changes to core PHP files, it's necessary to restart the above services to ...
2
votes
1answer
310 views

How to make redis work locally?

I've got a redis db. Now I need to make it work locally. I mean I want it to be accessable on my local machine only. No requests over network. How can I do it? I found redis.conf with the following ...
2
votes
0answers
2k views

redis Error: Server closed the connection

I have 6 nodes in a redis cluster - 3 master and 3 slaves. All the nodes are running just fine except for one master and it's slave. On this troublesome master, when i run the command (on either ...
0
votes
1answer
82 views

Get client’s full last command (including key) from Redis

Redis’s client list will give you the last command issued by client. It does not give you the key that last command was issued on. What I would like to get is the list key a client is doing BLPOP on. ...
4
votes
1answer
5k views

How to calculate number of possible records in Redis per 32GB of memory?

In my company are talking about the possibility to build some part of our backend in Redis instead of mongodb but we want to calculate how many records we will be able to store in a server with 32G. ...