Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a network of OpenVZ machines that I am testing various congestion control methods on. I need to know how to change the congestion control. Currently I get nothing but permission denied. Is it even possible to change this on this sort of configuration?

[tylersc@center ~]$ sudo sysctl -w net.ipv4.tcp_congestion_control=reno
error: permission denied on key 'net.ipv4.tcp_congestion_control'
[tylersc@center ~]$ sudo sysctl net.ipv4.tcp_congestion_control
net.ipv4.tcp_congestion_control = cubic

Correction: OpenVZ not OpenVM

share|improve this question
    
Can you tell us what "OpenVM" is supposed to be? –  Michael Hampton Dec 10 '13 at 1:16
    
Sorry, meant to say OpenVZ. –  Tyler Scott Dec 10 '13 at 1:30

1 Answer 1

up vote 3 down vote accepted

OpenVZ is container-based, and as such, uses a shared kernel. Containers can only change a very small, restricted set of sysctls (which ones, unfortunately, aren't even documented). If you need to do this, you need to be using something other than OpenVZ.

share|improve this answer
    
Thanks, that's all I needed to know. –  Tyler Scott Dec 10 '13 at 1:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.