Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30727 - Memory "disappears" with hardened-sources-2.4.21
Summary: Memory "disappears" with hardened-sources-2.4.21
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: The Gentoo Linux Hardened Team
Depends on:
Reported: 2003-10-08 22:00 UTC by Jörg Lübbert
Modified: 2003-11-17 06:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Lübbert 2003-10-08 22:00:44 UTC
I've had the mysterious problem that I run out of memory with the
hardened-sources whenever I do huge tasks (such as recompiling glibc). Top shows
a steady decrease of free memory, buffers and cache until all three hit ground
while used memory hits max. Unfortunately this is *NOT* true. From 512MB of RAM,
only a few amount is actually used. I found out that turning off the
segmentation based approach in PaX solves the problems. Glibc now compiles fine,
the RAM utilization never gets even near ground. To me this sounds as if memory
that was once used but isn't used anymore doesn't get freed properly. I couldn't
replicate this phenomenon with gentoo-sources-2.4.20-r7 using the same kernel
settings. Maybe this is a GRSecurity 2 issue? Maybe not. I hope you guys will
find out. If you cannot replicate this problem, drop me a note and I'll attach
my system settings and kernel.conf

Reproducible: Always
Steps to Reproduce:
Comment 1 Alexander Gabert (RETIRED) gentoo-dev 2003-10-11 14:16:12 UTC

can you try the exact .config with sys-kernel/grsec-sources please, the same
grsec patch and kernel version preferably?

i would like to know if there is a collision of the pax/grsec pieces with
something in the hardened-sources kernel that seems to have a bit much additional
patches in it

sorry for not reporting back earlier,

thanks so far

Comment 2 solar (RETIRED) gentoo-dev 2003-11-07 11:36:39 UTC
hardened-sources-2.4.22 is out please give it a try and feel free to report
back any problems you may notice.
Comment 3 Alexander Gabert (RETIRED) gentoo-dev 2003-11-11 01:25:04 UTC
any new issues?
Comment 4 Alexander Gabert (RETIRED) gentoo-dev 2003-11-17 06:30:14 UTC
no feedback within 1 week, close bug