lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <49C7E959.4010000@cs.utexas.edu>
Date:	Mon, 23 Mar 2009 14:56:09 -0500
From:	Don Porter <porterde@...utexas.edu>
To:	linux-ext4@...r.kernel.org
Subject: ext3 leaking buffer_heads

Hi,

It appears that the ext3 journal code has a slow leak of buffer_head 
structs.  Try this simple script:

perl -e 'while(1){ `sync`; }'

and monitor the count of allocated buffer_head structs in 
/proc/slabinfo, and it seems to increase without bound.  Even after this 
script is killed and the machine is left idle for several minutes, the 
count of buffer heads doesn't substantially decrease.

Looking around at various machines I have access to, the count of 
allocated buffer_heads roughly correlates with uptime when using ext3.  
This is a slow leak - one would likely have to run this script for a day 
or more to drain enough lowmem to cause problems.

Other info:  I have only tried this on x86 machines, but I have tried 
both 2.6.22.6 and 2.6.28.8, and both have the problem.  I am running 
Ubuntu 7.10 on top of these kernels, but the kernels were built directly 
from kernel.org tarballs.

Any advice or help with this issue is greatly appreciated. 

Thanks,
Don
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ