On Friday 26 August 2005 09:36, Matvey Gladkikh wrote:
On 22/08/05 14:59 +0200, Herbert Poetzl wrote:
I don't know about rlimits/ directory, but for vlimit it can look
like: vlimit --xid X --data 1572864
Is there a way to limit each vserver's maximum memory usage to 64 MB?
This instruction should be issued each time guest boots up?
No, you can normally write the rlimit in file etc/vservers/server
name/rlimits/limit name.hard
Cf flower page
http://www.nongnu.org/util-vserver/doc/conf/configuration.html
But the data limit per context doesn't seem available right now
http://linux-vserver.org/Resource+Limits (no R in Code column)
From my tests, you can use --rss (file rss.hard) or --as (file
as.hard). For your purpose, perhaps as (address space, or virtual memory)
is what you want ?
--
Xavier Montagutelli
Service Commun Informatique
Universite de Limoges
Tel : +33 555457720
Cle GPG : http://pgp.mit.edu 1024D/175CE198
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver