Hi,<div><br></div><div>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 </div><div><br></div><div><div>lenovo memory # sysctl -a|grep shm</div>
<div>kernel.shmmax = 4398046511104</div><div>kernel.shmall = 1073741824</div><div>kernel.shmmni = 4096</div></div><div><br></div><div>However, in my container I see:</div><div><br></div><div><div>lenovo memory # sysctl -a|grep shm</div>
<div>kernel.shmmax = 4398046511104</div><div>kernel.shmall = 1073741824</div><div>kernel.shmmni = 4096</div></div><div><br></div><div>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:</div>
<div><br></div><div><div>[root@ct1 ~]# sysctl -w kernel.shmmax=4398046511104</div><div>error: permission denied on key 'kernel.shmmax'</div></div><div><br></div><div>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?</div>
<div><br></div><div>Many thanks for any help!</div><div><br></div><div>Jan</div><div><br></div>