Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2015 00:46:16 +0000
From:      David DeSimone <ddesimone@verio.net>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   RE: ssh over WAN: TCP window too small
Message-ID:  <BLUPR0801MB674E8904245E6707D8E082FBA6F0@BLUPR0801MB674.namprd08.prod.outlook.com>
In-Reply-To: <20150826223215.GS33167@funkthat.com>
References:  <55DCF080.7080208@stankevitz.com> <20150826010323.GN33167@funkthat.com> <55DD2A98.2010605@stankevitz.com> <20150826082457.GQ33167@funkthat.com> <55DE2FDF.5030707@stankevitz.com> <20150826223215.GS33167@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 =3D 16k buffer size, but it only rece=
ives 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 bee=
n sent, and may contain information that is confidential or legally protect=
ed. 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 me=
ssage or its attachments. Please notify the sender immediately by return e-=
mail and permanently delete this message and any attachments. makes no warr=
anty 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 bee=
n sent, and may contain information that is confidential or legally protect=
ed. 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 me=
ssage or its attachments. Please notify the sender immediately by return e-=
mail and permanently delete this message and any attachments. NTT America m=
akes no warranty that this email is error or virus free. Thank you.
________________________________



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLUPR0801MB674E8904245E6707D8E082FBA6F0>