On Fri, 20 Sep 2002, Götz Waschk wrote: > Am Freitag, 20. September 2002, 13:58:31 Uhr MET, schrieb rcc: > > do we need to have rpm in cron.daily? > > Because like slocate it brings older computers almost to a halt. > > Stop whining. How long can a rpm -qa take? Not more than 10 Seconds on an > old Pentium I guess.
The issue may be deeper than that -- if there is a stale of corrupt set of locks left behind due to easily repairable damage in indices in the rpm database, the unit can freeze forever, doing a simple task like rpm -qa The new RPM-4.1 relase and a transition will fix this permanently -- see the RPM website at: http://www.rpm.org/ in the Hints and Kinks link, under the Repair DB sub link for more details. For older releases, detecting stale lockfiles with an external process, and periodically (weekly?) running a process to detect a corrupted database is probably a good idea. -- Russ Herrold