View previous topic :: View next topic |
Author |
Message |
iccha n00b
Joined: 02 Jan 2005 Posts: 4
|
Posted: Thu Jan 06, 2005 3:04 pm Post subject: 'screen' freezes |
|
|
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 |
|
|
iccha n00b
Joined: 02 Jan 2005 Posts: 4
|
Posted: Wed Jan 12, 2005 6:04 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|