Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
1. Modify /etc/updatedb.conf - add /mnt in # paths which are pruned from updatedb database PRUNEPATHS="/tmp /var/tmp" So, it will be look like this PRUNEPATHS="/tmp /var/tmp /mnt" It removes from database any cd-roms, floppyes and other such crap 2. /etc/cron.daily/slocate Add -n 19 to nice #! /bin/sh if [ -x /usr/bin/updatedb ] then if [ -f /etc/updatedb.conf ] then nice -n 19 /usr/bin/updatedb else nice -n 19 /usr/bin/updatedb -f proc fi fi By default, nice without parametrs run with priority 10. Many background programs runs with priority 15-16. And if i call them during updatedb, i receive very big lag - its very annoing, especialy on notebooks, where updatedb starts during 5-6 minutes after power on ... Reproducible: Always Steps to Reproduce:
-19 is too strong. That'll interfere with SETI :)
can you qualify 'many programs' ? also, /mnt shouldnt be a real problem since we prune many of the filesystem types
May be add to prunefs "vfat" and "ntfs" instead adding "/mnt"? -19 is not too strong, because updatedb takes so little time ... ;-)) When i start updatedb without "-n 19" mouse cursor in X move with lags, music plays with small pauses, etc ... With "-n 19" nothing happens like this. I look in 'top' - many programs like squid, named etc works with priority 16-18.
nice has already been added to updatedb (Bug 37871) /mnt wont be added to prunefs list ... iso is already in the prune list, but adding vfat/ntfs isnt going to happen *** This bug has been marked as a duplicate of 37871 ***