Skip to content

Instantly share code, notes, and snippets.

@rcrowley
Created December 9, 2009 17:30
Show Gist options
  • Save rcrowley/252618 to your computer and use it in GitHub Desktop.
Save rcrowley/252618 to your computer and use it in GitHub Desktop.
#!/bin/sh
sysctl -w kern.maxproc=2048
sysctl -w kern.maxprocperuid=1024
echo kern.maxproc=2048 >>/etc/sysctl.conf
echo kern.maxprocperuid=1024 >>/etc/sysctl.conf
echo limit maxproc 1024 2048 >>/etc/launchd.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment