I have two VEs running on the same physical server. One VE sends requests and the other reads/processes them. I'm trying to benchmark the setup, but I keep blowing through the UBC limits. Things grind to a halt when this happens. Is there a way I can completely disable UBC so it doesn't keep hitting limits? Or is the only way to do something like this to set the UBC params to extraordinarily high values?

  • Can you please post the contents of /prov/user_beancounters for the container that you are benchmarking in ? – Dave Cheney Feb 21 '10 at 5:05

OpenVZ can be a bit difficult to set limits for. Documentation is not very clear and the configuration is quite arcane if you are a first timer. Instead of using the example configurations, I would encourage you to use vzsplit to help set up your limits. That solved a lot of my problems when hitting limits. The generic configuration does not fit all sizes.

  • I am a first timer, and had the same issues as the poster, then as you said I-ve found about vzsplit, and really made my day, although I had a minor problem with CPUUNITS, which finally turn out to be a bug: bugzilla.openvz.org/show_bug.cgi?id=1627 – Leandro López Sep 5 '10 at 1:01

If you're hitting the limits, either you've set the limits too low or you're doing something extraordinarily wrong. I'd raise the limits to appropriate levels for your hardware, and then if that doesn't help, investigate what the code is doing wrong.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy