Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Andy B

macrumors newbie
Original poster
Mar 12, 2004
17
0
Hi,

I'm trying to find out what the 'maximum files open limit' is in OSX. I've hit a problem with an audio application and am trying to work out if it's the application or the OS.

Thanks in advance,

Andy.
 
Andy B said:
Hi,

I'm trying to find out what the 'maximum files open limit' is in OSX. I've hit a problem with an audio application and am trying to work out if it's the application or the OS.

Thanks in advance,

Andy.

Open a terminal and type ulimit -a
You can use the same command to alter the limit
 
Thanks Broken Keyboard.

I could see the limit, but couldn't seem to change it? Also that was on my G5 OS 10.3.5, but I also need to do it on my G4 OS 10.2.8. and it doesn't recognise the command on the G4. Any ideas for OS 10.2.8?

Thanks again,

Andy.
 
Don't know about 10.2 sorry...

I'm able to change it on 10.3 by typing
ulimit -n 512

(for example)

If I type ulimit -n unlimited it changes it to 12288, so that must be the absolute max...
 
Try this....

On OS X.8 ulimit works in much the same manner, however don't bother looking at current values. Simply run

ulimit -n 512
ulimit -a

Do not run with the unlimited option as it will change it back to 256 and subsequently prevent higher values.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.