LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 05-02-2004, 10:05 PM   #1
alllle
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
Telnet/SSH screen stops responding after a while but the session is still active


The system is Redhat 9. I just did a RPM update using the Check4Update utility included with Redhat distributions, which upgraded my kernel from 2.4.20-30.9 to 2.4.20-31.9, together with a bunch of other RPM's. I have done this many times and no problems so far.

Everything went okay with this update, except one problem I just noticed. When I telent or SSH to the server and leave the session idle for a while, the screen will stop responding to my typings. In other words, if I don't do anything for a couple of minutes and start to type again, the curson won't move and the whole screen just freezes. I have to close the window and reconnect again.
However, I know the session is still active when the screen freezes. The reason I know this is that I used the "screen" command when I telnet/SSH over, and when I reconnect to the server after the screen freezes, I can pickup my previous "virtual screen" by using the "screen -r" command. And when I resume the previous "virtual screen" by doing so, I saw all the text I typed when the screen freezes.

So the whole problem looks like this: in my telnet or SSH session, if I leave it idle for a couple of minutes and start to type again, the text I typed is sent over to the server, however, the server didn't send the respond back to my telnet / SSH client and therefore, makes the client window looks frozen.

Does anyone know what might be the cause? And unfortunately, I don't have the list of RPM's that was just updated.

Thank you!
 
Old 05-03-2004, 01:36 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Welcome to LQ.

This usually happens when there is a break in your network connection or you have a timeout value set for one of your services. SSH has very good keepalive options that you can set in sshd_config. For a complete list of options:
man sshd_config
 
Old 05-03-2004, 07:08 PM   #3
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
You don't say if this is on a LAN or across the internet.
Is the connection passing though a NAT router/connection sharing system/ICS/ipmasq/whatever-you-call it?

NAT devices usually drop idle connections after some time.
 
Old 05-03-2004, 11:21 PM   #4
alllle
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Original Poster
Rep: Reputation: 0
sorry for the late reply, I was suprised to discover that my box was total dead after it stopped responding in the middle of the day. After experiencing all kinds of wierd things during my troubleshoot, I discovered that one of the memory dimm turned bad. It basically corruptted the filesystem and made the system non-bootable.

Now I am backing up data and need to reinstall the system
 
Old 05-04-2004, 12:52 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
You possibly already know but if you want a good memory test then try memtest86 or memtest86+
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh stops responding doralsoral Linux - Software 2 12-01-2005 08:58 AM
Linux server stops responding to telnet requests lab123 Linux - Networking 1 10-25-2005 11:51 AM
Server stops responding, ssh, etc.. ddelao Linux - Software 0 09-04-2005 09:50 AM
Customizing SSH/TELNET session jon_k Linux - General 2 05-15-2004 12:41 PM
Is there a way to access to the main consoles thru a SSH or Telnet session ? jesters Linux - Newbie 4 11-28-2003 05:36 PM


All times are GMT -5. The time now is 05:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration