Skip to content

Instantly share code, notes, and snippets.

@ecoologic
Created February 5, 2012 22:28
Show Gist options
  • Save ecoologic/1748213 to your computer and use it in GitHub Desktop.
Save ecoologic/1748213 to your computer and use it in GitHub Desktop.
# /etc/sysctl.conf
vm.overcommit_memory=1
# /etc/redis.conf
# comments on the same line gave problems
# custom conf 1gb, will solve a warning
maxmemory 1073741824
# commenting these three lines will avoid redis to dump the db at all
# save 900 1
# save 300 10
# save 60 10000
# $HOME is not converted
dir /home/erik/.redis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment