View previous topic :: View next topic |
Author |
Message |
trapni Retired Dev
Joined: 16 May 2002 Posts: 251 Location: Germany/Berlin
|
Posted: Mon Jan 05, 2004 9:48 pm Post subject: grsecurity problems: RLIMIT errors ^ init 90%CPUload ^ ... |
|
|
hi,
I installed grsecurity with linux-2.4.22-gentoo-r2. Now the system complains about lots of RLIMIT exceedings, that causes some programs to crash.
Also, lots of cron, apache2, bash and other processes died unexpectly into Zombie state. (which didn't happen in vanilla-2.4.22).
I decided to reboot via "reboot;exit" via ssh (instant local access impossible) which did not reboot the system, but made the init process become my second idle task, since it is wasing most of my CPU spare time (~95%CPUload). -- WHY?
Then I decided to hard-reboot the system, via a little C program. Code: | #include <sys/reboot.h>
int main() { retrurn reboot(RB_AUTOBOOT); } | which at least has turned off the system.
So now, my system isn't serving anymore - until some kind of guy with the privileges to hold the server's room's key and will let me in to push the button.
How could I prevent such ugly ugly worst cases of down times? Is there any other possible way to reboot the system, or to re-execve the init process or to cleanup the zombie process list?
many many thanks,
Christian Parpart. |
|
Back to top |
|
|
alexem n00b
Joined: 25 Feb 2004 Posts: 1 Location: Kaunas, Lithuania
|
Posted: Wed Feb 25, 2004 9:39 pm Post subject: Re: grsecurity problems: RLIMIT errors ^ init 90%CPUload ^ . |
|
|
trapni wrote: | hi,
<...>
I decided to reboot via "reboot;exit" via ssh (instant local access impossible) which did not reboot the system, but made the init process become my second idle task, since it is wasing most of my CPU spare time (~95%CPUload). -- WHY?
Then I decided to hard-reboot the system, via a little C program. Code: | #include <sys/reboot.h>
int main() { retrurn reboot(RB_AUTOBOOT); } | which at least has turned off the system.
<...>
many many thanks,
Christian Parpart. |
I had the same problem with my server tonight, I'm running Gentoo Linux gentoo-sources-2.4.22-r4 with grsecurity set to "medium".
I would like to thank you for your cool "reboot" program It helped me very much
Good luck! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|