Easy Tutorial
❮ Lists Rpushx Hashes Hvals ❯

Redis Debug Segfault Command

Redis Server

The Redis Debug Segfault command performs an illegal memory access to crash Redis, intended for use only during development for debugging bugs.

Syntax

The basic syntax for 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>

Redis Server

❮ Lists Rpushx Hashes Hvals ❯