Redis - Server Debug Segfault Command


Advertisements

Redis DEBUG SEGFAULT performs an invalid memory access that crashes Redis. It is used to simulate bugs during the development.

Return Value

String reply.

Syntax

Following is the basic syntax of Redis DEBUG SEGFAULT command.

redis 127.0.0.1:6379> DEBUG SEGFAULT

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.htm
Advertisements