I pasted the wrong output in my email. The shm settings in my container are
actually:
[root@ct1 ~]# sysctl -a|grep shm
kernel.shmmax = 33554432
kernel.shmall = 2097152
kernel.shmmni = 4096
Thanks,
Jan
On Mon, May 28, 2012 at 11:55 AM, Jan Den Ouden <jan...@denouden.info>wrote:
> Hi,
>
> I'm using kernel 3.2.0 on Linux Mint 13. Inside a container I am running
> an application which needs a lot of shared memory. On my host I have
>
> lenovo memory # sysctl -a|grep shm
> kernel.shmmax = 4398046511104
> kernel.shmall = 1073741824
> kernel.shmmni = 4096
>
> However, in my container I see:
>
> lenovo memory # sysctl -a|grep shm
> kernel.shmmax = 4398046511104
> kernel.shmall = 1073741824
> kernel.shmmni = 4096
>
> I don't understand where these much lower settings come from. Is this
> because the IPC subsystem is isolated? When I try to change the setting in
> the container it fails:
>
> [root@ct1 ~]# sysctl -w kernel.shmmax=4398046511104
> error: permission denied on key 'kernel.shmmax'
>
> My lxc config file does not contain any entries to drop capabilities. What
> do I need to do to enable change kernel parameters inside the container?
>
> Many thanks for any help!
>
> Jan
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users