Gary Mills
mills@cc.UManitoba.CA
Sun, 5 Jan 2003 15:44:46 -0600
On Sun, Jan 05, 2003 at 01:26:27PM -0700, Vernon Schryver wrote:
> > From: Gary Mills <mills@cc.UManitoba.CA>
>
> > i = max_work*2+EXTRA_FILES;
> > old_rlim_cur = nofile.rlim_cur;
> > if (old_rlim_cur < i) {
> > nofile.rlim_cur = i;
> > if (0 > setrlimit(RLIMIT_NOFILE, &nofile)) {
>
> Yes, that is bogus code for increasing the kernel's FD limit if you use
> an explicit `dccm -j` value instead of using the max_work limit
> inferred from the kernels' FD limit. I'll fix it in 1.1.18.
It looks to me as if it always sets the file descriptor limit.
If `-j' is not used, doesn't it use the default `max_work = 200'?
--
-Gary Mills- -Unix Support- -U of M Academic Computing and Networking-