Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Login slowness from LDOM to ZONE

Solaris


Tags
ldom, solved, zones

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-17-2017   -   Original Discussion by ajayram_arya
ajayram_arya's Unix or Linux Image
ajayram_arya ajayram_arya is offline
Registered User
 
Join Date: Jan 2012
Last Activity: 7 December 2017, 3:05 PM EST
Posts: 202
Thanks: 45
Thanked 3 Times in 3 Posts
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
Sponsored Links
    #2  
Old Unix and Linux 10-17-2017   -   Original Discussion by ajayram_arya
hicksd8's Unix or Linux Image
hicksd8 hicksd8 is offline Forum Staff  
Moderator
 
Join Date: Feb 2012
Last Activity: 13 December 2017, 3:42 PM EST
Location: Devon, UK
Posts: 1,664
Thanks: 241
Thanked 408 Times in 346 Posts
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'?
Sponsored Links
    #3  
Old Unix and Linux 10-17-2017   -   Original Discussion by ajayram_arya
ajayram_arya's Unix or Linux Image
ajayram_arya ajayram_arya is offline
Registered User
 
Join Date: Jan 2012
Last Activity: 7 December 2017, 3:05 PM EST
Posts: 202
Thanks: 45
Thanked 3 Times in 3 Posts
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 Unix and Linux 10-18-2017   -   Original Discussion by ajayram_arya
hicksd8's Unix or Linux Image
hicksd8 hicksd8 is offline Forum Staff  
Moderator
 
Join Date: Feb 2012
Last Activity: 13 December 2017, 3:42 PM EST
Location: Devon, UK
Posts: 1,664
Thanks: 241
Thanked 408 Times in 346 Posts
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.
Sponsored Links
    #5  
Old Unix and Linux 2 Weeks Ago   -   Original Discussion by ajayram_arya
ajayram_arya's Unix or Linux Image
ajayram_arya ajayram_arya is offline
Registered User
 
Join Date: Jan 2012
Last Activity: 7 December 2017, 3:05 PM EST
Posts: 202
Thanks: 45
Thanked 3 Times in 3 Posts
Finally it worked Linux

Shutdown all the application reboot the zone and tested the login again and it worked
Sponsored Links
    #6  
Old Unix and Linux 2 Weeks Ago   -   Original Discussion by ajayram_arya
Peasant's Unix or Linux Image
Peasant Peasant is offline Forum Advisor  
Registered User
 
Join Date: Mar 2011
Last Activity: 13 December 2017, 9:44 AM EST
Posts: 1,101
Thanks: 31
Thanked 330 Times in 285 Posts
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 Linux

Regards
Peasant.
Sponsored Links
    #7  
Old Unix and Linux 6 Days Ago   -   Original Discussion by ajayram_arya
ajayram_arya's Unix or Linux Image
ajayram_arya ajayram_arya is offline
Registered User
 
Join Date: Jan 2012
Last Activity: 7 December 2017, 3:05 PM EST
Posts: 202
Thanks: 45
Thanked 3 Times in 3 Posts
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
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Configuring zone and LDOM boot order os2mac Solaris 2 08-25-2015 04:20 PM
Network Config on Zone in a Guest LDOM os2mac Solaris 4 02-01-2013 04:10 PM
ldom and zone snjksh Solaris 2 06-16-2010 10:57 AM
Login Slowness Hari_Ganesh Solaris 7 07-09-2009 06:44 AM



All times are GMT -4. The time now is 12:26 AM.