[Bug 819325] Re: update-apt-xapi starts to use 100% CPU
Fabio Marconi
fabiomarconi at ubuntu.com
Fri Aug 19 19:57:40 UTC 2011
** Changed in: apt-xapian-index (Ubuntu)
Status: New => Confirmed
** Summary changed:
- update-apt-xapi starts to use 100% CPU
+ update-apt-xapi starts to use 100% CPU for long time
** Tags added: natty oneiric
--
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