![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Who does the Login process | saravana | UNIX for Dummies Questions & Answers | 3 | 01-22-2008 04:49 AM |
| Can no longer login. | thebigm | Forum Support Area for Unregistered Users & Account Problems | 0 | 07-16-2007 10:52 AM |
| Killing a process that takes too long | WeezelDs | Shell Programming and Scripting | 3 | 04-10-2006 12:33 PM |
| Interrupt signal Control C takes too long to terminate a process | paqui | UNIX for Advanced & Expert Users | 8 | 10-17-2005 07:30 AM |
| login error(can not set process env.) | amit | UNIX for Advanced & Expert Users | 5 | 12-23-2001 12:39 AM |
|
|
LinkBack | Thread Tools | 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? |
| Forum Sponsor | ||
|
|
|
|||
|
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 |
|
|||
|
DNS - Domain Name Server
This is the mechanism that a host asks another host to resolve a name. A good test is to... login to the server note the IP address of your client type "nslookup ip-address" and see how long it takes to reply. /etc/resolv.conf is a good place to start. |
|||
| Google UNIX.COM |