[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] Wiki ulimit.sh script & IceWM




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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]