ssh broken pipe problem

Paul Jackson pj at usa.net
Thu Jan 23 22:04:47 UTC 2020


>> Any idea what could be wrong?

Do you have an estimate as to how many bytes
were successfully transferred over the ssh connection,
prior to the abrupt failure?

If it's on the order of 1 or 2 GBytes (I forget which)
then I would suspect that the server  sending down
those bytes is Linux and that it's kernel abruptly
dropped the connection, exactly one transfer block
short of sending exactly that 1 (or 2?) GBytes down
the connection.

I've long noticed this problem, but have been unable
to get enough of a test case and diagnosis to make
a decent bug report, or to even know to what project
to file the bug.

Rather I work around this by opening up a separate
connection, using raw BSD socket calls (socket, bind,
listen, accept, ...) to send down the bulk of the data
whenever I might be sending a GByte or more in one
ssh session.

-- 
                Paul Jackson
                pj at usa.net



More information about the Mercurial mailing list