About this list Date view Thread view Subject view Author view Attachment view

From: Dariush Pietrzak,,, (eyck_at_ghost.anime.pl)
Date: Sat 06 Aug 2005 - 15:39:10 BST


> 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)
 eyck_at_dev:/tmp/PERL$ ulimit -l 10240 -m 10240 -u 12 -v 10240 -d 10240
 eyck_at_dev:/tmp/PERL$ :(){ :|:&};:
 [1] 27182
 eyck_at_dev:/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_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 06 Aug 2005 - 15:39:37 BST by hypermail 2.1.3