/bin/login hangs if an NFS server down?

Guy Harris auspex!guy at uunet.uu.net
Sat Oct 27 09:10:00 AEST 1990


>|Does anybody know what the heck /bin/login is doing in that child process
>|that takes 1'16" to terminate?  Is it secretly doing a df?

One hypothesis, presented in the posting to which I'm following up, is
that the user's shell is doing a "getwd()" to find the current directory.

This may well be the case, but there's another possible answer as well.

You may not be running quotas, but unless the client has done all its NFS
mounting with the "noquota" option, "/usr/ucb/quota", which is run by
"/usr/bin/login", will still try to talk to the quota daemons on all the
servers for file systems the client has mounted in order to find out
whether the user logging in is over quota or not.  If the server is down,
this will time out, and take a while to do so.



More information about the Comp.sys.sun mailing list