OpenVZ Forum


Home » General » Support » Kmemsize - Always failing and super huge (My kmemsize is huge and always going over the barrier)
Kmemsize - Always failing and super huge [message #39942] Tue, 29 June 2010 05:00 Go to next message
edeis is currently offline  edeis
Messages: 3
Registered: June 2010
Junior Member
Is my kmemsize unusually large? I am running centos via openVZ kernel 2.6.18-194.3.1.el5.028stab069.6

It always seems to be going over the barrier and failing.
Res: kmemsize
Held: 70693474
* Maxheld: 78986195
Barrier: 78970880
Limit: 81264640
* Failcnt: 106

In every example I've seen that talks about setting kmemsize, the value is usually much smaller. Am I doing something wrong? What is the best way to calculate the proper size for kmemsize?


# cat /proc/user_beancounters
Version: 2.5
       uid  resource                     held              maxheld              barrier                limit              failcnt
      121:  kmemsize                 61415845             78986195             78970880             81264640                  106
            lockedpages                     0                    9                  256                  256                    0
            privvmpages                334148               430906              1048576              1310720                    0
            shmpages                     7791                 8159                21504                21504                    0
            dummy                           0                    0                    0                    0                    0
            numproc                       184                  233                  240                  240                    0
            physpages                  209933               282741                    0  9223372036854775807                    0
            vmguarpages                     0                    0               524288  9223372036854775807                    0
            oomguarpages               209933               282741               524288  9223372036854775807                    0
            numtcpsock                     73                   91                  360                  360                    0
            numflock                       14                   32                  188                  206                    0
            numpty                          1                    2                   16                   16                    0
            numsiginfo                      0                  230                  256                  256                    0
            tcpsndbuf                 1278912              2473560             10731520             20971520                    0
            tcprcvbuf                 1196032              1707840             10731520             20971520                    0
            othersockbuf               549872               994952              4504320              8388608                    0
            dgramrcvbuf                     0                21512              1048576              1048576                    0
            numothersock                  292                  411                 1440                 1440                    0
            dcachesize                      0                    0              3409920              3624960                    0
            numfile                      6363                 7827                 9312                 9312                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            numiptent                      58                   59                  128                  128                    0
Re: Kmemsize - Always failing and super huge [SOLVED] [message #39943 is a reply to message #39942] Tue, 29 June 2010 06:03 Go to previous message
edeis is currently offline  edeis
Messages: 3
Registered: June 2010
Junior Member
Hey, I just discovered the command "vzsplit" it will evenly divide your machine into the appropriate amount of containers and maximize the memory. I wish someone would have told me about this one a while ago.

Thread closed!
Previous Topic: Multiple veth in VE assigned to proper vmbr on HN?
Next Topic: Control VPS on High load
Goto Forum:
  


Current Time: Fri Sep 27 08:13:41 GMT 2024

Total time taken to generate the page: 0.04400 seconds