5 Sep 2006 01:21
Kernel Hangs: Highmem and GRSECURITY
Hello friends. This has been a tough one to debug. My linux kernel acting as a router with grsecurity and Highmem enabled hangs after 3 hours of heavy traffic. I have tried Magic-sysrq and KDB debugging unsuccessfully to find the cause of the hang. The reason i suspect the connection is pretty straight forward as a configuration. Highmem has been there in my 1GB ram kernel for ages now. When PAX is enabled via the grsecurity patch , We actually split the 3GB user space to 1.5-1.5 of exec n no exec memory via the segmentation feature .Right? But the statistics drags highmem into this .On a hightraffic load ,The amount of Highmen available is very less just before the kernel hangs (It reduces from 15MB available to 2 MB as shown below) If i disable grsec , the Highmem no longer reduces exponentially at heavy network activity. total: used: free: shared: buffers: cached: Mem: 1057366016 709046272 348319744 0 3854336 610566144 Swap: 0 0 0 MemTotal: 1032584 kB MemFree: 340156 kB MemShared: 0 kB Buffers: 3764 kB Cached: 596256 kB(Continue reading)
RSS Feed