Skip to content

Instantly share code, notes, and snippets.

@kigawas
Last active June 19, 2018 03:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kigawas/626017459e5d4cc365ae152c347b9ebd to your computer and use it in GitHub Desktop.
Save kigawas/626017459e5d4cc365ae152c347b9ebd to your computer and use it in GitHub Desktop.
Run redis in docker without warnings
sysctl vm.overcommit_memory=1
echo never > /sys/kernel/mm/transparent_hugepage/enabled
@kigawas
Copy link
Author

kigawas commented Jun 19, 2018

And run like docker run --sysctl net.core.somaxconn=511 redis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment