On Sun 07 Aug 2022 at 08:46:12 (+0100), Tim Woodall wrote: > I installed acng yesterday. Nothing else has changed. > > A script is fetching all of the required packages plus a few others for > amd64,i386,arm64 and armel starting with sid all the way to jessie > > Rather complicated setup: (This does make sense although in this > particular failure it looks excessively complicated) > > apt(aptmirror17) -> acng (localhost) -> squid (different host) -> > apache(back on aptmirror17) > > downloaded all of the i386 packages and was fine for amd64 until > 1659848478|O|404276|::1|aptmirror17.home.woodall.me.uk/local/pool/essential/sid/amd64/grep_3.7-1_amd64.deb > 1659848478|E|632|::1|aptmirror17.home.woodall.me.uk/local/pool/essential/sid/amd64/gzip_1.12-1_amd64.deb > [HTTP error, code: 502] > 1659848478|E|632|::1|aptmirror17.home.woodall.me.uk/local/pool/essential/sid/amd64/hostname_3.23_amd64.deb > [HTTP error, code: 502] > etc
So you're caching sid … > I don't have the exact output from apt for this particular error but it > will have been something like: > Err:129 http://aptmirror17.home.woodall.me.uk/local buster/essential > armel linux-image-4.19.0-21-rpi armel 4.19.249-2 > 502 Connection closed [IP: ::1 3128] > ... [ … ] > I cannot see anything wrong in either of the squid or apache logs. [ … ] > Squid checking the file is unchanged is logged by apache. > 2001:8b0:bfcd:100:MUNGED:8 - - [07/Aug/2022:05:01:17 +0000] > "GET /local/pool/essential/sid/amd64/grep_3.7-1_amd64.deb HTTP/1.1" 304 > - "-" "Apt-Cacher-NG/3.6.4" "aptmirror17.home.woodall.me.uk" … and that looks as if you're running acng/bullseye. Your setup is too complicated for me to give any direct help, but I can say that running acng/versionN to cache packages from versionN+1 has twice led to a need to upgrade to acng/versionNbackports, once to acng/versionNsloppybpo, and once where even that wasn't enough. > It looks very much to me that acng is getting overloaded due to the > amount of data it is writing. > > I've kept retrying and after about a dozen failures, all the data is now > cached and I no longer get these 502 errors. > > FTAOD, this has worked flawlessly until I added acng into the mix. > > > Anyone got any ideas? I can change logging on all parts of this chain. > > > Two other acng questions: > How can I disable expiry completely? I've set it to 40000 days > currently. > > Can I disable caching for aptmirror17 specifically? > > The documentation isn't great... Cheers, David.