Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 11396 - "ls" consumes all memory and dies
"ls" consumes all memory and dies
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Michael K. Johnson
Depends On:
  Show dependency treegraph
Reported: 2000-05-12 18:18 EDT by olchansk
Modified: 2017-12-30 02:47 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-06-12 17:45:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description olchansk 2000-05-12 18:18:34 EDT
We get this error from "ls":
root# ls -f
ls: Memory exhausted
with "top" and "xosview" we see that "ls" grows until
it consumes all available memory (256 Mbytes) and dies
with the above error.

The directory with this problem is NFS mounted from
an SGI running IRIX 6.5.7m. The directory is located
on an XLV logical volume and contains about 2000 files.
Other directories with fewer files seem to be fine.

Further details on mount options, disk sizes, etc...
are available upon request to olchansk@bnl.gov

Comment 1 Bernhard Rosenkraenzer 2000-06-12 17:45:34 EDT
Looks like an interoperability bug between the nfs implementations in the
Comment 2 Alan Cox 2000-08-08 17:23:10 EDT
Known SGI problem. They sometimes duplicate directory keys and that causes an
infinite directory size!

Note You need to log in before you can comment on or make changes to this bug.