[Bug 746508] Re: apt-check uses too much resources (starts too many processes)

mc0e 746508 at bugs.launchpad.net
Sun Mar 1 14:25:10 UTC 2015


Loading updates from different remote hosts in parallel is useful, but
it looks like there needs to be a way to switch it off.

In `man apt.conf` I see:

       Queue-Mode
           Queuing mode; Queue-Mode can be one of host or access which
           determines how APT parallelizes outgoing connections.  host means
           that one connection per target host will be opened, access means
           that one connection per URI type will be opened.

Seems to me that perhaps another mode is warranted where the connections
are serialised.  Alternatively, perhaps a limit on the number of
parallel connections in total.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/746508

Title:
  apt-check uses too much resources (starts too many processes)

Status in update-notifier package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: update-notifier

  I have quite a few entries in my apt sources. The problem with that is
  that it seems like apt-check is triggered for every one of them, which
  is esp. an issue on slow systems as my EeePC where I end up with 22
  apt-check processes, each one taking up to 50MB of memory, so every
  apt-get update run takes over 1GB RAM to complete. Can't apt-check run
  only once after apt-get update completes? Or at least run them
  sequentially, not in parallel?

  ps auxw | grep apt-check: (after letting it run for a while)
  yofel    11198  6.6  2.4  58068 50980 ?        RN   16:55   0:26 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    11467  5.4  2.4  57888 50660 ?        RN   16:55   0:21 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    11717  5.4  2.4  57888 50660 ?        RN   16:55   0:20 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    11938  4.8  2.1  50808 43676 ?        RN   16:55   0:18 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    12153  4.8  2.1  50808 43412 ?        RN   16:55   0:17 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    12359  4.6  1.9  48760 41020 ?        RN   16:55   0:16 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    12604  4.6  1.9  47736 40244 ?        RN   16:56   0:16 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    12812  4.5  1.9  46712 39716 ?        RN   16:56   0:15 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    13035  4.3  1.8  44664 37340 ?        RN   16:56   0:14 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    13322  4.2  1.7  43640 36220 ?        RN   16:56   0:13 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    13517  4.4  1.7  43640 36552 ?        RN   16:56   0:14 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    13741  4.1  1.6  42616 34700 ?        RN   16:56   0:12 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    13972  4.2  1.6  41592 34440 ?        RN   16:56   0:12 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    14187  4.5  1.7  42616 35544 ?        RN   16:56   0:13 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    14395  4.5  1.7  42616 34964 ?        RN   16:57   0:13 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    14609  4.0  1.5  39544 31912 ?        RN   16:57   0:11 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    14856  4.2  1.5  39544 32176 ?        RN   16:57   0:11 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    15064  4.3  1.5  39544 32176 ?        RN   16:57   0:11 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    15422  4.3  1.5  38520 31412 ?        RN   16:57   0:10 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    15611  4.6  1.5  39544 32176 ?        RN   16:57   0:11 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    15833  4.3  1.4  37496 30136 ?        RN   16:57   0:10 /usr/bin/python /usr/lib/update-notifier/apt-check
  yofel    16042  4.7  1.5  38520 31148 ?        RN   16:58   0:10 /usr/bin/python /usr/lib/update-notifier/apt-check

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: update-notifier-common 0.111ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
  Uname: Linux 2.6.38-7-generic i686
  NonfreeKernelModules: eee
  Architecture: i386
  Date: Thu Mar 31 17:24:44 2011
  InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=en_US.UTF-8
   LANGUAGE=en_US.UTF-8
  SourcePackage: update-notifier
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/746508/+subscriptions



More information about the foundations-bugs mailing list