[Lxc-users] kernel.shmmax in LXC

Miroslav Lednicky miroslav.lednicky at fnusa.cz
Thu Jun 7 06:41:03 UTC 2012


Hello,

	please, write me.

How can I change kernel.shmmax in LXC?

I see in host:

sysctl -q kernel.shmmax
kernel.shmmax = 301989888

but in LXC is:

sysctl -q kernel.shmmax
kernel.shmmax = 33554432

I try:

sysctl -q -w kernel.shmmax=301989888

but:

error: permission denied on key 'kernel.shmmax'

I read, kernel.shmmax value is by container.

OK, but how can i change it?

I have problem with postgres in LXC.

Thank you,

Miroslav.

-- 
Miroslav Lednický





More information about the lxc-users mailing list