I've decided to change the Hurd's initial RLIMIT_NOFILE soft limit value
from unlimited (RLIM_INFINITY) to 1024, the same initial value that
Linux-2.2.12 uses.  Since Linux's default limit is 1024, and NetBSD
defaults to only 64, I think this is a reasonable choice.  As on BSD and
Linux, savvy programs can use setrlimit to raise the limit; there is still
no hard limit for the Hurd, so a program can raise its limit arbitrarily.
The upshot of this is that getdtablesize and sysconf (_SC_OPEN_MAX) will
normally return 1024 in a program that doesn't do anything special.  This
should avoid various porting problems with certain programs that use
getdtablesize, and should work around the -lrpcsvc troubles.

I made this change in glibc-2.1 (as well as the development glibc-2.2), so
it should be in the next glibc release package you see.

Reply via email to