[Bug 830333] Re: randomly, update-apt-xapi will take 100% cpu for an extended period of time

niplas 830333 at bugs.launchpad.net
Fri Jan 20 03:42:00 UTC 2012


I can verify all of the above

This major annoyance (seems a bit harsh to call it a bug though  :) is
especially frustrating in an LTSP environment.

Firstly because the hardware even for fat clients usually is quite
modest in terms of performance, and second (which is worst) the process
is absolutely unnecessary when running the clients. All updates to the
clientss is done manually via chroot and the image update or build
process. In chroot and update I point to the index on the server itself
which most people do.

As far as I can tell this cronjob is started as a separate process for
all clients booted, fat as thin, and it seems that it is always "due"
for updating even if you just do a 45 second reboot of your client
(guess there is nothing there to tell the client it has been done)

This means you either put the server to a grinding halt when starting
20+ clients in the morning (naturally depending on your server specs),
or your fat clients spend between 2 and ten (!) minutes at often near
100% CPU utilization updating an index that is probably sent to dev null
or purged when the client is switched of (don't know, haven't
investigated what happens with it)

The "Fix" helps (however i've choosen to purge apt-xapian-index
completely in the client chroot, cant see a reason not to)

Not sure if this should go upstream..
Am a newbie when it comes to bug reporting so; copy and paste if you think the folks @ ltsp or someone else should take a look at this aswell.

-- 
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/830333

Title:
  randomly, update-apt-xapi will take 100% cpu for an extended period of
  time

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

Bug description:
  Description:	Ubuntu oneiric (development branch)
  Release:	11.10

  apt-xapian-index:
    Installed: 0.44ubuntu1
    Candidate: 0.44ubuntu1
    Version table:
   *** 0.44ubuntu1 0
          500 http://mirror.anl.gov/ubuntu/ oneiric/main i386 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: apt-xapian-index 0.44ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-8.11-generic 3.0.1
  Uname: Linux 3.0.0-8-generic i686
  Architecture: i386
  Date: Sat Aug 20 21:10:16 2011
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110705.1)
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: apt-xapian-index
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list