Package: findutils
Version: 4.4.2-4
Severity: normal
Tags: upstream

Find appears to consume and not release large amounts of memory when
asked to print time directives with custom formatting. ie, %Ak, %Ck and %Tk. 

The rate of memory consumption appears to correlate with the number of
these directives used

Observable by running, for eg:
# find / -printf "[%y %11s %TY.%Tm.%Td %TH:%TM]\t%p\n"

...and simultaneously 'top' or other memory monitor. Resident size
grows without check. 

With enough files being found, this can grow to trigger an OOM. 


I've marked this as upstream, as I've since observed the same behaviour
on find 4.4.2 in CentOS (as well as in debian derivatives mint and
ubuntu)

Experimental 4.5 also appears to have the same issue. 

However 4.2 on an older non-debian system did not have this issue.


.../Nemo




-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages findutils depends on:
ii  dpkg          1.16.1.2
ii  install-info  4.13a.dfsg.1-8
ii  libc6         2.13-24

findutils recommends no packages.

Versions of packages findutils suggests:
ii  mlocate  0.23.1-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to