dccm failure under load

Vernon Schryver vjs@calcite.rhyolite.com
Sun Jan 5 23:47:34 UTC 2003


> 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'?

What if the current limit in nofile.rlim_cur is more than about 412?


Vernon Schryver    vjs@rhyolite.com



More information about the DCC mailing list

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