On 06/04/2011 06:26 PM, Permjacov Evgeniy 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=17179869184 > kernel.shmall=4194304 > vm.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? kernel.shmmax and kernel.shmall are per container. I don't know how vm.overcommit_memory behaves with container and especially the cgroup memory controller.
Maybe Balbir has some infos. Thanks -- Daniel ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/lxc-users
