[Bug 1187282] Re: update-manager using 100% CPU and lots of memory

Fenyvesi Attila 1187282 at bugs.launchpad.net
Fri Jul 15 14:10:52 UTC 2016


I can confirm that update-manager uses 100% cpu time for minutes. I can
reproduce this by opening the technical details of a package and then
clicking to various packages. The package which usually needs minutes to
load the information is "Linux kernel headers for version 4.2.0 on 64
bit x86 SMP". (linux-headers-4.2.0-42-generic)

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

Title:
  update-manager using 100% CPU and lots of memory

Status in update-manager package in Ubuntu:
  Confirmed

Bug description:
  Just observed update-manager using 100% CPU for several minutes after
  startup, and consuming 7.4% of available memory (out of 8 GB total =~
  almost 600 MB). The CPU use calmed down after a couple minutes, but
  it's still using 7.4% of the memory.

  To start:

  $ gksudo update-manager &

  `top` output while peaking:

  1  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
   28206 root      20   0  978m 423m  52m R  100  5.4   1:18.95 update-manager

  `top` output after running about 10 minutes:

  1  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
   28206 root      20   0 1139m 583m  52m S    2  7.4   2:22.43 update-manager

  `ps afux` output:

  username   26684  0.0  0.0  31140  6760 pts/1    Ss+  08:49   0:00  \_ bash
  username   28199  0.1  0.0 165468  7012 pts/1    S    09:36   0:00  |   \_ gksudo update-manager
  root     28205  0.0  0.0  79736  2408 ?        Ss   09:36   0:00  |       \_ /usr/bin/sudo -H -S -p GNOME_SUDO_PASS -u root -- update-manager
  root     28206 27.0  7.3 1166500 597712 ?      Sl   09:36   2:22  |           \_ /usr/bin/python /usr/bin/update-manager

  Just tried again, and it was not completely reproducible. `top` output
  after the CPU use calmed down:

  1  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
   29591 root      20   0  785m 228m  52m S    5  2.9   0:23.64 update-manager

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: update-manager 1:0.156.14.11
  ProcVersionSignature: Ubuntu 3.5.0-31.52~precise1-generic 3.5.7.11
  Uname: Linux 3.5.0-31-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.3
  Aptdaemon:
   
  Architecture: amd64
  Date: Tue Jun  4 09:37:06 2013
  DpkgTerminalLog.txt: Error: [Errno 13] Permission denied: '/var/log/apt/term.log'
  GsettingsChanges:
   com.ubuntu.update-manager first-run false
   com.ubuntu.update-manager launch-time 1366178291
   com.ubuntu.update-manager window-height 948
   com.ubuntu.update-manager window-width 598
  InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: update-manager
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list