Redis – Server Debug Segfault Command

  • Post author:
  • Post category:Redis
  • Post comments:1 Comment

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> 

This Post Has One Comment

Leave a Reply