Redis
Flush/clear cache and delete everything
FLUSHDB
- Delete all the keys of the currently selected database and clear cache.FLUSHALL
- Remove all the keys of all the existing databases.
Error: redis warning overcommit_memory is set to 0
Fix
Add entry in
/etc/sysctl.conf
:
/etc/sysctl.conf
Save and exit. Run
sysctl -p
to update and restart Redis.
Last updated