1833414 Members
3097 Online
110052 Solutions
New Discussion

Re: Telnet become slower

 
george_114
Advisor

Telnet become slower

At the beginning, if i telnet to my linux server, it prompt to linux login very fast but after 3 months, it becomes slower to prompt to linux login.Why does this happen??
9 REPLIES 9
Martin P.J. Zinser
Honored Contributor

Re: Telnet become slower

Hello George,

does a reboot 'fix' the problem? If so you might have a resource leaking on the system. The most obvious being memory, does top show
different memory usage before and after a reboot?

Greetings, Martin

(P.S. Testing this might be difficult if it always takes 3 months to show up. OTOH the problem in that case is not that bad :-)
Huc_1
Honored Contributor

Re: Telnet become slower

Yes it could be a memory leak .. or a network issue .

try traceroute and ping from linux to other
and
traceroute and ping from other to linux
then compare.

Martin what does OTHO mean ?

J-P
Smile I will feel the difference
Martin P.J. Zinser
Honored Contributor

Re: Telnet become slower

Hello Huc,

IIRC (If I remember correctly) OTOH = on the other hand, i.e. looking at an issue from another angle. Obviously YYMV (Your mileage might vary) concerning acronyms. I am certainly not ROTFL (Rolling on the floor laughing) since I use ESL (English as a second language) too.

HTH (Hope that helps) ;-)

Martin
Steven E. Protter
Exalted Contributor

Re: Telnet become slower

Most common cause here is actually the DNS server.

If there has been a change to it with regards to the Linux server or the client you are using to log on isn't pointing to a current DNS server, this could cause the problem.

Also DNS servers running on Windows NT are notorious for this kind of problem. The fix there is Windows 2000 or Linux as the DNS server.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vitaly Karasik_1
Honored Contributor

Re: Telnet become slower

Agree with Steven - it's DNS problem.

You should check if "telnet server" has regular/reverse DNS for clients.

Rgds,
Vitaly
Martin P.J. Zinser
Honored Contributor

Re: Telnet become slower

Hello,

if DNS/name lookup is the problem the change should have happened at one particular point in time, not gradually over three months.Which of this is the case the original poster should know ;-)

Greetings, Martin
K.C. Chan
Trusted Contributor

Re: Telnet become slower

We can determine if is a dns issue just by telneting to it via ip address. If this is still slow, then the problem may not be DNS related.

have you considered at the time you telnet to the server, that either server may be under haevy load? Have you checked that both end of the server have proper dns resolution entries in /etc/resolve.conf file? Is the problem on related to this target host or telnet is just slow everywhere you telnet to?
Reputation of a thousand years can be determined by the conduct of an hour
Martin P.J. Zinser
Honored Contributor

Re: Telnet become slower

Hello K.C.,

sorry no, the test you suggested will not show if DNS is the problem or not. Since the server most probably tries to resolve the clients address it does not matter if you use a name or ip address in the client.

Greetings, Martin
K.C. Chan
Trusted Contributor

Re: Telnet become slower

OK, forgotten about how the server will react, just trying to isolate where the cause of the problem, one of the things I try to determine is if it is the server or the client. Let say the server is 192.168.100.1, on the client and the server can you do an nslookup on it. Can you make sure in your nsswitch.conf file that dns is the first to be use to resolve name lookup. Can you also make sure that your entry in /etc/resolv.conf file is correct.
Reputation of a thousand years can be determined by the conduct of an hour