Re: Logic Audio and MAXFILEs
Re: Logic Audio and MAXFILEs
- Subject: Re: Logic Audio and MAXFILEs
- From: Marc Poirier <email@hidden>
- Date: Thu, 13 Nov 2003 00:19:52 -0600 (CST)
You want to do maxfilesperproc, not maxfiles (or in addition to maxfiles I
guess, if your maxfilesperproc value is pinching on the maxfiles value).
Setting maxfiles sets how many files can be open by the entire OS at a
given time, all apps combined, but it doesn't change how many files a
single app can have open, that's what maxfilesperproc does. Hmmm, though
I just tried it (in 10.2) and it appears that the shell implementation
doesn't support handling the kern.maxfilesperproc value, hmmm...
Of course, you shouldn't really have to worry about this and apps like
Logic should be doing a setrlimit(RLIMIT_NOFILE, etc.) when the limit for
open files is hit. The default value per process (at least in 10.2) is
256, which definitely isn't adequate for a lot of sampler needs. But
anyway, you'd probably be better off filing a proper bug report than
sending emails to this list about this.
You could write an Audio Unit to load in Logic and do the setrlimit.
If you want to ask any questions about how to do that, that would be more
topical for this list... ;)
Marc
On Thu, 13 Nov 2003, Cyril Blanc wrote:
>
Hello
>
>
Sorry to bother you, gods of the midi/audio ;o)))
>
>
I have post this message on an OS X list but nobody could answer,
>
>
> Hello
>
>
>
> I have tried this terminal command :
>
>
>
> sudo sysctl -w kern.maxfiles=32000
>
>
>
> because I had the message "too many files open" loading samples into Logic
>
> audio
>
>
>
> But Panther does not keep it, is there is a way to save this for next session
>
> !
>
>
>
While I am at it, when does the supplier list and the list of synth will be
>
available in the audio / midi setup .
>
May be you could get the synth images from Sound Diver !
>
>
Thanks in advance.
>
>
Best regards
>
>
Cyril Blanc
>
France
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.