> Well, I mean if I run a mem-eater or process-rabbit within a guest, the 
> host's power drain up to total trashing (kudos the remote hands in the 
> datacentre)
 [EMAIL PROTECTED]:/tmp/PERL$ ulimit -l 10240 -m 10240 -u 12 -v 10240 -d 10240
 [EMAIL PROTECTED]:/tmp/PERL$  :(){ :|:&};:
 [1] 27182
 [EMAIL PROTECTED]:/tmp/PERL$ -su: fork: Resource temporarily unavailable
 -su: fork: Resource temporarily unavailable

You just put that in vserver's guest configuration:

grep -i ulimit /etc/vservers/dev.conf
ULIMIT="-H -u 256 -n 1024"


similiar thing works for dreaded new-style configuration (probably in
/etc/vservers/dev/ulimit/*)

-- 
Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
 Total Existance Failure
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to