Jeff Pitman writes:
On Wednesday 16 February 2005 10:34, Sam Varshavchik wrote:Yes, these are large packages that are being removed. ÂNo, even with all that, taking six minutes, a dual Opteron box, with SCSI RAID, is unreasonable.
Check strace, %preun, %post, %postun, and other related trigger operations and post your results where the bottlenecks are. Could be rpm, could be db, could be scriptlets .. who knows.
It's neither of these. According to top, all the CPU was being charged to the rpm process alone. The kernel package's %preun consists of:
/sbin/modprobe loop 2> /dev/null > /dev/null || : [ -x /sbin/new-kernel-pkg ] && /sbin/new-kernel-pkg --rminitrd --rmmoddep --remove 2.6.10-1.12_FC2
Which is nothing.
rpm was eating CPU like there's no tomorrow. strace was showing lots of read/writes, likely its database.
Attachment:
pgpUv8Xg7Icwg.pgp
Description: PGP signature