Redis Debug Segfault Command
The Redis Debug Segfault command executes 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 Versions
>= 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>
Other Extensions