Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
'screen' freezes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
iccha
n00b
n00b


Joined: 02 Jan 2005
Posts: 4

PostPosted: Thu Jan 06, 2005 3:04 pm    Post subject: 'screen' freezes Reply with quote

I have irssi running inside 'screen' (version 4.0.2) on a Gentoo server, and connect to that server with ssh. When my network connection to the server times out (if I unplug the network cable fe.), the active 'screen'-window freezes for 10-20 minutes. If I have irssi window selected, all my irc-connections time out.

I read a description of the same problem at the Redhat Bugzilla, but the problem was apparently not solved: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=75244

Does anyone have any ideas?
Back to top
View user's profile Send private message
iccha
n00b
n00b


Joined: 02 Jan 2005
Posts: 4

PostPosted: Wed Jan 12, 2005 6:04 pm    Post subject: Reply with quote

I got the problem solved. If you're using OpenSSH, you can apply Heartbeat/Watchdog patch: http://www.sc.isc.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html

After installing patched sshd, add the following lines to sshd_config-file and restart sshd:
Code:

ClientAliveInterval 15
WatchdogTimeout 32


Now sshd terminates hanged connections and keeps your programs running under screen. Too bad the patch is needed. It'd be nice if this would be enabled by default in OpenSSH distribution.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum