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

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!
>
> Thanks!
>
> 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

> ---quote---
> nproc
> 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)

HTH,
Herbert

>
> rgds,
> Andreas
>
>
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
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 Sun 07 Aug 2005 - 18:09:13 BST by hypermail 2.1.3