Subject: rpcbind vs. portmap
To: None <tech-userlevel@netbsd.org>
From: Chuck Cranor <chuck@research.att.com>
List: tech-userlevel
Date: 06/11/2001 10:46:26
hi-

    can someone explain to me why rpcbind has to keep so many
file descriptors open when portmap did not?   this is what i'm
talking about:

xxx> uname -sr
NetBSD 1.5
xxx> netstat -f unix | grep rpcbind | wc
      39     351    3432
xxx> fstat | grep rpcbind | wc
      50     448    3304
xxx> 


dwarf9[5]> uname -sr
NetBSD 1.4.1
dwarf9[6]> fstat | grep portmap
root     portmap      156   wd /             2 drwxr-xr-x    1024 r 
root     portmap      156    0 /         11725 crw-rw-rw-    null rw
root     portmap      156    1 /         11725 crw-rw-rw-    null rw
root     portmap      156    2 /         11725 crw-rw-rw-    null rw
root     portmap      156    3* internet dgram udp c0c6d05c *:111
root     portmap      156    4* internet stream tcp c0c75000 *:111
dwarf9[7]> 

this on lightly loaded systems.   what are the scaling properites
of rpcbind?


thanks,
chuck