SUMMARY: long login times

From: Dr. Otto Titze, Kernphysik TUD, +49 6151 162916 <titze_at_ikp.tu-darmstadt.de>
Date: Mon, 11 Oct 1999 08:34:00 +0100 (CET)

Thanks to all who responded, even over the weekened

rich <raf_at_ezunx.com>
"Leonard, Roger" <rleonard_at_cvty.com>
"Hummers, Rick (Frederick)" <hummers_at_cabletron.com>

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 <raf_at_ezunx.com>

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" <rleonard_at_cvty.com>

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)" <hummers_at_cabletron.com>

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
Received on Mon Oct 11 1999 - 06:38:01 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT