Vernon Schryver
vjs@calcite.rhyolite.com
Sun, 5 Jan 2003 13:26:27 -0700 (MST)
> From: Gary Mills <mills@cc.UManitoba.CA>
> ...
> I wonder then, if `dccm' is setting the file descriptor limit too low?
> The code looks like this:
>
> 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.
Vernon Schryver vjs@rhyolite.com