Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Redis Debug Segfault Command

Redis Debug Segfault Command

Redis Server

The Redis Debug Segfault command performs an illegal memory access to crash Redis, used only for BUG debugging during development.

Syntax

The basic syntax of the redis Debug Segfault command is as follows:



redis 127.0.0.1:6379> DEBUG SEGFAULT 

Available Version

= 1.0.0

Return Value

None

Example



redis 127.0.0.1:6379> DEBUG SEGFAULT 

Could not connect to Redis at 127.0.0.1:6379: Connection refused

not connected>

Redis Server