Comment 2 for bug 134692

Revision history for this message
Timmie (timmie) wrote :

I changed the
/etc/cron.daily/slocate like follows:

#! /bin/sh
IONICE_CLASS=3 #2= Best effort 1 = Idle , 3 = idle
IONICE_PRIORITY=7 #0 (high)-7 (low)
NICE_PRIORITY=19 #10 (default) - 19 (low)

if [ -x /usr/bin/slocate ]
then
 if [ -f /etc/updatedb.conf ]
 then
  ionice -c $IONICE_CLASS nice -n $NICE_PRIORITY /usr/bin/updatedb
 else
  ionice -c $IONICE_CLASS nice -n $NICE_PRIORITY /usr/bin/updatedb -f proc
 fi
 chown root.slocate /var/lib/slocate/slocate.db
fi

Tomorrow I can report whether this helps or not...