aptd and update-manager run with high priority

Bug #942437 reported by Stefano Forli
This bug affects 2 people
Affects Status Importance Assigned to Milestone
aptdaemon (Ubuntu)

Bug Description

When logging in in a new session or after some time of usage, the aptd daemon (and the update-manager too, presumably) will start to scan for updates.
The processes involved in this steps are usually running with full priority (or with nice values higher than 20? I wasn't able to catch it...), and this can make the system extremely slow, or even unusable on netbooks.

If possible, having these processes running at lower priority (even if only for the scanning process) would help a lot and could make the difference in systems with low performances.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: aptdaemon 0.43+bzr697-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-16.28-generic 3.0.17
Uname: Linux 3.0.0-16-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Mon Feb 27 23:18:53 2012
DesktopFile: /usr/share/aptdaemon/aptdaemon.desktop
ExecutablePath: /usr/sbin/aptd
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all

SourcePackage: aptdaemon
UpgradeStatus: Upgraded to oneiric on 2011-11-18 (101 days ago)

Revision history for this message
Stefano Forli (ntropia) wrote :
Changed in aptdaemon (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Indeed aptdaemon should use a lower nice level.

Changed in aptdaemon (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Stefano Forli (ntropia) wrote :

Thanks for the quick reply.
I'm not sure about the amount of work that's required to fix this, but I think it's likely to be a candidate for a Papercut entry.

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

It needs some investigation beforehand, but the patch could be only a single line.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package aptdaemon - 0.43+bzr784-0ubuntu1

aptdaemon (0.43+bzr784-0ubuntu1) precise; urgency=low

  New upstream snapshot:
  * lock: Fix an exception if the lock file doesn't exists
    (fixes LP: #954581)
  * Decrease the priority of the daemon to avoid blocking the user
    interface (fixes LP: #942437)
  * Make the network detection code more robust (Fixes LP:#933597)
  * Add missing file to POTFILES.in. (LP: #953938)
  * more fixes
 -- Michael Vogt <email address hidden> Wed, 14 Mar 2012 13:26:31 +0100

Changed in aptdaemon (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers