Skip to content

Instantly share code, notes, and snippets.

@tommynyquist
Last active August 29, 2015 14:14
Show Gist options
  • Save tommynyquist/7d79d215b10335ffca04 to your computer and use it in GitHub Desktop.
Save tommynyquist/7d79d215b10335ffca04 to your computer and use it in GitHub Desktop.
Setting up maxproc in OS X Yosemite. Put in /Library/LaunchDaemons/ with permissions root:wheel 644.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>limit.maxproc</string>
<key>ProgramArguments</key>
<array>
<string>launchctl</string>
<string>limit</string>
<string>maxproc</string>
<string>2048</string>
<string>2048</string>
</array>
<key>RunAtLoad</key>
<true />
<key>ServiceIPC</key>
<false />
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment