Subject: Re: increase default for number of files descriptors per process (was Re: Speeding up "pstat -T")
To: None <tech-userlevel@NetBSD.org, tech-kern@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 10/05/2003 20:24:41
[atatat]
>> allow me to rephrase:
[perry]
> Your rephrasing doesn't actually make it any easier for me to
> understand what you intended...
There are too many "hard limit"s floating around. I think I understand
what atatat meant (check me?): The "hard limit" that is putatively to
be "eliminate"d is not the RLIMIT_STACK rlim_max, but rather the cap
above which not even root is allowed to raise RLIMIT_STACK's rlim_max.
>> this is not to say that there would not be a limit to the hard
>> limit; only that it would not be set at kernel compile time.
"That cap will still exist; it just will be set at boot time, not
kernel build time." This actually prompts me to ask, will it be
modifiable without rebooting, such as with a sysctl? (Obviously the
new value would apply only to execs that happen after the change,
unless you want to get fancy.)
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B