Stop redis server. Neither shutdown nor stop works

后端 未结 16 765
深忆病人
深忆病人 2021-01-31 08:43

I want to stop the redis server and it just keeps going and going. I am using redis-2.6.7

Check that it is running:

redis-server

It say

相关标签:
16条回答
  • 2021-01-31 09:06

    net stop redis

    should do the trick

    to start :

    net start redis

    see this https://stackoverflow.com/a/20153062

    0 讨论(0)
  • 2021-01-31 09:06

    If You use Ubuntu or other linux distros try stop redis server:

    sudo service redis-server stop
    
    0 讨论(0)
  • 2021-01-31 09:08

    on redis-cli command "shutdown SAVE" or "shutdown NOSAVE" will work.

    0 讨论(0)
  • 2021-01-31 09:10

    You use the following command to kill the running redis-server process.

    ps aux |grep redis
    

    This will list all the running processes for redis-server. Then you can use the following command to kill the redis processes

    sudo kill <pid for redis>
    

    sample here

    sudo kill 7229 //for the above sample.
    
    0 讨论(0)
提交回复
热议问题