Massive CPU usage when updating Fedora using YUM/RPMQ

Published: 2008-05-28

We noticed that YUM and RPMQ processes were using a massive amount CPU between them, the most likely the reason is that the rpm somehow hanged or was killed while it was running updating the system and left the repo info in an uncomplete state.

To fix:

su to root, go into /var/lib/rpm and see if there are any __db files (.001, .002 etc). Remove the files and kill all rpmq processes. It should be possible to update the system again after this. - http://www.rpm.org/hintskinks/repairdb/, http://forums.fedoraforum.org/showthread.php?t=141595

More from this section

RECENT ARTICLES

Lightweight blog created on Ruby/GAA/Datastore stack

Put this together a month or two back but never got around to replaci... read more

Using Node JS and Couch DB Stack for Web Dev

With the recent hype surrounding Node.js I thought I'd better get my ... read more

Campaign Monitor API Using PHP and SOAP

Campaign Monitor has a fairly comprehensive API and support docs.&nbs... read more

Google Maps Snippet

Absolute bare basics when it comes the Google Map api but a snippet o... read more

CREDITS

powered by php-wax the php framework