Massive CPU usage when updating Fedora using YUM/RPMQ

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 PERSONAL WORK

A.G. Cox Plumbing
alltradeart Case Study
Kwik Travel Case Study
Allotment Case Study

RECENT ARTICLES

Serving my Cache using Lighttpd

Lighttpd is widely know as a powerful lightweight server that is part... read more

Benchmarking PHP Frameworks

There are many reasons for choosing one framework over another, perso... read more

Rails and Apache

In what appears to be a very useful find ' read more

Useful bit of Javascript

Never thought about using javascript for this before but I had a requ... read more

CREDITS

powered by php-wax the php framework