Fixed in Debian.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to findutils in Ubuntu.
https://bugs.launchpad.net/bugs/1364492

Title:
  findutils uses nearly 100% CPU and memory resources

Status in findutils package in Ubuntu:
  Confirmed

Bug description:
  findutils is using a find command, probably to auto-update indexing database.
  While this is normal behaviour, i found out that shortly after the indexing 
update started, findutils is using 100% of CPU resources (Haswell Pentium 
G3258), all of my system's memory (8GB RAM) and some of the swap, rendering the 
system completely unusable.

  Issueing the command 'ps ax | grep find' results in:
  29729 ?        SN     0:00 /bin/sh /usr/bin/updatedb.findutils
  29737 ?        SN     0:00 /bin/sh /usr/bin/updatedb.findutils
  29758 ?        SN     0: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 -fstype ocfs2 -o      -type d -regex 
'\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/alex$\)\|\(^/var/spool$\)\|\(^/sfs$\)\|\(^/media$\)\|\(^/var/lib/schroot/mount$\)'
 \) -prune -o -print0
  29767 ?        SNs    0:00 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 
-fstype ocfs2 -o      -type d -regex 
'\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/alex$\)\|\(^/var/spool$\)\|\(^/sfs$\)\|\(^/media$\)\|\(^/var/lib/schroot/mount$\)'
 \) -prune -o -print0
  29768 ?        RN    57:29 /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 -fstype ocfs2 -o -type d 
-regex 
\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)\|\(^/afs$\)\|\(^/amd$\)\|\(^/alex$\)\|\(^/var/spool$\)\|\(^/sfs$\)\|\(^/media$\)\|\(^/var/lib/schroot/mount$\)
 ) -prune -o -print0

  Results from 'top':
  top - 19:16:00 up  1:40,  3 users,  load average: 1,14, 1,20, 1,53
  Tasks: 274 total,   2 running, 272 sleeping,   0 stopped,   0 zombie
  %Cpu(s):  2,9 us, 22,9 sy, 24,4 ni, 42,4 id,  7,6 wa,  0,0 hi,  0,0 si,  0,0 
st
  KiB Mem:   8086304 total,  7876904 used,   209400 free,       60 buffers
  KiB Swap: 20971516 total,   373796 used, 20597720 free.  4627412 cached Mem

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND   
                      
  29768 nobody    30  10   14968   1556   1116 R  92,2  0,0  70:16.74 find      
                      

  System installation is Ubuntu Utopic on Unity 7 desktop, using nouveau nvidia 
drivers.
  findutils version is  4.4.2-9

  Sorry for posting the commands output in here, if there is another
  guideline for this i'll be happy to edit that.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: findutils 4.4.2-9
  ProcVersionSignature: Ubuntu 3.16.0-11.16-generic 3.16.1
  Uname: Linux 3.16.0-11-generic x86_64
  ApportVersion: 2.14.7-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Sep  2 19:03:25 2014
  Dependencies:
   gcc-4.9-base 4.9.1-10ubuntu2
   libc6 2.19-10ubuntu1
   libgcc1 1:4.9.1-10ubuntu2
   multiarch-support 2.19-10ubuntu1
  InstallationDate: Installed on 2014-08-19 (14 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140815)
  SourcePackage: findutils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/1364492/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to