I have autofs installed on several linux servers that are connecting to central NFS server for the users /home directories. It works great when mounting the directories on login, but the mounts never seem to timeout. I've checked /etc/sysconfig/autofs and the default is indeed set to 300, so these should be timing out after 5 minutes.Restarting autofs does umount all of the directories, so I know it's capable.I've attempted using lsof randomly on the directories but no files appear open at any time. I've also mounted a random directory that I know is not active, but these never umount themselves. Some of these boxes have 10+ users that have logged in once, and the mounts never drop.I'm just trying to find out of there is a better method to finding out why. I don't see anything specific in any logs. Any suggestions are appreciated. Thanks!UPDATEI turned on debugging for autofs but it doesn't seem to reveal anything out of the ordinary. These logs were generated 7 minutes after the /home/user1 was initially mounted and after 6 minutes of inactivity. According to the 5 minute default, this should have been unmounted. I never saw a log come through that indicated an attempt was even made to umount.Jan 11 12:52:00 linux automount[26505]: st_expire: state 1 path /homeJan 11 12:52:00 linux automount[26505]: expire_proc: exp_proc = 3055176592 path /homeJan 11 12:52:00 linux automount[26505]: expire_proc_indirect: expire /home/user1Jan 11 12:52:00 linux automount[26505]: expire_proc_indirect: expire /home/user2Jan 11 12:52:00 linux automount[26505]: expire_proc_indirect: expire /home/user3Jan 11 12:52:00 linux automount[26505]: 3 remaining in /homeJan 11 12:52:00 linux automount[26505]: expire_cleanup: got thid 3055176592 path /home stat 7Jan 11 12:52:00 linux automount[26505]: expire_cleanup: sigchld: exp 3055176592 finished, switching from 2 to 1Jan 11 12:52:00 linux automount[26505]: st_ready: st_ready(): state = 2 path /homeUpdate 2After talking to Red Hat support about this, the solution ended up being to just shorten the timeout value for home directories. I did that and looks well. Something apparently is traversing the mount point every 2 1/2 to 3 minutes and causing this to stay up. The solution was to add the timeout value to the /etc/auto.master file for that mapping: /home     /etc/auto_home --timeout=120
autofs mounts not disconnecting after inactive
rhel;mount;nfs;autofs