OpenVZ Forum


Home » General » Support » *SOLVED* Set available memory
Re: Set available memory [message #13952 is a reply to message #13950] Fri, 08 June 2007 11:53 Go to previous messageGo to previous message
mdekkers is currently offline  mdekkers
Messages: 8
Registered: June 2007
Junior Member
Thanks for asnwering - sorry to be a total numpty here, but I am now thoroughly confused about setting these values

output from cat /proc/user_beancounters:
cat /proc/user_beancounters
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
     1001:  kmemsize        1178082    2609126    2752512    2936012          0
            lockedpages           0          0         32         32          0
            privvmpages        7077      43511      49152      53575        252
            shmpages            181        837       8192       8192          0
            dummy                 0          0          0          0          0
            numproc              20         51         65         65          0
            physpages          3705      14743          0 2147483647          0
            vmguarpages           0          0       6144 2147483647          0
            oomguarpages       3705      14743       6144 2147483647          0
            numtcpsock            2          6         80         80          0
            numflock              1         10        100        110          0
            numpty                1          4         16         16          0
            numsiginfo            0         11        256        256          0
            tcpsndbuf             0      60448     319488     524288          0
            tcprcvbuf             0     676296     629488    1024288       3224
            othersockbuf       2232      17304     132096     336896          0
            dgramrcvbuf           0       8376     132096     132096          0
            numothersock          1          9         80         80          0
            dcachesize            0          0    1048576    1097728          0
            numfile             426        979       2048       2048          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            14         14        128        128          0

Is this listed in pagesizes, or in KB? also, from my conffile:
cat 1001.conf | grep -i privv
PRIVVMPAGES="49152:53575"


I am trying to work out how to get the right value to feed to privvmpages, but none of the numbers that come up seem right.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *KNOWN ISSUE* VZquota and Shared VEs with NFS
Next Topic: *SOLVED* Searching for OpenVZ kernel 2.6.9-42
Goto Forum:
  


Current Time: Tue Sep 03 09:51:51 GMT 2024

Total time taken to generate the page: 0.04835 seconds