We are using AMD with 3 NIS maps and one "usual" map and after several days it runs out of file descriptors. We run AMD on two computers and the problem occurs on both. Computer 1 has: am-utils-6.0a16-2 glibc-2.0.7-19 ypbind-3.3-7 kernel 2.0.35 Computer 2 has: am-utils-6.0a16-3 (recompiled from RawHide SRPM under kernel 2.1.121) glibc-2.0.7-19 ypbind-3.3-7 kernel 2.1.123 On computer 2: # ls -l /proc/<AMD pid>/fd total 0 lrwx------ 1 root root 64 Oct 6 03:10 0 -> /dev/console lrwx------ 1 root root 64 Oct 6 03:10 1 -> /dev/console lrwx------ 1 root root 64 Oct 6 03:10 10 -> socket:[20121] lrwx------ 1 root root 64 Oct 6 03:10 100 -> socket:[102963] lrwx------ 1 root root 64 Oct 6 03:10 101 -> socket:[102967] lrwx------ 1 root root 64 Oct 6 03:10 102 -> socket:[102971] lrwx------ 1 root root 64 Oct 6 03:10 103 -> socket:[104109] lrwx------ 1 root root 64 Oct 6 03:10 104 -> socket:[104113] lrwx------ 1 root root 64 Oct 6 03:10 105 -> socket:[104117] lrwx------ 1 root root 64 Oct 6 03:10 106 -> socket:[105266] lrwx------ 1 root root 64 Oct 6 03:10 107 -> socket:[105270] ...
This is fixed by the upgrading glibc to a more recent version. Previous releases had a file descriptor leak in the NIS code.