Your message dated Sun, 10 Nov 2013 16:18:23 +0000
with message-id <[email protected]>
and subject line Bug#689955: fixed in apt-cacher 1.7.8
has caused the Debian Bug report #689955,
regarding apt-cacher: disk_usage_limit breaks apt-cacher
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
689955: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689955
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: apt-cacher
Source-Version: 1.7.8

We believe that the bug you reported is fixed in the latest version of
apt-cacher, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Hindley <[email protected]> (supplier of updated apt-cacher package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 21 Oct 2013 16:42:46 +0100
Source: apt-cacher
Binary: apt-cacher
Architecture: source all
Version: 1.7.8
Distribution: unstable
Urgency: low
Maintainer: Mark Hindley <[email protected]>
Changed-By: Mark Hindley <[email protected]>
Description: 
 apt-cacher - Caching proxy for Debian package and source files
Closes: 689955 691351 691942 696523 699938 708884
Changes: 
 apt-cacher (1.7.8) unstable; urgency=low
 .
   * Use sed to insert version number when building, therefore no need
     to Build-Depend on perl any more.
   * Only write body to cached file on success (200).
   * Rework handling of If-Modified request response. Client errors also
     count as EXPIRED. Delete cached files in these circumstances (closes:
     #708884).
   * return_file() never returns a retry code, so don't test for it.
   * Update debian/control file description. Integrate experimental features
     (multi-distro, Debian Bugs SOAP and HTTPS CONNECT) as established.
   * Add Ubuntu 14.04 codename 'Trusty'.
 .
 apt-cacher (1.7.7) unstable; urgency=low
 .
   * Add Ubuntu 13.10 codename 'Saucy'.
   * Update to Standards version 3.9.4 (no changes).
   * Use /proc/self/fd directly rather than rely on /dev/fd which can be
     missing (closes: #699938).
   * In precache script, make example to generate fake package list
     architecture aware by using Dpkg::Arch. Add Suggests dependency on
     libdpkg-perl (closes: #696523).
   * Remove obsolete patch from patches/.
   * Use new function cache_size() to obtain cache usage for configuration
     item disk_usage_limit. Store cache size in shared mem and recaclulate
     on a sliding scale from 0-20 seconds (closes: #689955).
   * Don't use verbose _flock() in write_error_log() as it just makes
     debug logs too full.
   * Handle missing Last-Modified header: use the Date header to
     generate the If-Modified request.
   * Add Ubuntu 13.04 codename 'raring'.
   * Add Italian debconf translation. File from Beatrice Torracca
     (closes: #691351).
   * Added Japenese debconf translation from victory
     <[email protected]> (closes: #691942).
Checksums-Sha1: 
 1a0b2a7c33c283b92a98a11557f4d9219f0fdec2 817 apt-cacher_1.7.8.dsc
 4eceb234f4728bee005616869f7c7903f3694a4b 105722 apt-cacher_1.7.8.tar.gz
 7997d529ec06c11e53a83371060bc3c5cb1a7401 105462 apt-cacher_1.7.8_all.deb
Checksums-Sha256: 
 532cf431560cb9c09e3cbf65b0b838dbf4bb4d8ac0386d0ae1f2955a60b4ae99 817 
apt-cacher_1.7.8.dsc
 be89952c72272bac3bcff16d2cb4304b7d2fa969a30cb546770f5b8cc53f647e 105722 
apt-cacher_1.7.8.tar.gz
 59efa78490a92df22005b7997e31d0125b86e4f874607c06342fbdcfec579f0b 105462 
apt-cacher_1.7.8_all.deb
Files: 
 8743b9414d5a478e9abf97d50704c6de 817 net optional apt-cacher_1.7.8.dsc
 7666c3a90b27484b3315f2c3e1ce0a83 105722 net optional apt-cacher_1.7.8.tar.gz
 b7f187ca68759469106b70e2604627dd 105462 net optional apt-cacher_1.7.8_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iD8DBQFSf6564QZIHu3wCMURAoNjAJoCRar0mHWX4vCqf7PjszUe/yr8KQCfdysZ
rJ0xK4Mf/Qd/LFjZJLYv5JM=
=5Ubg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to