Package: findutils
Version: 4.2.22-1

My /etc/updatedb.conf contains (among other things):

    LOCALUSER="root"
    export LOCALUSER
    NICE=19
    export NICE

and when updatedb is run by cron from /etc/cron.daily/find, it runs at the 
expected nice priority of 19. However, when updatedb runs 'find', find's nice 
level is 0, not 19. Running /etc/cron.daily/find manually as root produces 
the same result.

The output from running it manually and then checking the status with  'ps -eo 
"%p %P %n %a"' was:

28410  4824   0 /bin/sh /etc/cron.daily/find
28412 28410  19 /bin/sh /usr/bin/updatedb
28420 28412  19 /bin/sh /usr/bin/updatedb
28422 28412  19 /usr/bin/sort -z -f
28423 28412  19 /usr/lib/locate/frcode -0
28426 28420   0 /usr/bin/find / -ignore_readdir_race ( -fstype NFS -o -fstype 
nfs -o -fstyp

I'm running Debian testing i386, with kernel 2.6.8, with libc6 2.3.2.ds1-22. 

This bug really makes my system slow down until find finishes - it would be 
really useful to have it fixed.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to