Login Slowness


 
Thread Tools Search this Thread
Operating Systems Solaris Login Slowness
# 1  
Old 07-06-2009
Login Slowness

Hi Folks

My Sun Solaris servers are waiting for a long time after keying in the User-ID. There is a big delay in getting to the password prompt. But once the password is keyed in,it goes through in a second.

The servers in which i am facing this issue is an NIS client. But i am facing this issue for Local users also.

Any idea what the issue is and how it can be resolved?

The /etc/nsswitch.conf file has the passwd variable like below:

passwd: files nis



Thanks
HG
# 2  
Old 07-06-2009
Do the last few lines of your passwd file contain something like "+:::" or start with a plus sign? If so, it's checking the NIS tables twice. The reason for the slowness might be the (1) identd daemon, (2) the reverse-lookups (see resolv.conf and see that the remote host has a reverse-IP map) (3) /etc/hosts.allow/hosts.deny files.

There might be other causes, but I think these are the most common.
# 3  
Old 07-06-2009
Hi Otheus,

No,My /etc/passwd file doesn't have this "+:::" at the end of the file.
Nor do i find any issues with /etc/hosts.allow/deby file.

Yes,as you said this could be a DNS issue as i find that ping to hostnames are responding but taking a lot of time.
But,What should i check for from DNS server end? Can you please help me on this statement -(2) the reverse-lookups (see resolv.conf and see that the remote host has a reverse-IP map) ?

Note -I am facing this issue in only 4 of my servers(from a farm of around 30).These 4 servers are in a separate VLAN.

Thanks
HG
# 4  
Old 07-06-2009
Right -- you could be having routing issues, not resolver issues. First, check your route table (route -n or netstat -rn) and see that your default gateway is only 1 hop away (it can be more, but then you need a route to it).

Check also /etc/resolv.conf and make sure it matches that of a properly-running machine.

On a properly-running machine, try "dig -x IPADDRESS" for both machines (the client and the improperlyconfigured server). You should get named addresses for both. If not, you need to fix the dns server. If so, try the same on the server to make sure it sees the same info.
# 5  
Old 07-07-2009
Hi Otheus

Wanted to thank you for your valuable suggestions.
Also wanted to let you know that the slowness issue got better after i copied all entries(around 600) in /etc/inet/hosts file to /etc/inet/ipnodes and changed the hosts and ipnodes parameters in nsswitch.conf file to look in files,dns.

I read this somewhere and thankfully it worked.
But didn't really understand how this has resolved(not quite fully) my issue.Any thoughts on this?

Thanks
HG
# 6  
Old 07-07-2009
Post the output of
Code:
time ypcat hosts >/dev/null

Then try "getent" instead of ypcat.
# 7  
Old 07-09-2009
Hi otheus,

sorry for the delay.
Pasting the requested output:

[8]d08083: time ypcat hosts >/dev/null
real 0m0.05s
user 0m0.00s
sys 0m0.03s
mumux101 @ /users/d08083
[9]d08083: time getent hosts > /dev/null
real 0m0.01s
user 0m0.01s
sys 0m0.00s
mumux101 @ /users/d08083
[10]d08083:

May i know what you are trying to achieve/convey?

Thanks
HG
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Slowness issue

Oracle database is facing slowness issues frequently on AIX server. So can anybody suggest how to fix these issues from OS end? Do we need to tune any parameter in AIX to resolve this issue? Please post in an adequate forum! (1 Reply)
Discussion started by: vithal
1 Replies

2. Solaris

Login slowness from LDOM to ZONE

Need assitance in troubleshooting steps . Below is the issue I have LDOM which has 4 zones on it . One zone logging into the server takes 13sec where as other zones are quick . Troubleshooting steps which I did - Checked /var/tmp . Not many files - We have LDAP but thought that wouldnt be... (7 Replies)
Discussion started by: ajayram_arya
7 Replies

3. Solaris

Java Application slowness with Xmanager

Hi! I have a m3000 server with solaris 10. Clients connecting to server using Xmanager. But when they open a Java based application its very slow and some times hanging. But when I tried with VNC it works fine. Is this a BUG in Xmanager? Or Is there any method to solve this? Thanks, Charith (3 Replies)
Discussion started by: charith.upendra
3 Replies

4. Solaris

ssh slowness

Hi admins, After changing the ip address(temperorily) ssh to that server is very slow(exactly 25 sec).But from this new ip i can ssh to other servers without any delay problem. debug1: match: Sun_SSH_1.1.1 pat Sun_SSH_1.1.1* debug1: Enabling compatibility mode for protocol 2.0 debug1:... (2 Replies)
Discussion started by: newsol
2 Replies

5. Solaris

NIS performance slowness

Hi I have a Solaris 10 NIS server and more than 250 NIS clients out of these there are 5 main application servers, and whenever there is any compilation happens on any of the application servers (which are acting as NIS clients) entire NIS performance will come down.Can some one help me to fix... (5 Replies)
Discussion started by: nithnara
5 Replies

6. Solaris

Solaris 10 Slowness

Hi, We have got 2 solaris boxes, since our inhouse application has certified on solaris environment and now we need to certify the performance of that application on Solaris environment. 1 box we have installed websphere and the other box we have installed Oracle 10.2.0.3. both are 64bit. ... (5 Replies)
Discussion started by: mp_rocket
5 Replies

7. Solaris

error message rmclomv ... SC Login Failure for user Please login:

Hello World ~ HW : SUN Fire V240 OS : Solaris 8 Error message prompts 'rmclomv ... SC login failure ...' on terminal. and Error Message prompts continually 'SC Login Failure for user Please login:' on Single Mode(init S) The System is in normal operation, though In case of rain, Can... (1 Reply)
Discussion started by: lifegeek
1 Replies

8. HP-UX

HP-UX Intermec Label Slowness

We recently moved from a Open VMS OS to HP-UX. When printing labels on Intermec 3400 printers we are seeing a delay of up to 3 minutes before labels print. We have printers going through a DEC Term servers and Jet Direct boxes. Any suggestions what might be causing this delay? (4 Replies)
Discussion started by: BIGJIM
4 Replies

9. SCO

Terminal Slowness

I have attempted to2find answers to this question: When logging into tty01 the system will take 5 to 10 seconds to display each character typed. Each other terminal will login correctly and display correctly2but not the first terminal. Rebooting was suggested on several sites and this has been... (2 Replies)
Discussion started by: ypanic
2 Replies

10. Linux

slowness of Linux 8.0 server

Hi, I have a Linux 8.0 Redhat installed as a server. The samba configuration was done to allowed logging in to the server from windows workstations. I have a LAN, WAN connection. However, any time the workstation is trying to make a WAN connection it slow down all the systems on the network. Can... (0 Replies)
Discussion started by: kayode
0 Replies
Login or Register to Ask a Question