--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: http method consuming lots and lots of CPU time
- From: Tomas Pospisek <tpo_deb@sourcepole.ch>
- Date: Tue, 15 Nov 2005 13:47:44 +0100
- Message-id: <E1Ec0Dw-0001yu-00@localhost>
Package: apt
Version: 0.6.42.1
Severity: normal
When downloading files over http out of aptitude the http method will
produce considerable system load:
tpo@tpo2:~$ top
top - 13:33:46 up 3:39, 1 user, load average: 1.19, 0.97, 0.79
Tasks: 106 total, 4 running, 101 sleeping, 1 stopped, 0 zombie
Cpu(s): 49.2% user, 45.3% system, 0.0% nice, 5.5% idle
Mem: 775276k total, 769992k used, 5284k free, 23536k buffers
Swap: 499928k total, 24172k used, 475756k free, 301428k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7242 root 19 0 1740 1736 1460 R 74.3 0.2 3:44.90 http
*t
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Get "";
APT::Get::Show-Upgraded "true";
APT::Get::Print-URI "true";
APT::Cache-Limit "30000000";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit enter key to continue.' 1>&2 ; read a < /dev/tty ); fi";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges -h --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";
Acquire "";
Acquire::Cache-Limit "30000000";
-- /etc/apt/preferences --
Package: *
Pin: release a=unstable
Pin-Priority: 50
-- /etc/apt/sources.list --
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://sunsite.cnlab-switch.ch/ftp/mirror/java-linux/debian testing non-free
deb http://sunsite.cnlab-switch.ch/ftp/mirror/java-linux/debian unstable non-free
deb http://sunsite.cnlab-switch.ch/ftp/mirror/debian testing main contrib non-free
deb http://sunsite.cnlab-switch.ch/ftp/mirror/debian-non-US stable non-US/main non-US/contrib non-US/non-free
deb http://sunsite.cnlab-switch.ch/ftp/mirror/debian unstable main contrib non-free
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.22
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages apt depends on:
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
hi libgcc1 1:4.0.2-3 GCC support library
ii libstdc++6 4.0.2-3 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: "Eugene V. Lyubimkin" <jackyf.devel@gmail.com>
- Cc: 339313-close@bugs.debian.org
- Subject: Re: Bug#339313: state of #339313
- From: Tomas Pospisek <tpo@sourcepole.ch>
- Date: Fri, 14 Nov 2008 00:49:37 +0100 (CET)
- Message-id: <alpine.DEB.1.00.0811140045390.2169@tpo-laptop>
- In-reply-to: <491CA01F.2010206@gmail.com>
- References: <491CA01F.2010206@gmail.com>
Hello Eugene,
On Thu, 13 Nov 2008, Eugene V. Lyubimkin wrote:
Hello Tomas.
Had you experienced such a bug in apt >= 0.7.14 ?
I have not noticed any annoyances with apt recently, for whatever reason
(it could be that my current, much more powerful laptop doesn't notice
any more...):
$ dpkg -s apt|grep Version
Version: 0.7.9ubuntu17.1
Thus I'm closing this bug report. If anybody sees the problem again,
then she can open the bug report.
Thanks for the bug triaging Eugene!
*t
--- End Message ---