Bug 601347

Summary: /proc inodes pin task_structs in ram
Product: Red Hat Enterprise Linux 4 Reporter: Casey Dahlin <cdahlin>
Component: kernelAssignee: Jerome Marchand <jmarchan>
Status: CLOSED WONTFIX QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: low    
Version: 4.8CC: tao, vanhoof
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-14 19:17:58 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:

Description Casey Dahlin 2010-06-07 18:14:27 UTC
If a file or directory in /proc is kept open after a task has exited, its inode retains a reference to the task struct, thus preventing a large chunk of memory from being freed. Under the right workload, staggering amounts of ram can be eaten by dead task structs that are being pinned by /proc inodes.

Version-Release number of selected component (if applicable):
2.6.9-89.0.11

Additional info:

Patch to address this issue is:
99f895518368252ba862cc15ce4eb98ebbe1bec6

With a followup:
13b41b09491e5d75e8027dca1ee78f5e073bc4c0

Comment 1 Casey Dahlin 2010-06-07 18:15:00 UTC
*** Bug 591205 has been marked as a duplicate of this bug. ***

Comment 2 Linda Wang 2010-07-14 19:17:58 UTC

*** This bug has been marked as a duplicate of bug 604777 ***