When having the following in root's .bashrc: ulimit -n 90000 starting portmap, then doing rpcinfo -p causes portmap to crash. Also doing a: strace /sbin/portmap -vd segfaults on a select call with a very large file descriptor set. I don't know if this is a bug in glibc or portmap. Any help appreciated. Viraj.
It tries a huuuge select call, and dies doing that... jakub?
Created attachment 8504 [details] strace of portmap -vd
Note - none of this happens on a rawhidish system w/2.4 kernel and glibc 2.2
Fixed in newer versions of Red Hat Linux.