Hello,

apart from the question whether cloning from localhost makes sense or
not (I use this from a script to make work from localhost or remote
transparent), I experienced very slow network traffic - but no hang -
while cloning like thus:

  in shell 1: # fossil server ori.fossil
  in shell 2: $ fossil clone http://michai@localhost:8080/ copy.fossil

...resulting in about 70 kB/s traffic with very rare (a minute or more
in between - didn't time exactly) single bursts. According to top(1),
neither server- nor client-fossils seem to be doing anything
CPU-intensive at that time.

For isolation, I built a static fossil binary, and tried on 2 hosts;
local to remote, and local to local (4 combinations).

Both 'local to local' clones were slow (70 kB/s), while both 'remote
to local' clones were fast (around 7 MB/s). The repositories were
identical on both machines - 588 MB in 2121 files, corresponding to a
257 MB repo. I cannot share this repo, but I'm hoping it is a generic
issue and can be reproduced. If not, let me know and I try to make
another repo with the same symptom.

Environment:

  host A: NetBSD lime 6.0.1 NetBSD 6.0.1 (GENERIC) amd64 (intel core2duo E4400)
  host B: NetBSD kiwi.LAN 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) amd64
(intel core2duo E4400)
  fossil version: This is fossil version 1.25 [baa1ebb7d9] 2013-01-07
18:58:30 UTC

I also tried cloning from host B to host B with a previous dynamically
built fossil ("This is fossil version 1.24 [8d758d3715] 2012-10-22
12:48:04 UTC"), which also resulted in slow traffic, about 70 kB/s.

I cannot remember having trouble with local 'cloning' like this
before, so it may have been introduced recently. Sadly, I don't
remember which fossil version did work ok, and didn't pinpoint the
first failing version yet (if it's a fossil issue to begin with).

Any idea what causes this, or how to debug further? I tried
'--httptrace' with clone, but I'd need to be told what to look for in
the generated traces.


Michai
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to