Questions tagged [redis]

Redis is a "NoSQL" in-memory database.

Redis is an open source, in-memory data structure store to hold strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. It has built-in replication, Lua scripting, LRU eviction, transactions, and disk backup. It also comes in high availability versions.

38 questions
19
votes
3 answers

systemd rejecting with 'more than one ExecStart= setting'

I'm trying to write a systemd service file for redis. Here's my file: [Unit] PartOf=smp-data-services.target Description=Redis persistent key-value…
rajat banerjee
  • 331
  • 1
  • 2
  • 7
18
votes
1 answer

Process which locks up, ignores SIGKILL, is runnable (not a zombie or in uninterruptable sleep). What state is it in?

I have a process which several times now has stopped responding and appears to be completely locking up. It doesn't respond to any attempt at strace or peeking with gdb (gdb just hangs on a wait4() syscall). The process is runnable, and is not…
alienth
  • 2,187
  • 12
  • 20
6
votes
1 answer

Process mount is read only

I have a rw file system /myraid0. # cat /proc/mounts | grep myraid0 /dev/mapper/isw_cfdbejjgdi_myraid0p1 /myraid0 ext4 rw,relatime,stripe=8,data=ordered 0 0 I have no problem writing to /myraid0 as any user. redis@host:~$ echo hi >…
Jeff
  • 162
  • 1
  • 7
5
votes
5 answers

Cannot install redis server

Tried to install redis-server using Kubuntu 16.04 64 bit version using: sudo apt install redis-server But receive this message while installing: Setting up redis-server (2:3.0.7-1~dotdeb+6.1) ... Job for redis-server.service failed because a…
Yansen Tan
  • 181
  • 1
  • 1
  • 6
4
votes
2 answers

nftables allow redis only from specific IP addresses

I am configuring a REDIS server and I want to allow connections only from a set of specific IP addresses. This is a Debian 10 server, and the recommended framework to use is nft, which I haven't used in the past. The default ruleset is…
4
votes
2 answers

Unable to create a proper PEM for Redis Desktop Manager

On Ubuntu, I have a problem to establish a connection to redis server using SSH tunnel and SSH key with Redis Desktop Manager (RDM). What are the symptoms? I can connect to the server where redis is running using "plain" ssh and my id_rsa, other…
jacek.ciach
  • 198
  • 8
3
votes
1 answer

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 'apt_pkg'. Please assist me with this issue! Traceback…
Khashhogi
  • 41
  • 1
  • 3
3
votes
0 answers

Cannot increase maximum open files for redis

I am using ubunto 18.04, When i run redis-server on the terminal it says # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=11260, just started # Warning: no config file specified, using…
M. Habib
  • 131
  • 1
  • 4
3
votes
5 answers

How to resolve systemd (code=exited, status=227/NO_NEW_PRIVILEGES)?

I am trying to install the GitLab community package on a Debian Stretch system, but one of its dependencies, redis-server, fails to install when starting the service using systemd. Complete log: $ sudo dpkg --configure redis-server Setting up…
Tankernn
  • 33
  • 1
  • 5
3
votes
1 answer

Disable snapshotting ("save" setting) on running instance

How can you disable snapshotting on a running Redis instance? You can disable the "save" setting in the Redis configuration by commenting out the "save" lines. E.g., #save 900 1 #save 300 10 #save 60 10000 However, Redis lacks a command to reload…
Uyghur Lives Matter
  • 1,656
  • 3
  • 22
  • 31
2
votes
0 answers

redis-server doesn't start as a service on Debian 10 because of status=227/NO_NEW_PRIVILEGES

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 here, but the attempts yields no change. I'm having…
Repox
  • 121
  • 5
2
votes
2 answers

Redis logfile permission error, but the permission is already 777

gentoo /var/log/redis # ls -al total 8 drwxrwxr-x 2 root redis 4096 12月 3 16:05 . drw-rw-r-- 5 root root 4096 12月 3 15:57 .. -rwxrwxrwx 1 redis redis 0 12月 3 16:05 redis.log gentoo /var/log/redis # sudo -u redis redis-server…
Vonfry
  • 248
  • 1
  • 3
  • 12
2
votes
1 answer

Monitoring script for redis server

I facing problem to write a script for redis server . I know it will very normal script ,but due to my lack of knowledge I can't able to . Currently I can getting out put when using below command redis-cli -r -1 -i 300 INFO | grep…
Arya Ray
  • 61
  • 1
  • 1
  • 5
1
vote
2 answers

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 & EOF let "port++" done which should start redis…
aveillon
  • 21
  • 2
1
vote
1 answer

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="" echo "Starting to delete" while [ $cursor -ne 0 ]; do if [ $cursor…
1
2 3