Your message dated Mon, 25 May 2009 22:32:04 +0000
with message-id <[email protected]>
and subject line Bug#530440: fixed in apt-cacher-ng 0.4-1
has caused the Debian Bug report #530440,
regarding apt-cacher-ng: Thread leak due to race condition
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.)
--
530440: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530440
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt-cacher-ng
Version: 0.3.11-1
Severity: normal
Hello
I have noticed, that acng eats all available to a process
virtual memory after some days of work, and it starts
to return 503 to all requests.
It spawns a lot of threads and keeps them running.
The reason of this behavior is race condition while counting spare threads.
Variable nSpareThreads must change under mutually exclusive lock,
but in the function ThreadAction it is guarded with reLock function,
which allows all workers to enter this critical section simultaneously.
Due to this nSpareThreads is increased slower, than it should, and it allows
threads to leak.
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.29.4-avi (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/bash
--- End Message ---
--- Begin Message ---
Source: apt-cacher-ng
Source-Version: 0.4-1
We believe that the bug you reported is fixed in the latest version of
apt-cacher-ng, which is due to be installed in the Debian FTP archive:
apt-cacher-ng_0.4-1.diff.gz
to pool/main/a/apt-cacher-ng/apt-cacher-ng_0.4-1.diff.gz
apt-cacher-ng_0.4-1.dsc
to pool/main/a/apt-cacher-ng/apt-cacher-ng_0.4-1.dsc
apt-cacher-ng_0.4-1_amd64.deb
to pool/main/a/apt-cacher-ng/apt-cacher-ng_0.4-1_amd64.deb
apt-cacher-ng_0.4.orig.tar.gz
to pool/main/a/apt-cacher-ng/apt-cacher-ng_0.4.orig.tar.gz
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.
Eduard Bloch <[email protected]> (supplier of updated apt-cacher-ng 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: Tue, 26 May 2009 00:03:20 +0200
Source: apt-cacher-ng
Binary: apt-cacher-ng
Architecture: source amd64
Version: 0.4-1
Distribution: unstable
Urgency: low
Maintainer: Eduard Bloch <[email protected]>
Changed-By: Eduard Bloch <[email protected]>
Description:
apt-cacher-ng - Caching proxy for distribution of software packages
Closes: 530440
Changes:
apt-cacher-ng (0.4-1) unstable; urgency=low
.
* New upstream release
+ Fixes thread leak due to race condition, based on patch
from Alexander Inyukhin (thanks, closes: #530440)
Checksums-Sha1:
497e8082807f34cdb8d779b10f606059371265ca 1017 apt-cacher-ng_0.4-1.dsc
1fe5acf234a29e9de2f273270367fb893fb17983 215656 apt-cacher-ng_0.4.orig.tar.gz
88f81edc11d3b541416757c8342447c7b6c57d30 12735 apt-cacher-ng_0.4-1.diff.gz
88a0e3130c7d27fe4aea5609f00887f26911d364 283032 apt-cacher-ng_0.4-1_amd64.deb
Checksums-Sha256:
f4273ca969cbf3ee4e08fd32d1fd4b3f6fa7415774b65c7a914f1cf1ec4ae34c 1017
apt-cacher-ng_0.4-1.dsc
b32e1a7c55c8c183d5ab090457af9b0c985c731c85ca1aeeb5ea79ba498a163d 215656
apt-cacher-ng_0.4.orig.tar.gz
7e21d796a77e2287bf484956027e15dccddb8ea72bddecbed5ac4667df564793 12735
apt-cacher-ng_0.4-1.diff.gz
6a53f6c0576ecc214f750ee32e46ec25bf59062b96bf634234797c6d3111c837 283032
apt-cacher-ng_0.4-1_amd64.deb
Files:
3b74b8f548764edd809bd027621320bc 1017 net optional apt-cacher-ng_0.4-1.dsc
083f736afe0521d20bfb9d3b3185437d 215656 net optional
apt-cacher-ng_0.4.orig.tar.gz
b1bbbd2e55054ade13cf78c6a25d67cf 12735 net optional apt-cacher-ng_0.4-1.diff.gz
ebe760062471d8eec159858a2f8aa1a0 283032 net optional
apt-cacher-ng_0.4-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKGxqy4QZIHu3wCMURAhWQAJ48AfydQeei9kJMxTGbgIY/8VXXoACfeB9R
OK9PUEqWYRI+/l8Iaq7+9EA=
=zGbV
-----END PGP SIGNATURE-----
--- End Message ---