![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Who does the Login process | saravana | UNIX for Dummies Questions & Answers | 3 | 01-22-2008 08:49 AM |
| Can no longer login. | thebigm | Forum Support Area for Unregistered Users & Account Problems | 0 | 07-16-2007 02:52 PM |
| Killing a process that takes too long | WeezelDs | Shell Programming and Scripting | 3 | 04-10-2006 04:33 PM |
| Interrupt signal Control C takes too long to terminate a process | paqui | UNIX for Advanced & Expert Users | 8 | 10-17-2005 11:30 AM |
| login error(can not set process env.) | amit | UNIX for Advanced & Expert Users | 5 | 12-23-2001 04:39 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Login Process takes longer
Hello.
Since Yesterday, I notice that after giving telnet IP or SSH IP - it takes long time to display login: , I mean earlier after entering Server name It used to immediately ask for login ID and then password. But, now it takes min of 2-3 minute to ask for password. Where can I check, whats going wrong? |
|
||||
|
I usually use strace to have an idea of what a program is doing. Of course, if you do not have some C programming background the output may not make enough sense to you. It outputs the system calls being called. You can look at the neighbouring system calls around places where large latencies occur to give you an idea what happened at that time.
One possibility that I encounter recently is that reverse DNS of IPv4 addresses is down or simply being slow. In that case, the SSH process may need to timeout before trying another one. MySQL has similar issues as well. |
|
||||
|
Login Process takes longer on AIX
How to turn off DNS resolutions - First of all what is DNS, and why is it coming in picture here on UNIX? Direct telnet from server back to itself is also slow. I mean, it shows connected to server but login: prompt comes delayed only. There are no performance issues also on applications.
Please advice. |
|
||||
|
Exactly what happens to your system only you can trace yourself. Mine was confirmed related to DNS because that occurred on a supposedly idle server over a few days and afterwards the problem went away with no change made. That is a sign that DNS may be a cause. I could confirm with strace later that way.
For OpenSSH server side, there is a UseDNS configuration option in sshd_config. Set it to "no". Not sure about Telnet. In fact this is in the OpenSSH FAQ: OpenSSH FAQ |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|