Editing UBC

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
{{Note|Also see {{Man|vzubc|8}} that comes with vzctl}}
+
'''UBC''', or '''User Beancounters''' — is a set of limits and guarantees contolled per VE. You can see the current usage values and limits by examining the output of <code>/proc/user_beancounters</code> file.
  
'''UBC''', or '''User Beancounters''' — a set of limits and guarantees controlled per [[container]]. UBC is the major component of OpenVZ [[resource management]].
+
Here is the example of <code>/proc/user_beancounters</code> inside VE with ID of 123:
  
{| class="wikitable"
+
<pre>
{{UBC toc/body}}
+
# cat /proc/user_beancounters
|}
+
Version: 2.5
 +
      uid  resource          held    maxheld    barrier      limit    failcnt
 +
      123: kmemsize        836919    1005343    2752512    2936012          0
 +
            lockedpages          0          0        32        32          0
 +
            privvmpages        4587      7289      49152      53575          0
 +
            shmpages            39        39      8192      8192          0
 +
            dummy                0          0          0          0          0
 +
            numproc              20        26        65        65          0
 +
            physpages          2267      2399          0 2147483647          0
 +
            vmguarpages          0          0      6144 2147483647          0
 +
            oomguarpages      2267      2399      6144 2147483647          0
 +
            numtcpsock            3          3        80        80          0
 +
            numflock              3          4        100        110          0
 +
            numpty                1          1        16        16          0
 +
            numsiginfo            0          1        256        256          0
 +
            tcpsndbuf            0          0    319488    524288          0
 +
            tcprcvbuf            0          0    319488    524288          0
 +
            othersockbuf      6684      7888    132096    336896          0
 +
            dgramrcvbuf          0      8372    132096    132096          0
 +
            numothersock          8        10        80        80          0
 +
            dcachesize        87672      92168    1048576    1097728          0
 +
            numfile            238        306      2048      2048          0
 +
            dummy                0          0          0          0          0
 +
            dummy                0          0          0          0          0
 +
            dummy                0          0          0          0          0
 +
            numiptent            10        16        128        128          0
 +
</pre>
  
== See also ==
+
See more at [[setting UBC parameters]] and [[Resource shortage]].
* http://web.archive.org/web/20130525162709/http://blog.maxgarrick.com/understanding-openvz-resource-limits
 
* [[User:Grin/openvz checker.pl]]
 
  
[[Category: UBC]]
 
 
[[Category: Definitions]]
 
[[Category: Definitions]]

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page:

Retrieved from "https://wiki.openvz.org/UBC"