Latest web development tutorials

Redis Debug Segfault 命令

Redis服務器

Redis Debug Segfault 命令執行一個非法的內存訪問從而讓Redis 崩潰,僅在開發時用於BUG 調試。

語法

redis Debug Segfault 命令基本語法如下:

redis 127.0.0.1:6379> DEBUG SEGFAULT 

可用版本

>= 1.0.0

返回值

實例

redis 127.0.0.1:6379> DEBUG SEGFAULT 
Could not connect to Redis at 127.0.0.1:6379: Connection refused
not connected>

Redis服務器