[Bug 819325] Re: update-apt-xapi starts to use 100% CPU for long time

mikewhatever 819325 at bugs.launchpad.net
Tue Oct 18 21:36:39 UTC 2011


*** This bug is a duplicate of bug 830333 ***
    https://bugs.launchpad.net/bugs/830333

** This bug has been marked a duplicate of bug 830333
   randomly, update-apt-xapi will take 100% cpu for an extended period of time

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

Title:
  update-apt-xapi starts to use 100% CPU for long time

Status in “apt-xapian-index” package in Ubuntu:
  Confirmed

Bug description:
  Approximately once per day, 'apt-xapian-index' starts to use 100% CPU
  and disk for a minute or so.  This is noticeable because:

    (a)  fan spins up to maximum
    (b)  machine gets /very/ hot
    (c)  stops being responsive (even a caps-lock toggle check takes ~2 seconds to respond)
    (d) a window briefly flashes up and then disappears

  This is sub-optimal because, a. hurts my ears for 5 minutes
  during+afterwards, b. hurts my legs for 20 minutes afterwards, c.
  hurts productivity for 2 minutes during and raises stress levels, d.
  steals focus for a few hundred milliseconds.

  The root cause of this appears a disk and CPU-intensive database batch
  job.  I wonder if it would be possible to back-off slightly and not
  tie-up the disk and CPU if the user is currently using the machine (a
  scheduling issue admittedly, but is the database run being run as
  child of a GUI process and so inheriting that priority?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/819325/+subscriptions




More information about the foundations-bugs mailing list