[Bug 223065] INDEX file truncated from time to time

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Sep 2021 21:00:49 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223065

--- Comment #24 from Matthias Andree <mandree_at_FreeBSD.org> ---
Not sure if it helps... but apparently the size I get on a quick succession of
retries increases each time, and fetch restarts from scratch. (where, by
contrast, wget -c would pick up where it left off).  The final fetch was
successful.  

Very wild guessing and stupid question:
Is this a live view of a cache or reverse proxy or load balancer slowly
downloading a file and serving the part of it that it already has, without
atomic replacement of a prior copy?


/usr/ports/INDEX-13.bz2                        30% of 2353 kB 1215 kBps    02s
fetch: /usr/ports/INDEX-13.bz2 appears to be truncated: 746972/2409975 bytes
*** Error code 1

Stop.
make: stopped in /usr/ports
/usr/bin/env  fetch -am -o /usr/ports/INDEX-13.bz2
https://www.FreeBSD.org/ports/INDEX-13.bz2
/usr/ports/INDEX-13.bz2                        49% of 2353 kB 1583 kBps    01s
fetch: /usr/ports/INDEX-13.bz2 appears to be truncated: 1181373/2409975 bytes
*** Error code 1

Stop.
make: stopped in /usr/ports
/usr/bin/env  fetch -am -o /usr/ports/INDEX-13.bz2
https://www.FreeBSD.org/ports/INDEX-13.bz2
/usr/ports/INDEX-13.bz2                        62% of 2353 kB 1838 kBps    00s
fetch: /usr/ports/INDEX-13.bz2 appears to be truncated: 1503200/2409975 bytes
*** Error code 1

Stop.
make: stopped in /usr/ports
/usr/bin/env  fetch -am -o /usr/ports/INDEX-13.bz2
https://www.FreeBSD.org/ports/INDEX-13.bz2
/usr/ports/INDEX-13.bz2                        76% of 2353 kB 2130 kBps    01s
fetch: /usr/ports/INDEX-13.bz2 appears to be truncated: 1851401/2409975 bytes
*** Error code 1

Stop.
make: stopped in /usr/ports
/usr/bin/env  fetch -am -o /usr/ports/INDEX-13.bz2
https://www.FreeBSD.org/ports/INDEX-13.bz2
/usr/ports/INDEX-13.bz2                        90% of 2353 kB 2418 kBps    01s
fetch: /usr/ports/INDEX-13.bz2 appears to be truncated: 2179716/2409975 bytes
*** Error code 1

Stop.
make: stopped in /usr/ports
/usr/bin/env  fetch -am -o /usr/ports/INDEX-13.bz2
https://www.FreeBSD.org/ports/INDEX-13.bz2
/usr/ports/INDEX-13.bz2                               2353 kB 2482 kBps    01s

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thu Sep 02 2021 - 21:00:49 UTC

Original text of this message