From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Mon 15 Sep 2003 - 03:06:15 BST
Hi Folks!
I've updated the Context Memory Limit patch, and
it should now do the accounting properly ...
to set the limit, no additional tool is required,
just setting the virtual memory resource limit
(ulimit -v <size>) is sufficient, the limit and
the current value can be read via /proc/self/status
the RSS limit can be also set via -m option, but
as this limit isn't enforced in the current kernel,
there is not too much sense in this ...
get it at
http://vserver.13thfloor.at/Experimental/patch-2.4.22-ctx17a-ml0.04.diff.bz2
if you encounter any debug messages looking like
the following samples, please send them to me ...
MM[VM] out of context [-1,1001,0] »signal.c:1469«
MM[RSS] out of context [-1,1001,0] »signal.c:1470«
(they are harmless, but extremely informative)
TIA,
Herbert