On 10/05/18 19:34, Brian J. Murrell wrote: > Hi. > > I'm running autofs 5.1.4 on Fedora 27. I've come to discover that > automount is holding a lot of file descriptors. Over 5K of them. > > About half of these are in half-open TCP sockets (to NFS server port > 2049 in a small number of NFS servers) and the other half are UDP > sockets. > > $ ps -ef | grep automount > root 2075 1 0 May04 ? 00:00:40 /usr/sbin/automount --foreground --dont-check-daemon > # lsof -n -p 2075 | grep CLOSE_WAIT | wc -l > 2711 > > And the UDP sockets in the form of: > > automount 2075 root 5404u IPv4 18768127 0t0 UDP *:37151 > > # lsof -n -p 2075 | grep UDP\ \\*: | wc -l > 2664 > > As you can see, just those two together amount to over 5000 open file- > descriptors. > > Any ideas or thoughts? I worked out what is wrong. For others that might need this too see: https://bugzilla.redhat.com/show_bug.cgi?id=1576765 Ian -- To unsubscribe from this list: send the line "unsubscribe autofs" in