Operating System - HP-UX
1753329 Members
5157 Online
108792 Solutions
New Discussion юеВ

Telnet very slow ( 3 to 4 minutes )

 
SOLVED
Go to solution
s.kalaivanan
Advisor

Telnet very slow ( 3 to 4 minutes )

Hi Experts ,

Telnet to 2X HP-UX server ( both rp440 and rx4640 ) is slow for first Login

Problem :- Past 1 month If I telnet to server from my PC or some other it takes slow for first time after that if i open one more session it is normal for some period of time , but if i exit the session and back login after 30 or 40 minutes again it slow

Below workaround i have done :-

1. checked and matched switch side and server side are same settings ( auto negotiate= on , full duplex and 1 gig LAN )
2. checked /etc/nsswitch.conf , resolv.conf are correct
3. From Unix to Unix Box telnet is Normal
4. We didn't upgrade any patches both server side and switch side
5. I have replaced some other Switch port also
6. users PC and server IP subnet is different
7. I and HP Engg found there is no issue with server ( no error in logs )
8.we have other Sun servers are telnet normal same subnet and connected to this same switch
9.Tried with IP instead of Hostname still same

As per the Network team no problem in switch interface , I'm totally mad what could be the problem ?

Pls help me to resolve this issue ,

Thanks in advance ,
Kalai


20 REPLIES 20
Johnson Punniyalingam
Honored Contributor

Re: Telnet very slow ( 3 to 4 minutes )

>>6. users PC and server IP subnet is different<<

can you try adding your server name ip address on your PC as below and check ?

C:\windows\system32\drivers\etc\hosts
Problems are common to all, but attitude makes the difference
Fabio Ettore
Honored Contributor

Re: Telnet very slow ( 3 to 4 minutes )

Hi,

I know my answer is generic but every time I faced this kind of problems it almost always was something with name resolution.
This just is a start point, you can take some troubleshooting steps:

- rename /etc/resolv.conf, edit /etc/nsswitch.conf in order to use only /etc/hosts:

hosts: files

Try the connection again, still slow?
- In any cases what about ssh connections, are they also slow?

>>3. From Unix to Unix Box telnet is Normal
It could also be something with routing to HP-UX systems.

HTH.

Best regards,
Fabio
- what about connections
WISH? IMPROVEMENT!
Steven Schweda
Honored Contributor
Solution

Re: Telnet very slow ( 3 to 4 minutes )

Did you do a Forum search for keywords like,
say,
slow telnet
?

A DNS problem is a common reason for this,
but the "hosts" advice you've gotten here
may not help much.

What, exactly, is the slow part?
Tingli
Esteemed Contributor

Re: Telnet very slow ( 3 to 4 minutes )

ping the primary DNS server and see whether it works. Sometimes because the primary down, it had to time out before going to the second DNS server.
Tim Nelson
Honored Contributor

Re: Telnet very slow ( 3 to 4 minutes )

repeat.. "What, exactly, is the slow part?"

if it is waiting for the "login:" prompt then it is DNS.

If it is characters echoing slowly, then you have server performance issues..

Please specify..
s.kalaivanan
Advisor

Re: Telnet very slow ( 3 to 4 minutes )

Hi Fabio ,

thanks for your inputs

1.Today i have renamed /etc/resolv.conf file and edited /etc/nsswitch.conf file as { hosts: files } in this condition telnet is very normal working fine ,

2. renamed /etc/resolv.conf and edited /etc/nsswitch.conf file as { hosts: files dns nis } --> in this condition telnet is slow

So suggested problem in DNS side ,

Let me know any other issue ?

Thanks & Regards,
Kalai.

Asif Sharif
Honored Contributor

Re: Telnet very slow ( 3 to 4 minutes )

HI Kalia,

Problem is with DNS only. After renaming if it working that means it is relating to DNS.

Regards,
Asif Sharif
Regards,
Asif Sharif
Johnson Punniyalingam
Honored Contributor

Re: Telnet very slow ( 3 to 4 minutes )

Forums user name: s.kalaivanan
Company name:
Country / Region: india
Personal quote:
Certification:
ITRC member since: January 28, 2009
Last contribution date: March 09, 2010
I have assigned points to 0 of 23 responses to my questions.

so far you have assigned "0" points since "2009" . please have habit of assiging points for people who help to resolve your issue.

Take a read of this.

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

it explains how to assign points.
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Telnet very slow ( 3 to 4 minutes )

>>>>So suggested problem in DNS side ,
Let me know any other issue ?<<<

None other issues, You need to fix the DNS problem. other than that, you have also pointed in the /etc/nsswitch.conf ->{ hosts: files dns nis } alternative to resolve hostnames by using /etc/hosts to resolve , in chase of DNS , failure

Possibilities of DNS failure

Example:-

1) pointing inactive / old DNS server names under the /etc/resolve.conf
2)Network problem or Server problem from DNS Server
3) Firewall problems

Problems are common to all, but attitude makes the difference