Bug#703296: apt-cacher-ng: Sometimes eats 100% CPU forever without apparent activity or reason
Hi! acng isn't eating 100% CPU on me right now, but it is eating about 10% CPU. I've attached an strace as suggested -- I let it run for a couple of seconds and it generated a very large log which doesn't (at first glance) look interesting at all. I also increased the verbosity but nothing is output to the logs at all during this idle period. Restarting acng is enough to get it back to a normal amount of CPU usage and strace on that just gives: Process 10289 attached - interrupt to quit select(8, [5 6 7], [], NULL, NULL^C unfinished ... Process 10289 detached Hope this is in some way enlightening! cheers Stuart -- Stuart Prescotthttp://www.nanonanonano.net/ stu...@nanonanonano.net Debian Developer http://www.debian.org/ stu...@debian.org GPG fingerprintBE65 FD1E F4EA 08F3 23D4 3C6D 9FE8 B8CD 71C5 D1A8 GPG fingerprint90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7 acng-strace-log.txt.xz Description: application/xz
Bug#703296: apt-cacher-ng: Sometimes eats 100% CPU forever without apparent activity or reason
Package: apt-cacher-ng Version: 0.7.11-1 Severity: important Hi, on a few Wheezy systems I run, apt-cacher-ng from sid often starts eating 100% of the CPU and seems to never stop, unless I restart it. I've no idea what triggered this, but at least the CPU eating goes on even if there is no activity reported in the apt-cacher-ng logs. Cheers! -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (990, 'testing'), (1, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.8.2+yama1 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages apt-cacher-ng depends on: ii adduser3.113+nmu3 ii debconf [debconf-2.0] 1.5.49 ii dpkg 1.16.9 ii libbz2-1.0 1.0.6-4 ii libc6 2.13-38 ii libgcc11:4.7.2-5 ii liblzma5 5.1.1alpha+20120614-2 ii libstdc++6 4.7.2-5 ii libwrap0 7.6.q-24 ii zlib1g 1:1.2.7.dfsg-13 Versions of packages apt-cacher-ng recommends: ii ed1.6-2 ii perl 5.14.2-20 Versions of packages apt-cacher-ng suggests: pn doc-base none ii libfuse2 2.9.0-4 -- Configuration Files: /etc/apt-cacher-ng/acng.conf changed: CacheDir: /var/cache/apt-cacher-ng LogDir: /var/log/apt-cacher-ng Port:3142 Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian # Debian Archives Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu # Ubuntu Archives Remap-debvol: file:debvol_mirror*.gz /debian-volatile ; file:backends_debvol # Debian Volatile Archives Remap-cygwin: file:cygwin_mirrors /cygwin # ; file:backends_cygwin # incomplete, please create this file or specify preferred mirrors here Remap-sfnet: file:sfnet_mirrors # ; file:backends_sfnet # incomplete, please create this file or specify preferred mirrors here Remap-alxrep: file:archlx_mirrors /archlinux # ; file:backend_archlx # Arch Linux Remap-fedora: file:fedora_mirrors # Fedora Linux Remap-epel: file:epel_mirrors # Fedora EPEL Remap-slrep: file:sl_mirrors # Scientific Linux ReportPage: acng-report.html ExTreshold: 4 VfilePattern = (^|.*?/)(Index|Packages(\.gz|\.bz2|\.lzma|\.xz)?|InRelease|Release|Release\.gpg|Sources(\.gz|\.bz2|\.lzma|\.xz)?|release|index\.db-.*\.gz|Contents-[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|pkglist[^/]*\.bz2|rclist[^/]*\.bz2|/meta-release[^/]*|Translation[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|MD5SUMS|SHA1SUMS|((setup|setup-legacy)(\.ini|\.bz2|\.hint)(\.sig)?)|mirrors\.lst|repo(index|md)\.xml(\.asc|\.key)?|directory\.yast|products|content(\.asc|\.key)?|media|filelists\.xml\.gz|filelists\.sqlite\.bz2|repomd\.xml|packages\.[a-zA-Z][a-zA-Z]\.gz|info\.txt|license\.tar\.gz|license\.zip|.*\.db(\.tar\.gz)?|.*\.files\.tar\.gz|.*\.abs\.tar\.gz|metalink\?repo|.*prestodelta\.xml\.gz)$|/dists/.*/installer-[^/]+/[^0-9][^/]+/images/.* PfilePattern = .*(\.d?deb|\.rpm|\.dsc|\.tar(\.gz|\.bz2|\.lzma|\.xz)(\.gpg)?|\.diff(\.gz|\.bz2|\.lzma|\.xz)|\.o|\.jigdo|\.template|changelog|copyright|\.udeb|\.debdelta|\.diff/.*\.gz|(Devel)?ReleaseAnnouncement(\?.*)?|[a-f0-9]+-(susedata|updateinfo|primary|deltainfo).xml.gz|fonts/(final/)?[a-z]+32.exe(\?download.*)?|/dists/.*/installer-[^/]+/[0-9][^/]+/images/.*)$ WfilePattern = (^|.*?/)(Release|InRelease|Release\.gpg|(Packages|Sources)(\.gz|\.bz2|\.lzma|\.xz)?|Translation[^/]*(\.gz|\.bz2|\.lzma|\.xz)?|MD5SUMS|SHA1SUMS|.*\.xml|.*\.db\.tar\.gz|.*\.files\.tar\.gz|.*\.abs\.tar\.gz|[a-z]+32.exe)$|/dists/.*/installer-.*/images/.* /etc/apt-cacher-ng/backends_debian changed: http://ftp.us.debian.org/debian/ /etc/apt-cacher-ng/security.conf [Errno 13] Permission non accord.©e: u'/etc/apt-cacher-ng/security.conf' -- debconf information: apt-cacher-ng/gentargetmode: No automated setup -- intrigeri | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#703296: apt-cacher-ng: Sometimes eats 100% CPU forever without apparent activity or reason
Hallo, * intrig...@debian.org [Sun, Mar 17 2013, 07:46:57PM]: on a few Wheezy systems I run, apt-cacher-ng from sid often starts eating 100% of the CPU and seems to never stop, unless I restart it. I've no idea what triggered this, but at least the CPU eating goes on even if there is no activity reported in the apt-cacher-ng logs. Please enable more verbosity, i.e. Debug:7 in acng.conf. It might be the daily cleanup job that triggers it but we need to know more. If you can catch it, please monitor its activies for a while, i.e. strace -f -p $(pidof apt-cacher-ng) | tee strace-log.txt Thanks, Eduard. -- Getty Linux Systeme sind da mehr wie Maenner, die reifen mit der Zeit, sind aber am anfang eigentlich zu garnix zu gebrauchen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org