git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* reg. fatal: The remote end hung up unexpectedly on NFS
@ 2018-04-06 18:25 Satya Prakash GS
  2018-04-06 18:46 ` Ævar Arnfjörð Bjarmason
  2018-04-06 19:48 ` Jeff King
  0 siblings, 2 replies; 4+ messages in thread
From: Satya Prakash GS @ 2018-04-06 18:25 UTC (permalink / raw)
  To: git

Hi,

We have a distributed filesystem with NFS access. On the NFS mount, I
was doing a git-clone and if NFS server crashed and came back up while
the clone is going on, clone fails with the below message:

git clone https://satgs@github.com/fs/private-qa.git

remote: Counting objects: 139419, done.
remote: Compressing objects: 100% (504/504), done.
Receiving objects:   7% (9760/139419), 5.32 MiB | 5.27 MiB/s
error: RPC failed; result=18, HTTP code = 200 MiB | 96.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

On NFS server crash, it usually takes a minute or two for our
filesystem to failover to new NFS server. Initially I suspected it had
something to do with the filesystem, like attributes of the file
written by git weren't matching what it was expecting but the same
test fails on open source NFS server. While clone is going on, if I
stopped the open source NFS server for 2 minutes and restarted it, git
clone fails.

Another interesting thing is, if the restart happens within a few
seconds, git clone succeeds.

Sideband_demux fails while trying to read from the pipe. Read size
doesn't match what is expected. If there are 2 parts to git clone
which is fetching data and writing to local filesystem, is this error
happening while trying to fetch ? Since it succeeds if the restart is
done immediately, has this got something to do with the protocol
timeouts.

Please advise on how to debug this further.

Thanks,
Satya.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-08 19:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-06 18:25 reg. fatal: The remote end hung up unexpectedly on NFS Satya Prakash GS
2018-04-06 18:46 ` Ævar Arnfjörð Bjarmason
2018-04-06 19:48 ` Jeff King
2018-04-08 19:31   ` Satya Prakash GS

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).