cancel
Showing results for 
Search instead for 
Did you mean: 

slow Login Issue

SOLVED
Go to solution
wayne_104
Regular Advisor

slow Login Issue

Hi

I am at my wits end.

I have a rx2600 8 gig ram 2 dual core 1.3 ghz processors.

They are aggregated with 3 gig pipe. (3 x 1 gig nics)

when loging in it takes about 2 seconds. after pressing the enter button.

On my other system with the exact same specs it is almost instantaneous.

Glance of quick system

CPU Util | 1% 2% 2%
Disk Util | 20% 24% 28%
Mem Util |100% 99% 100%
Swap Util | 65% 65% 65%

Glance of slow system

CPU Util | 4% 8% 40%
Disk Util | 11% 30% 100%
Mem Util | 99% 99% 100%
Swap Util | 52% 52% 52%

On the fast system there is more swap activity going on.

On the slow system there is more disk activity.

How can this account for the slow login?
8 REPLIES
Shibin_2
Honored Contributor

Re: slow Login Issue

Did you check, why this disk utilization is high ?
Regards
Shibin
wayne_104
Regular Advisor

Re: slow Login Issue

yea we doing a migration of data.
Laurent Menase
Honored Contributor

Re: slow Login Issue

dns and nsswitch is the same?
are the directory local in the 2 cases or nfs mounted.
Mel Burslan
Honored Contributor

Re: slow Login Issue

Logging in using what ? Console ? ssh ? telnet (god-forbid) ?

Same type of question was here in the last couple of days. Did you check the sizes of /var/adm/wtmp /var/adm/wtmps /var/adm/btmp /var/adm/btmps.

I bet, on your slow login system, one or more of these files have a considerably larger size, compared to the faster login system.
________________________________
UNIX because I majored in cryptology...
Aungshuman Paul
Regular Advisor

Re: slow Login Issue

Hi,

We faced same problem for slow login when use ssh but telnet was ok. Most of the case it was due to nssswitch.conf file problem. Check the file.

Aungshu
wayne_104
Regular Advisor

Re: slow Login Issue

hi the nsswitch files are exactly the same.
Richard Hepworth
Esteemed Contributor
Solution

Re: slow Login Issue

Wayne,

Compare the sizes of /var/adm/wtmps on both systems. If this is large it will delay login. We have to rotate this file everyday on some of our busier systems to ensure it keeps login times down.

regards,

Richard
wayne_104
Regular Advisor

Re: slow Login Issue

Hi Mel and richard were on the money. MEl sorry you were supposed to get 10 points as well.Dont know what happned.