[RTcmix-discuss] Where's that file?
brad at music.columbia.edu
Fri Dec 8 14:47:52 EST 2006
Oh this is fun...
using tcsh/csh, I cannot reset my open files higher than 256! If
I try ulimit -n 1024, then ulimit -a still shows 256 (as does your
program). However, using sh/bash I can indeed set it to 1024,
and your program reports it as such. Going back to tcsh/csh
sets it back to 256 again.
On Dec 8, 2006, at 2:34 PM, John Gibson wrote:
> Oh, maybe you could do one more test on OS X.
> If you first do "ulimit -n 1024" and then run
> this program, does it print out 1024?
> Brad Garton <brad at music.columbia.edu> wrote:
>> Got this:
>> Max open files: 256
>> so it woiks!
>> On Dec 7, 2006, at 9:26 PM, John Gibson wrote:
>>> #include <unistd.h>
>>> #include <stdio.h>
>>> int main(int argc, char *argv)
>>> long maxfiles = sysconf(_SC_OPEN_MAX);
>>> printf("Max open files: %ld\n", maxfiles);
>>> return 0;
> RTcmix-discuss mailing list
> RTcmix-discuss at music.columbia.edu
More information about the RTcmix-discuss