From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079079016056.tru64-unix-managers.marc@archive.invalid> From: "Dr. Otto Titze, Kernphysik TUD, +49 6151 162916" Date: Mon, 11 Oct 1999 07:34:00 +0000 To: tru64-unix-managers Subject: SUMMARY: long login times X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079079016056 Thanks to all who responded, even over the weekened rich "Leonard, Roger" "Hummers, Rick (Frederick)" In the meantime my problem disappeared. The only reason I see so far: We had a problem in the University network over the weekend but our local subnet was ok. The name servers (in the University network have been also reachable. Therefore not quite to understand.) To the answers, which are included below - nodes in /etc/hosts: yes have been there - order in /etc/svc.conf: yes, have been local,yp - filesystem hangs: could not see an indication for that (nevertheless I had rebooted the nodes which didn't help) So I really don't have an explanation. On the other hand I don't understand from the responses, why there should be a difference between a login with CDE or over a lat ASCII terminal. Regards Otto ----------- Original Question: rather curious - login times up to ten minutes with CDE. Environment: Node6 Unix V 4.0D, NIS Server, CDE Node5 Unix V 4.0D, CDE Node2 Unix V 4.0A, Disk with the home directories for the users nfs mounted on Node6 and Node5 Login with CDE for a normal user on Node5,6 takes about 10 minutes. CDE Login for root fast as usual.(root has local directories) Login from a lat (Vtx00) Terminal - immediately. All three nodes are rather idle (Saturday!). Network load is low (less than 2 % on the particular ports on the switch to which all these nodes are connected by 10BaseT) I rebooted all three nodes - no difference. ------- rich check your hosts file -- when logging in and connecting network drives and other related "network" tasks, DU does DNS lookups on the connecting host. Depending on timeouts and such for the dns servers, well, if the connecting hosts are not in DNS or the HOSTS file of the alpha, it can take from 3-8 minutes (or sometimes 10, because of network connections) The quick fix -- add the connecting hosts to /etc/hosts, or DNS. hope this helps. rich -------- "Leonard, Roger" check the name service lookup order in /etc/svc.conf and make sure you are looking local first then nis then dns. it sounds like a name lookup timeout. -------- "Hummers, Rick (Frederick)" I had a similar set of symptoms after doing some V4.0B to V4.0D upgrades and changing from XDM to CDE on several workstations. In my case even successful root logins would hang when disks were stated (df or ls -l /). What I found was going back to XDM was a workaround. What I finally found was that something happened to the directories/links for all the automounted filesystems. There were some links (indicated by foo -> /tmp_mnt/bar) BUT also marked as directories (drwxr-wr-w in the first field of a ls -l), some were links, some were directories. I finally shutdown -h all impacted systems and rebooted to single user (not just shutdown to single user - I wanted to insure that the automounted/nfs directories were all gone) did a rmdir on all these automounted directories. Those that were not directories but still links I did a rm -f on them. Rebooting to multi-user mode, using xdm or cde, and then delays/hangs were gone. Hope this helps. \s\Rick