[Lxc-users] sysctl and lxc

Ramez Hanna rhanna at informatiq.org
Sun Jun 5 10:44:28 UTC 2011


On Sat, Jun 4, 2011 at 7:26 PM, Permjacov Evgeniy <permeakra at gmail.com>wrote:

>  Hello!
> I'm running several containers on my box. One of them has postgresql
> installed. When I read postgresql administration parametres, I found
> suggestion to tune some parametres in sysctl.conf, such as
>
> kernel.shmmax=17179869184kernel.shmall=4194304vm.overcommit_memory=2
>
> Should I set this parametres in guest's sysctl.con or in host's one and will first choise affect only the container, entire system or has no effect?
>
>
>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
> sinse containers share the same kernel then i don't think u can set it per
container
even if you set it in the container it will afffect the host (in the case of
bind mounting proc)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20110605/f42aa329/attachment.html>


More information about the lxc-users mailing list