Major Problem With Grsecurity 1.9.6 And Kernel 2.4.19
Posted: Mon Aug 05, 2002 2:17 am
I'm having A LOT of trouble with kernel version 2.4.19, Grsecurity 1.9.6, and Apache 1.3.26 with Mod_Perl, Mod_SSL, and PHP installed into it (all the latest versions).
Everytime I boot up, when Redhat 7.3 goes to "setup the swap space" it hangs for a good minute or so. And after it boots up, Apache runs, but none of the pages that it serves comes up (you just get a "Connection Refused"). Nothing turns up in the logs (either Apache's logs or Syslog's) and Apache correctly opens up the ports that it should (and I can connect to them). Upon looking into it further, I've discovered that Apache is causing insanely high load on my box. Here's the proof:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
apache 3625 19.4 3.0 24148 15664 ? R 01:11 2:09 /usr/local/www/bin/httpd -DSSL
apache 3047 19.4 3.0 24148 15664 ? R 01:11 2:09 /usr/local/www/bin/httpd -DSSL
apache 3604 19.4 3.0 24148 15664 ? R 01:11 2:09 /usr/local/www/bin/httpd -DSSL
apache 15797 19.4 3.0 24148 15664 ? R 01:11 2:09 /usr/local/www/bin/httpd -DSSL
apache 1234 19.4 3.0 24148 15664 ? R 01:11 2:09 /usr/local/www/bin/httpd -DSSL
and
1:25am up 16 min, 2 users, load average: 5.10, 4.83, 3.08
Furthermore, when the httpd processes are all killed off, the load is reduced completely.
I have narrowed it down to Grsecurity 1.9.6 (with kernel 2.4.19), but not a specific Grsecurity option. Kernel 2.4.18 with Grsecurity 1.9.5 works fine and kernel 2.4.19 without Grsecurity options enabled (the patch is applied, however) works like a charm.
I'm really pulling out my hair on this one. I wrote this forum in the effort that maybe it'll raise awareness of a bug or if someone knows of a specific Grsecurity option that might be causing this issue. Feel free to ask for further information. I'd REALLY like to get this resolved.
Everytime I boot up, when Redhat 7.3 goes to "setup the swap space" it hangs for a good minute or so. And after it boots up, Apache runs, but none of the pages that it serves comes up (you just get a "Connection Refused"). Nothing turns up in the logs (either Apache's logs or Syslog's) and Apache correctly opens up the ports that it should (and I can connect to them). Upon looking into it further, I've discovered that Apache is causing insanely high load on my box. Here's the proof:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
apache 3625 19.4 3.0 24148 15664 ? R 01:11 2:09 /usr/local/www/bin/httpd -DSSL
apache 3047 19.4 3.0 24148 15664 ? R 01:11 2:09 /usr/local/www/bin/httpd -DSSL
apache 3604 19.4 3.0 24148 15664 ? R 01:11 2:09 /usr/local/www/bin/httpd -DSSL
apache 15797 19.4 3.0 24148 15664 ? R 01:11 2:09 /usr/local/www/bin/httpd -DSSL
apache 1234 19.4 3.0 24148 15664 ? R 01:11 2:09 /usr/local/www/bin/httpd -DSSL
and
1:25am up 16 min, 2 users, load average: 5.10, 4.83, 3.08
Furthermore, when the httpd processes are all killed off, the load is reduced completely.
I have narrowed it down to Grsecurity 1.9.6 (with kernel 2.4.19), but not a specific Grsecurity option. Kernel 2.4.18 with Grsecurity 1.9.5 works fine and kernel 2.4.19 without Grsecurity options enabled (the patch is applied, however) works like a charm.
I'm really pulling out my hair on this one. I wrote this forum in the effort that maybe it'll raise awareness of a bug or if someone knows of a specific Grsecurity option that might be causing this issue. Feel free to ask for further information. I'd REALLY like to get this resolved.