如何修改max os x关于用户的配额限制,主要是进程数和文件句柄数。
I always had a process limitation problem on OSX. You may encounter this when you open too much applications. In my case, using iTerm, I easyily open far too much shells to servers I have to deal with.
You will then get a « login: fork: Resource temporarily unavailable » error message. When trying to start a new application, you will barely see the icon in the dock, then it will disapear. Now you’re in Troubble !
Hopefully, as OS X is a UNIX system, you have a solution. The only bad side is that you will have to reboot.
If you are running Leopard (10.5.x), using the first trick will lead you to the Windows Server not running… Pretty anoying. Use SSH and put back the Windowserver in its place. This is what I did, with the help of the blog at http://ruminate.net/pdm :
Sudo -s to get a root shell. Then create the two files like :
引用
/etc/launchd.conf