1827296 Members
2046 Online
109960 Solutions
New Discussion

Re Slow Login Process

 
Adrian Jujescu_1
Occasional Contributor

Re Slow Login Process

Hello all !!!

On a rp4400 HP server( OS=HPUX.11.11i ) I have to deal with an ennoying problem. After a fresh boot all the login processe takes few seconds to perform. After few days the login duration start to increase gradually and after about a month it takes 2-3 minutes to performa a standard or remote(telnet) login.
The single solution is to reboot the server at every 4-5 weeks.
I want to ask if you know a method to "spy" the login process to see what's happening and where he stays so long in order to do the required corrections.
As I know today the login processes does not record nothing into the syslog.log file, only minor informations into the wtmp, btmp and other files so I dont have any information about what's really happening and what is the cause of this progressive increase of the login duration.

Thanks in advance !!!
Adrian Jujescu
3 REPLIES 3
harry d brown jr
Honored Contributor

Re: Re Slow Login Process


possibly a DNS issue.

Possibly a rogue process consumming resources - check system with glance.

live free or die
harry
Live Free or Die
Jeff Schussele
Honored Contributor

Re: Re Slow Login Process

Hi Adrian,

Chances are it's a who command in the /etc/profile command - especially a who -R which causes a DNS lookup. IF you get workstations logged in that aren't in DNS then the profile command is delayed by the DNS timeout value & this multiplies by the number of these workstations logged in OR that have improperly disconnected & are *thought* to be logged in. So user education can come into play here as well - especially if DHCP is in use in your enterprise. Reminding the users to properly log out can help as well.
When you reboot you clear all these entries & you experience no DNS delays.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
OldSchool
Honored Contributor

Re: Re Slow Login Process

Adrian,

We had a similar issue here when the primary DNS server went down, it was taking 2-3 minutes to get a login prompt. Check your /etc/resolv.conf file to make sure the correct information in it for reverse lookups, by default this is turned on.

/etc/resolv.conf
domain domain.name
nameserver ip.here
nameserver ip.here

My nameserver is populated with the DNS servers IP addresses and the domain is defined in my /etc/hosts file.


Hope this helps.


Tom Vormwald
Systems Administrator