~alpine/devel

[alpine-devel] Alpinelinux openssh-hpn and vservers

Nathan Angelacos <nangel@tetrasec.net>
Details
Message ID
<4DAB8DFF.7060700@tetrasec.net>
Sender timestamp
1303088639
DKIM signature
missing
Download raw message
Just documenting something that I've noticed, don't know if this is the 
root cause or not.

There are several guests running on a vserver host and each guest is 
running sshd

Logging into a guest will /sometimes/ freeze up after the password or 
key exchange.  That is, the server allocates the terminal and starts the 
command, but the client "locks up".  The problem never happens on the 
vserver host.


 From the client side, ssh will work fine 80% of the time, but then 
won't work for several attempts, and then will work again.


After upgrading to 17 Apr 2010 edge on the vserver and guests, the 
problem got worse.


Noticed the following in the new openssh config file:

> # the following are HPN related configuration options
> # tcp receive buffer polling. disable in non autotuning kernels
> # TcpRcvBufPoll yes
>
> # allow the use of the none cipher
> #NoneEnabled no
>
> # disable hpn performance boosts.
> # HPNDisabled no
>
> # buffer size for hpn to non-hpn connections
> #HPNBufferSize 2048


After setting TcpRcvBufPoll to NO, the problem went away.





---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)