BSD tabanlı bir çözüm buldum
Andy B,
Also, Panther supports using /etc/sysctl.conf to set sysctl values. The /etc/rc startup script is setup to read from the /etc/sysctl.conf file which it doesn't exist by default. You could create a 'sysctl.conf' file and put your changes there by running in Terminal.app:
% pico /etc/sysctl.conf
and then writing the following lines to it:
kern.maxfilesperproc=20480
kern.maxfiles=22528
You can also check the current system limits with:
[pm @ Sao: ~] % sysctl kern | grep max
kern.ipc.maxsockbuf: 262144
kern.ipc.somaxconn: 128
kern.ipc.maxsockets: 512
kern.sysv.shmmax: 4194304
kern.maxvnodes = 25600
kern.maxproc = 532
kern.maxfiles = 12288
kern.argmax = 262144
kern.maxfilesperproc = 10240
kern.maxprocperuid = 100
kern.aiomax = 90
kern.aioprocmax = 16