Public bug reported:

(System: Ubuntu 14.04, up to date packages)

I noticed that unattended-upgrades spends a significant amount of time
in phases where it runs at 100% cpu. On a slower machine (core 2 t7200
2GHz) this goes on for minutes rather than seconds. This interferes with
using the machine for other tasks.

Using the --debug option to unattended-upgrades shows that the program
outputs a lot of lines like the following during these 100% cpu phases:

matching 'a'='trusty-updates' against '<Origin component:'universe'
archive:'trusty-updates' origin:'Ubuntu' label:'Ubuntu'
site:'de.archive.ubuntu.com' isTrusted:True>

>From this output I guess the operation executed is not so complicated
that it should require so much cpu power. ??

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unattended-upgrades 0.82.1ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-40.69-generic 3.13.11.10
Uname: Linux 3.13.0-40-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
Date: Wed Nov 26 21:53:57 2014
InstallationDate: Installed on 2014-08-28 (90 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: unattended-upgrades
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: unattended-upgrades (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

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

Title:
  checking trust of archives eats a lot of cpu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1396787/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to