Bug 146072
Summary: | Memory leak when create or copy large files | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Dimitris <dalyfantis> | ||||||
Component: | kernel | Assignee: | Larry Woodman <lwoodman> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 3.0 | CC: | jparadis, petrides, riel | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-04-07 13:57:03 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Dimitris
2005-01-25 05:24:52 UTC
Created attachment 110181 [details]
As3 info rar file
Here is some information about the system settings
Dimitris, please provide more information here. Please start by running "vmstat 1" while the copy is taking place and attach the results. RHEL3 uses system memory to cache the file system data when you reference file pages so its is likely that the system is still holding onto that memory for that purpose. Larry Woodman Created attachment 110298 [details]
vmstat output
Dimitris, thanks for the vmstat output. I dont see a problem with the kernel, its working as it is designed. Before starting the copy you have ~1.5GB in the pagecache and ~1.5GB free. After the copy you have ~3GB in the pagecache and the system has not swapped at all. VMSTAT output....................... r b swpd free buff cache 1 1 0 1542952 211060 1555064 ... 0 0 0 20356 221816 3055976 .................................... The Linux kernel uses all available memory to cache filesystem data so that it wont have to do disk IO if that file data is needed again in the near future. Since it can and does reclaim those pages out of the file system cache its not leaking memory, its just using it appropriately. Do you agree or is there some other problem that I am not understanding here? Thanks, Larry Woodman |