Skip to content

Instantly share code, notes, and snippets.

@pivotal-casebook
Created May 30, 2012 14:12
Show Gist options
  • Save pivotal-casebook/2836589 to your computer and use it in GitHub Desktop.
Save pivotal-casebook/2836589 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo -e "kern.sysv.shmmax=6442450944\nkern.sysv.shmmin=1\nkern.sysv.shmmni=256\nkern.sysv.shmseg=64\nkern.sysv.shmall=393216" > /etc/sysctl.conf
reboot
exit
sysctl -w kern.sysv.shmmax=6442450944
sysctl -w kern.sysv.shmmin=1
sysctl -w kern.sysv.shmseg=64
sysctl -w kern.sysv.shmall=393216
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment