OpenVZ Forum


Home » General » Support » Disabling all limits
Re: Disabling all limits [message #35648 is a reply to message #35642] Fri, 10 April 2009 06:50 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Quote:


What I do: I have written a small awk-script which monitors the sum of the failcnt-column in /proc/user_beancounters and if this value is >= 0


This approach is not correct. You should monitor if faicnt are increasing not if they are just >0.

Quote:


... and restarting the VE.


after you've adjusted ubc-parameter you don't have to restart VE.

Quote:


This means that this value is just ~100 too low; what to I do?
vzctl set 201 --privvmpages 87536:91632 --save

and restarting the VE. As you can see, I add 10000 (!) although only 97 are needed. But some time after restarting: same result. I adjusted the limit a few times now but failcnt becomes always nonzero for this specific limit after some time. So, what I am doing wrong?


Sorry, I didn't catch you at all. What are 100 and 10000? What kind of parameters do you measure?

Quote:


And, one other thing. If I stop a VE, the entries in /proc/user_beancounters are not removed (only after some time)


This might be a valid behavior. Here is a nice article.
http://wiki.openvz.org/UBC_failcnt_reset
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: kernel/rhel5/028stab060.8 Kernel Compilation Error
Next Topic: using /dev/ttyS0 inside a VM ?
Goto Forum:
  


Current Time: Mon Aug 12 15:22:56 GMT 2024

Total time taken to generate the page: 0.02966 seconds