Questions tagged [redis]
Redis is a "NoSQL" in-memory database.
41 questions
0
votes
1
answer
103
views
How to compare output of a program with a reference value in a shell script?
I have my own implementation of a Redis server which I'd like to test through a shell script.
The general idea is to feed it with some commands through nc, and since nc prints the output of my program ...
0
votes
0
answers
257
views
Could not create server TCP listening socket. bind: Address already in use. Processes won't stop, how to configure redis properly?
I was working with an ERPNext project, and when trying to install the hrms module, I ran into some redis related issues, and made some changes to see if those worked but it didn't. Now that I was able ...
0
votes
0
answers
763
views
How to install redis 7.2 on amazon linux 2023
How to install redis 7.2 on amazon linux 2023. When I do the default installation it only install redis 6.x.
0
votes
0
answers
2k
views
Getting message A stop job is running advanced key-value store no limit
I am using ubuntu OS. when I started my system I am seeing a message " A stop job is running advanced key-value store no limit".
My Laptop screen is stuck not able to do anything.
Can ...
1
vote
1
answer
1k
views
How to use redis-cli to export the values of a list only?
I am trying to export all values of a redis list using redis-cli as a list of strings in shell scripts. However, there are some unwanted text that I couldn't get rid of.
For the following list q1:
...
0
votes
1
answer
2k
views
Remove temporary files from disk caused by Redis command BGREWRITEAOF
Context description
My Linux distribution contains redis-server 6.0.5. Redis is configured to use persistence AOF (Append Only File) and the RDB persistence is disabled (Redis persistence).
At boot a ...
0
votes
1
answer
2k
views
Why does the redis-server take too long to load in memory the database 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 ...
0
votes
1
answer
621
views
Rspamd Ratelimit doesn't work
I have set up my rspamd and redis server but the ratelimit doesn't work.
The Rspamd speaks to Postfix and my log file doesnt show anything unusual.
Even GTUBE works --> So, the spam protection ...
0
votes
1
answer
765
views
Iptables blocks localhost from accessing redis
I have the following iptables rules:
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -s MY_IP_ADDRESS/32 -p tcp -m tcp --dport 6379 -j ACCEPT
-A ...
1
vote
2
answers
1k
views
Starting a background job on the remote host over ssh hangs the calling script
I have this code :
for i in $ipb $ipc $ipd; do
ssh -i ~/.ssh/'key' 'name'@${i} /bin/bash << EOF
nohup ${install_dir}/redis-stable/src/redis-server ${install_dir}/${port}/node.conf &
...
0
votes
1
answer
74
views
The RAM load is constantly increasing. Is it possible to reduce it?
RAM load rises to 85% from 32G
I have varnish and nginx installed on my server. Recently I noticed that the load on RAM is very high.
I am afraid that it will continue to grow and the site will stop ...
0
votes
2
answers
1k
views
Open web browser on host machine via private ip after installing software on Linux server
I need to open a web browser on the host machine. I am given a private IP address after installing software on a Red Hat Enterprise 7.9 Linux server.
Here are the steps I have taken so far:
SSH into ...
1
vote
1
answer
1k
views
Redis cli shell script unknown operand deleting keys with hex
Created a shell script that deletes keys that matches a pattern using the following script:
host=${1:-}
port=${2:-6379}
database=${3:-0}
pattern=${4:-"Test"}
cursor=-1
keys=""
...
2
votes
0
answers
624
views
redis-server doesn't start as a service on Debian 10 because of status=227/NO_NEW_PRIVILEGES [closed]
I have a Debian 10, on a Digital Ocean droplet, I'm trying to install and run Redis as a service, which won't start because and error related to NoNewPriviliges.
I've reviewed the similar question ...
3
votes
1
answer
3k
views
No module named 'apt_pkg'
I use redis in my project. However, when I try to start the server with the following command, '$ redis-server --daemonize yes', I keep getting the same error message that says no module named '...