How safe is sysctl(8) to change kern.maxfiles?

FilSalustri

Registered
I'm running 10.4.4 on a dual g5. In response to occasional but disabling system messages like: kernel[0]: file: table is full, I'm considering

% sysctl -w kern.maxfiles=25000

which is about 2x the current value.

How safe is this? Alternate solutions?

Thanks in advance.
Fil Salustri
 
It should be safe. Kinda makes me wonder what applications you are running.

I have not done this with Darwin but I have with FreeBSD. Do it from the command line to see if the error goes away. You would make this entry on FreeBSD in /etc/sysctl.conf to keep after reboots. Don't know where it should go on Darwin
 
Back
Top