On Sat, 2009 Sep 19 21:19+0100, Mark Hindley wrote: > > Thanks, very helpful. I think I have found this. > > Can you verify it is fixed with this patch
I've been running the patched apt-cacher since Saturday evening in the same 3-minute testing cycle, and with access.log now over 100K lines, error.log has zero "uninitialized value" warnings. There are some warnings/errors present, but they are from other causes. Since error.log is fairly small, I've attached it so you can see firsthand. (Note that thttpd is restarted daily at 7:35am. I don't know what happened at 1:07am---this was on a machine that wasn't doing anything else---but it's likely a manifestation of bug #543758.) I'm thinking this particular bug has been decidedly squashed :-)
Sun Sep 20 07:35:02 2009|info [15698]: Warning: libcurl failed for http://upstream.server/apt/ubuntu/dists/jaunty-backports/main/source/Sources.bz2 with Failed connect to upstream.server:80; Unknown error 115 Sun Sep 20 07:35:02 2009|info [16130]: Warning: libcurl failed for http://upstream.server/apt/ubuntu/dists/jaunty-backports/restricted/source/Sources.bz2 with Failed connect to upstream.server:80; Unknown error 115 Sun Sep 20 07:35:02 2009|info [16237]: Warning: libcurl failed for http://upstream.server/apt/ubuntu/dists/jaunty-backports/restricted/source/Sources.bz2 with Failed connect to upstream.server:80; Unknown error 115 Mon Sep 21 01:07:46 2009|warn [4868]: Failed to create DB environment: Cannot allocate memory. Attempting recovery... Mon Sep 21 01:07:46 2009|error [4868]: Your vendor has not defined BerkeleyDB macro DB_LOG_INMEMORY, used at apt-cacher-lib-cs.pl line 120 Mon Sep 21 01:07:47 2009|info [4552]: ALARM! /tmp/apt-cacher-cache/packages/ubuntu_dists_jaunty_multiverse_binary-i386_Packages.bz2 file size mismatch (found 196608, expected 197313). Renaming to /tmp/apt-cacher-cache/packages/ubuntu_dists_jaunty_multiverse_binary-i386_Packages.bz2.corrupted. Mon Sep 21 07:35:03 2009|info [24397]: Warning: libcurl failed for http://upstream.server/apt/ubuntu/dists/jaunty-backports/multiverse/binary-amd64/Packages.bz2 with Failed connect to upstream.server:80; Unknown error 115 Mon Sep 21 07:35:03 2009|info [24398]: Warning: libcurl failed for http://upstream.server/apt/ubuntu/dists/jaunty-backports/main/source/Sources.bz2 with Failed connect to upstream.server:80; Unknown error 115 Mon Sep 21 07:35:04 2009|info [23853]: ALARM! /tmp/apt-cacher-cache/packages/ubuntu_dists_jaunty-backports_main_source_Sources.bz2 file size mismatch (found 0, expected 2819). Renaming to /tmp/apt-cacher-cache/packages/ubuntu_dists_jaunty-backports_main_source_Sources.bz2.corrupted.

