OpenVZ Forum


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


I think we have a misunderstanding here. In my case, the goal is to find out how much ressources are needed by my servers


The possible solution is to disable all limits at all. Wait for a "learning phase" and after that learn the "maxheld" column of /proc/user_beancounters output.

Quote:


So in this case I want each VE to give as much ressources as they need.


Why do you want to obtain the precise limits boundary then?
As far as I understand your scenario, you always increase barrier:limit values in case of failure. Why don't you switch off all limits?

Quote:


Just adding the "failcnt" value?


failcnt = failcounter. It's just a counter. So, if your application bumped into memory shortage and was refused to allocate virtual memory, failcounter increased by 1.
 
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: Wed Sep 10 08:29:55 GMT 2025

Total time taken to generate the page: 0.08210 seconds