I cannot kill redis-server no matter how many times I've tried.
ps -ef | grep redis-server
gives
root 10592 1 0 01:10 ? 00:00:00 /snap/redis/658/usr/bin/redis-server *:6379
root 10846 8813 0 01:12 pts/1 00:00:00 grep --color=auto redis-server
I have tried:
- Using kill -9 [pid]
- Using
service redis-server stop
(in normal user with sudo and while insudo su - root
) - Using
/etc/init.d/redis-server stop
- Using
redis-cli
and then runningshutdown SAVE
orshutdown NOSAVE
in the CLI - Using
systemctl stop redis-server
No matter what I do, the server just restarts with a different PID. Can somebody tell me what the hell is going on? Yesterday, I never even installed redis on my Ubuntu. Today, after installing redis-cli, suddenly redis runs on boot, and is unkillable. What the hell is going on? How do I kill it? Why does it behave this way?
Note: I'm on Ubuntu 22.