Login slowness from LDOM to ZONE


 
Thread Tools Search this Thread
Operating Systems Solaris Login slowness from LDOM to ZONE
# 1  
Old 10-17-2017
Oracle 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 an issue as I am logging from LDOM to Zone as zlogin <hostname>
- If I login into zone directly the user logging is very slow so suspected to be a DNS issue and verified resolve.conf and verified the DNS IP's
-nsswitch.conf
Code:
root@hrappt53:~# cat /etc/nsswitch.conf |grep dns
hosts:  files dns
ipnodes:        files dns

- Restarted zones to see if the issue resolved no use

I am running out of options . Need help
# 2  
Old 10-17-2017
Which version of Solaris?

When does the 13 secs get wasted? Doesn't give you a quick login prompt? Doesn't react quickly after the password is input?

When you experience the delay, how are you trying to login exactly? If you login to the global zone first does it then login at full speed when to connect to zone from there with 'zlogin'?
# 3  
Old 10-17-2017
Which version of Solaris?
Solaris 11.3

When does the 13 secs get wasted? Doesn't give you a quick login prompt? Doesn't react quickly after the password is input?
I get login prompt but after I enter password it doesnt react quickly . Thats where it take couple of sec


When you experience the delay, how are you trying to login exactly? If you login to the global zone first does it then login at full speed when to connect to zone from there with 'zlogin'?
Logging to Global zone is quick . But when logging into zone and that too only for this zone and rest 3 zones are fine. I suspect something going on with this zone .
# 4  
Old 10-18-2017
This could be caused by a number of things. What follows is not an exhaustive list but let's highlight a few.

1. Is that zone really busy for some reason? Try running performance stats (sar)
2. Is that zone being strangled by some resource constraint imposed when the zone was configured. Compare config with other zones. (zonecfg)
3. Are these zones whole root or sparse? Is usage of the global zone affecting this zones performance?
4. How is the user authentication carried out? Locally or remotely? Compare with other zones.
5. Can the login delay be interrupted? Can you break out of the delay time by hitting Ctrl-C? Does the prompt appear immediately if you do that? Or is the process uninterruptable?
6. The zone may be doing a reverse lookup to a node that isn't responding. Compare resolv.conf files between zones. Is the server(s) reachable? Working with one login client can you fix the problem by putting it's name & ip into that zones /etc/hosts making it instantly resolvable.
7. Does that zone have exclusive use of its own network interface? If it's sharing an interface (with the global zone for example) is traffic generated by the other zone delaying a reverse lookup?

Let me stop there for the moment. It's difficult to provide a definitive answer without you doing some of your own research. Do please post back your progress.

We're all here to help.
# 5  
Old 11-27-2017
Finally it worked Smilie

Shutdown all the application reboot the zone and tested the login again and it worked
# 6  
Old 11-28-2017
Is it always 13 sec or can be longer (even forever) ?
In most occasions such errors were no memory to fork or resolving (DNS) issue.

If it's always 13 sec, should be DNS releated.
Rebooting the zone probably applied the correct configuration in /etc/resolv.conf or one of the entries in resolv.conf started working again Smilie

Regards
Peasant.
# 7  
Old 12-07-2017
Code

The issue is back again after few days but found another solution

in /etc/profile there is a quota which checks the NFS mounts as well. My assumption that it is checking the quota of the mounts which is taking the user very slow login

at the user prompt try
Code:
touch .hushlogin

this will surpass checking the quota
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

Unable to login via console mode to non-global zone

tldr; We've installed a non-global-zone from a unified archive which once booted, we're unable to gain access to the system either through zlogin or zlogin -C. Errors; svc.startd: instance svc:/system/console-login:default exited with status 127 Investigation; 1) Already opened a SR with... (1 Reply)
Discussion started by: samthewildone
1 Replies

2. Solaris

Configuring zone and LDOM boot order

Is anyone aware of a method of configuring the boot order of zones and or LDOMS? (2 Replies)
Discussion started by: os2mac
2 Replies

3. Solaris

Zone console login prompt exit

Hi , I am not able to exit fom zone console login prompt. I have tried options like ~. ~~. and @. but it is not working fo me. Could someone Please help me on this. Thanks in Advance!! Regards, Laxxi (7 Replies)
Discussion started by: Laxxi
7 Replies

4. Solaris

Network Config on Zone in a Guest LDOM

Solaris for Sparc 11.1 with the latest patches. Created a Guest LDOM with two vnet's net0 and net1, installed a guest whole root, ip exclusive zone that I want to be able to utilize DHCP. I have been able to create the zone but unable to get it to boot because I am unable to assign an anet to it.... (4 Replies)
Discussion started by: os2mac
4 Replies

5. Solaris

ldom and zone

hi, what is the difference between ldom and zone. can we install any other os than sun in ldom. thanks, snj. (2 Replies)
Discussion started by: snjksh
2 Replies

6. Solaris

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... (7 Replies)
Discussion started by: Hari_Ganesh
7 Replies

7. UNIX for Dummies Questions & Answers

unable to login to zone after enable BSM

hi i am not able to the zones after i enable BSM, but i am able to login using "zlogin -S" option. is there any command which i can use to troubleshoot. thanks a lot! :cool: (0 Replies)
Discussion started by: legato
0 Replies
Login or Register to Ask a Question