Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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
up vote 1 down vote accepted

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.

share|improve this answer
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: – 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.

share|improve this answer

Your Answer


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