w3resource

Redis Server: DEBUG SEGFAULT

DEBUG SEGFAULT

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

Syntax:

DEBUG SEGFAULT

Available since

1.0.0.

Return Value

String reply.

Return Value Type

String

Example: Redis DEBUG SEGFAULT

redis 127.0.0.1:6379> DEBUG SEGFAULT 
Could not connect to Redis at 127.0.0.1:6379: Connection refused
not connected>

Previous: DEBUG OBJECT
Next: FLUSHALL



Follow us on Facebook and Twitter for latest update.