14 Sep
2007
14 Sep
'07
10:13 p.m.
On Sep 14, 2007, at 20:48, Xavier Beaudouin wrote:
(replying to myself)
After a long time, the OS X client say error : "Too Many opened
files".Seems that OS X has stupidly low number of files that can be opened...
$ ulimit -a [...] open files (-n) 256
On my MacBook Pro....
This is bloody low....
So I've figured to change this limit globaly, but it seems that OS
X don't have any limits.conf or default values....
Use launchctl for this under 10.4. Edit /etc/launchd.conf or create
it if it does not exist and enter
limit maxfiles 512 1024
The first number is the soft limit the second one the hard limit.
Reboot the computer and the limits are changed systemwide