[Users] sysctl -w

Peter Sabaini peter at sabaini.at
Wed Oct 30 07:34:38 PDT 2013


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

Is there a knob on the host that I need to tune to be able to do this? 
Or was the above just unfounded rumour? ;-)

Thanks,
peter.


More information about the Users mailing list