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: 1. 2. 3.
hi, 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 Alex
hardened-sources-2.4.22 is out please give it a try and feel free to report back any problems you may notice.
any new issues?
no feedback within 1 week, close bug