[Users] sysctl -w
Kir Kolyshkin
kir at openvz.org
Wed Oct 30 08:21:10 PDT 2013
On 10/30/2013 07:34 AM, Peter Sabaini wrote:
> Hey all,
>
> I've read somewhere that with OpenVZ kernel > 2.6.32-042stab072.10 it
> should be possible to set sysctl from within the VE
>
> However:
>
> # sysctl -w fs.file-max=10000
> error: permission denied on key 'fs.file-max'
> # uname -a
> Linux xxx 2.6.32-042stab081.5 #1 SMP Wed Oct 23 16:32:28 MSK 2013
> x86_64 x86_64 x86_64 GNU/Linux
You have to change this on the host system (i.e. hardware node).
For container, this is limited by numfile UBC (http://openvz.org/numfile)
More information about the Users
mailing list