Comment 6 for bug 1190696

Revision history for this message
Nec (nicolas-ecarnot) wrote :

Hi,

I found out that playing with ionice nor nice did not improve anything in that case. (that also was VERY severe to me)

The issue came from the fact that my computer mounts some remote filesystems, and find and locate went exploring those distant folders.

I solved the problem by changing /etc/cron.daily/locate and adding the "xdev" options to the find parameters.

# Global options for invocations of find(1)
FINDOPTIONS='-ignore_readdir_race -xdev'

Now, updates are still relevent, but cause no CPU harm nor wasted time :)