XFS has memory leak
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Medium
|
Adam Conrad |
Bug Description
Brief description:
When performing file operations (e.g. cp, mv, tar) involving an XFS-formatted
partition on a different disk, memory usage increases radically and does not
decrease when the operation is complete.
Steps to reproduce:
Note: You may wish to logout and stop GDM before continuing, as your session
may become unusable after this test (hence the bug report).
1) Create an XFS partition on a secondary disk.
2) Mount the XFS partition and copy some large files (300Mb or larger) to it.
3) Note that real memory usage has increased dramatically, generally also
requiring swap memory usage to increase.
4) Unmount the XFS partition and note that memory usage reduces, but not to the
expected level.
5) Remove the running XFS module and note that memory usage remains at a
slightly increased level.
Additional information:
Rebooting the machine will bring memory usage back, and memory usage will remain
correct even if the XFS partition is mounted, so long as no file operations are
performed that involve the XFS partition. My primary partitions are ReiserFS,
and do not exhibit the problem.
Problem occurs on:
Ubuntu 5.10
Kernel 2.6.9-12-k7 (Ubuntu-provided)
On additional testing, this problem appears to be an interaction between
nvidia-glx and XFS. I am unable to reproduce the problem without nvidia-glx
enabled, and am likewise unable to reproduce on a filesystem other than XFS.
The version of nvidia-glx in question is 1.0.7667-0ubuntu25.