Re: ?? SSH Terminal Sessions unexpectedly pausing/freezing ??
Re: ?? SSH Terminal Sessions unexpectedly pausing/freezing ??
- Subject: Re: ?? SSH Terminal Sessions unexpectedly pausing/freezing ??
- From: Douglas Stetner <email@hidden>
- Date: Tue, 25 May 2004 13:45:08 +1000
On 24/5/04 at 10:57 (-0700),
email@hidden (OpenMacNews) wrote:
>
Specifically, once an SSH session is open/active, any task requiring a
>
"lot" of data (example: "ls -al" of a large DIR) to be
>
transferred via terminal session pauses (always) after a fraction of
>
the expected data is transferred and (frequently) hangs the session.
>
>
Again, this ONLY happens in sessions TO machine (4) from OTHER
>
machines. Sessions opened: (a) between other machines (b) from (4) to
>
other machines (c) from (4) to itself ... ALL operate at "full speed"
>
with NO apparent pauses/hangs in the terminal sessions.
>
>
So far, in efforts to remediate, I've: (a) changed Ehternet MTU
>
settings from 1500 to 576, both in pair combinations and 'en masse'
>
(b) varied Client, Server and TCP timeouts in ssh_config & sshd_config
>
(c) Turned session Compression "off" (c) turned off xinetd service of
>
sshd, and reverted to standard daemon mode
>
>
NONE of these effort changed/improved the session behavior TO (4).
I have a similar problem with ssh between two Macs and found that as
well as setting the MTU down to 576 I needed to ensure that I set:
net.inet.tcp.delayed_ack: 1
with sysctl. My problem only seemed to start after I replaced my ADSL
modem at home.
Cheers,
Doug
--
Douglas Stetner stetner AT stetner DOT org
"Out of register space (ugh)"
-- vi
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.