dccm failure under load

Vernon Schryver vjs@calcite.rhyolite.com
Sun Jan 5 20:26:27 UTC 2003


> 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



More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.