Bug 11396 - "ls" consumes all memory and dies
Summary: "ls" consumes all memory and dies
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 6.2
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-05-12 22:18 UTC by olchansk
Modified: 2018-11-30 21:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-06-12 21:45:35 UTC
Embargoed:


Attachments (Terms of Use)

Description olchansk 2000-05-12 22:18:34 UTC
We get this error from "ls":
------
root# ls -f
ls: Memory exhausted
root#
------
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

K.O.

Comment 1 Bernhard Rosenkraenzer 2000-06-12 21:45:34 UTC
Looks like an interoperability bug between the nfs implementations in the
kernel.
reassigning.

Comment 2 Alan Cox 2000-08-08 21:23:10 UTC
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.