From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Sun 07 Aug 2005 - 18:08:47 BST
On Sat, Aug 06, 2005 at 05:57:30PM +0200, Andreas John wrote:
> Dariush Pietrzak,,, wrote:
> > Good luck to all!
> Do I get it right, that there is no possibility to set per guest ulimits
> in the conf of vs20? I only found the possibility to set a "ulimit" or
> "nproc" flag in /etc/vservers/<foo>/flags, which is only for appying the
> current (i.e. the hosts) ulimit to the guest. I guess there can only be
> one ulimit in the (host) kernel, in our particular case for user "root",
> so all guests share one common umlinit unless it set "nproc" in the flags?
the ulimit and nproc flags are for legacy only, they
have no real effect on vs2.0
you can set ulimits (with recent tools) for vs2.0
> Limit the number of process in the vserver according to ulimit setting.
> Normally, ulimit is a per user thing. With this flag, it becomes a per
> vserver thing.
> So, if I want to keep the guests umlimit reasonably low, I have to set
> the ulimit for root low????
no, just specify the ulimits properly, just keep in
mind that the guest will be able to change the ulimits
as a real host can ...
(that's what the rlimits are for)
> Vserver mailing list
Vserver mailing list