kswapd killing critical processes

"Brian K. Jones" <jonesy-Mr68eyIdVKO79RPNQ/[email protected]> Fri, 9 Jul 2004 10:13:15 -0400
Newsgroups gmane.linux.admin.managers
Message-ID <[email protected]>
Hi all, 

Running Redhat 9 with a 2.4.26 kernel, but this happened with the stock kernel 
as well. Sometimes, we have users that run rather resource-intensive 
operations that get a bit out of control, creating huge memory footprints. 
When this happens, kswapd jumps in and starts killing off processes to 
recover swap space. This wouldn't normally be a problem except that, 
apparently, kswapd goes into "lunatic in the belltower" mode and kills off 
even critical processes like root shells on the console, sshd, and enough 
other stuff that you're eventually forced to reboot, which defeats kswapd's 
purpose for being in the first place. Has anyone seen this, and is there a 
way to get kswapd to NOT touch the root- or init-owned processes? 

brian.
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers