Home > Database > Redis > How to force redis to shut down and restart

How to force redis to shut down and restart

王林
Release: 2021-02-24 10:02:01
forward
3580 people have browsed it

How to force redis to shut down and restart

Today I will share how to forcefully close redis and restart it:

The specific code is as follows:

ps auxf|grep redis |grep -v grep|xargs kill -9 
/usr/local/bin/redis-server /etc/redis.conf
ps -ef | grep redis
Copy after login

Redis related introduction:

Redis (Remote Dictionary Server), the remote dictionary service, is an open source log-type, Key-Value database written in ANSI C language, supports the network, can be memory-based and persistent, and provides multiple languages. API. Since March 15, 2010, the development of Redis has been hosted by VMware. Since May 2013, the development of Redis has been sponsored by Pivotal.

Related recommendations: redis database tutorial

The above is the detailed content of How to force redis to shut down and restart. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template