[K12OSN] Wiki ulimit.sh script & IceWM

Robert Arkiletian robark at telus.net
Tue Jan 4 23:53:21 UTC 2005



The wiki has an entry about making a script called ulimit.sh inside
/etc/profile.d to limit the memory usage of any particular process. 

http://www.k12ltsp.org/phpwiki/index.php/limiting%20processes

It works with GNOME but not with IceWM. 
Here is my IceWM file in /etc/X11/gdm/Sessions

#!/bin/sh
xhost +192.168.0.254
export GGI_DISPLAY=X:-noshm
. /etc/profile.d/ltsp-esound.sh
#/usr/bin/gnome-settings-daemon &
/usr/bin/nautilus -n &
exec /usr/bin/icewm

I have tried uncommenting gnome-settigs-daemon entry but no luck. I can still
swamp the server with a single c++ program that allocates TOO much memory.

PS xhost ... is for VNC reflector  and export GGI... is for the game KOTH

Robert Arkiletian




More information about the K12OSN mailing list