ssh over WAN: TCP window too small

David DeSimone ddesimone at verio.net
Thu Aug 27 00:46:25 UTC 2015


On 8/26/15 1:24 AM, John-Mark Gurney wrote:
> >   94146 ssh      6.686140 CALL  read(0x4,0x7fffffff6c70,0x4000)
> >   94146 ssh      6.686154 GIO   fd 4 read 4096 bytes
> >    [ read of stdin (/dev/zero) snipped)
>
> It would be interesting to know how long from the read of stdin (and is
> it really reading stdin in 4k blocks?  If so, that should be fixed)

The read is making a call with 0x4000 = 16k buffer size, but it only receives 4k, probably because that is the max size of the pipe buffer.



________________________________
This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. makes no warranty that this email is error or virus free. Thank you.
________________________________
This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. NTT America makes no warranty that this email is error or virus free. Thank you.
________________________________


More information about the freebsd-net mailing list