Package: locate Version: 4.2.31-4 Followup-For: Bug #316930
Hi, I had find hogging 99.9 percent of CPU time while running findutils.updatedb: ps -ef|grep find root 6828 6824 0 07:39 ? 00:00:00 /bin/sh /usr/bin/updatedb.findutils root 6836 6828 0 07:39 ? 00:00:00 /bin/sh /usr/bin/updatedb.findutils nobody 6844 6836 0 07:39 ? 00:00:00 su nobody -s /bin/sh -c /usr/bin/find / -ignore_readdir_race \( -fstype NFS -o -fstype nfs -o -fstype nfs4 -o -fstype afs -o -fstype binfmt_misc -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -fstype iso9660 -o -fstype ncpfs -o -fstype coda -o -fstype devpts -o -fstype ftpfs -o -fstype devfs -o -fstype mfs -o -fstype shfs -o -fstype sysfs -o -fstype cifs -o -fstype lustre_lite -o -fstype tmpfs -o -fstype usbfs -o -fstype udf -o -type d -regex '\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/alex$\)\|\(^/var/spool$\)\|\(^/sfs$\)\|\(^/media$\)' \) -prune -o -print0 nobody 6845 6844 66 07:39 ? 00:23:20 /usr/bin/find / -ignore_readdir_race ( -fstype NFS -o -fstype nfs -o -fstype nfs4 -o -fstype afs -o -fstype binfmt_misc -o -fstype proc -o -fstype smbfs -o -fstype autofs -o -fstype iso9660 -o -fstype ncpfs -o -fstype coda -o -fstype devpts -o -fstype ftpfs -o -fstype devfs -o -fstype mfs -o -fstype shfs -o -fstype sysfs -o -fstype cifs -o -fstype lustre_lite -o -fstype tmpfs -o -fstype usbfs -o -fstype udf -o -type d -regex \(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/alex$\)\|\(^/var/spool$\)\|\(^/sfs$\)\|\(^/media$\) ) -prune -o -print0 amarsh04 9626 5237 0 08:14 pts/5 00:00:00 grep find [EMAIL PROTECTED]:~$ ps -ef|grep 6824 root 6824 5813 0 07:39 ? 00:00:00 /bin/sh /etc/cron.daily/locate root 6828 6824 0 07:39 ? 00:00:00 /bin/sh /usr/bin/updatedb.findutils amarsh04 10095 5237 0 08:15 pts/5 00:00:00 grep 6824 I have ionice installed. My /etc/pam.d/su: $ grep -v \# /etc/pam.d/su auth sufficient pam_rootok.so session required pam_env.so readenv=1 session required pam_env.so readenv=1 envfile=/etc/default/locale session optional pam_mail.so nopen @include common-auth @include common-account @include common-session Do you have any suggestions for logging what is going on and better still ensuring that findutils.updatedb doesn't consume cpu time to the exclusion of everyting else? -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.24-rc7 (SMP w/1 CPU core; PREEMPT) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages locate depends on: ii findutils 4.2.31-4 utilities for finding files--find, ii libc6 2.7-6 GNU C Library: Shared libraries locate recommends no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]