Created
April 11, 2014 13:52
-
-
Save yuitest/10470657 to your computer and use it in GitHub Desktop.
自縄自縛する!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ulimit -c 0 | |
ulimit -d 8 | |
ulimit -l 64 | |
ulimit -m 0 | |
ulimit -n 100 | |
ulimit -p 8 | |
ulimit -s 120 | |
ulimit -t 1 | |
ulimit -v 30000 | |
exec nice -n 20 $* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OS X だとダイナミックページャが邪魔するので、 ulimit では制限できない…。