Package: apt-cacher
Version: 1.7.6
Severity: normal
Dear Maintainer,
* What led up to the situation?
I configured apt-cacher to use a maximum size of the cache of 5GByte
After this, the errorlog is filled with lines like this:
==> /var/log/apt-cacher/error.log <==
Mon Oct 8 13:04:02 2012|info [32260]: ALARM: Insuffient space for
Content-Length: 6038001 in cache_dir with 58501558272 available space
Mon Oct 8 13:04:18 2012|info [32289]: ALARM: Insuffient space for
Content-Length: 7876 in cache_dir with 58501558272 available space
Mon Oct 8 13:04:20 2012|info [32292]: ALARM: Insuffient space for
Content-Length: 7819 in cache_dir with 58501558272 available space
Mon Oct 8 13:04:21 2012|info [32294]: ALARM: Insuffient space for
Content-Length: 7819 in cache_dir with 58501558272 available space
Mon Oct 8 13:04:22 2012|info [32296]: ALARM: Insuffient space for
Content-Length: 50223 in cache_dir with 58501558272 available space
Mon Oct 8 13:04:23 2012|info [32297]: ALARM: Insuffient space for
Content-Length: 7876 in cache_dir with 58501558272 available space
Mon Oct 8 13:04:29 2012|info [32311]: ALARM: Insuffient space for
Content-Length: 95210 in cache_dir with 58501558272 available space
Mon Oct 8 13:04:29 2012|info [32312]: ALARM: Insuffient space for
Content-Length: 7819 in cache_dir with 58501558272 available space
Mon Oct 8 13:04:31 2012|info [32318]: ALARM: Insuffient space for
Content-Length: 45747 in cache_dir with 58501558272 available space
Mon Oct 8 13:04:37 2012|info [32328]: ALARM: Insuffient space for
Content-Length: 43715 in cache_dir with 58501558272 available space
and the error "Cache full" is returned.
However the 5G are note yet used
apt-cacher# du -hs .
1,3G .
also, there is plenty of space left on the drive (>50G)
* What exactly did you do (or not do) that was effective (or
ineffective)?
Also tried to set disk_usage_limit to
5GiB
2G
1500MiB
with the same results
side: /usr/share/apt-cacher/apt-cacher-cleanup.pl -s
also triggers this error when updating the indexes -- this could lead
to a "deadlock" when the indexed cannot be downloaded because the cache is full.
In this case also the cleanup will fail and never apt-cacher will never come
back to life...
coldtobi
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-3-686-pae (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt-cacher depends on:
ii debconf [debconf-2.0] 1.5.46
ii dpkg 1.16.8
ii ed 1.6-2
ii libfilesys-df-perl 0.92-4+b1
ii libfreezethaw-perl 0.5001-1
ii libio-interface-perl 1.06-1+b1
ii libnetaddr-ip-perl 4.062+dfsg-1
ii libsys-syscall-perl 0.23-1
ii libwww-curl-perl 4.15-1+b2
ii libwww-perl 6.04-1
ii lsb-base 4.1+Debian7
ii perl 5.14.2-13
ii ucf 3.0025+nmu3
ii update-inetd 4.43
Versions of packages apt-cacher recommends:
ii libberkeleydb-perl 0.51-1
Versions of packages apt-cacher suggests:
ii libio-socket-inet6-perl 2.69-2
-- Configuration Files:
/etc/apt-cacher/apt-cacher.conf changed:
cache_dir = <dedicated-apt-cacher-partition>/apt-cacher
group = www-data
user = www-data
disk_usage_limit = 5000000000
checksum = 1
concurrent_import_limit = 2
path_map = debian ftp2.de.debian.org/debian ;
allowed_hosts = *
generate_reports = 1
clean_cache = 1
-- debconf information:
* apt-cacher/mode: inetd
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]