OpenVZ Forum


Home » General » Support » *SOLVED* memory limit problem
Re: memory limit problem [message #4773 is a reply to message #4751] Wed, 26 July 2006 07:32 Go to previous messageGo to previous message
disaster is currently offline  disaster
Messages: 158
Registered: February 2006
Senior Member
I'm already using the --meminfo <parameter> the whole node has 8GB of RAM.

At the moment with limit 2GB (for meminfo and pages) for the VPS i see:

with free command:
[email]root@vps-246-179[/email]:~# free
             total       used       free     shared    buffers     cached
Mem:       2097152      77452    2019700          0          0          0
-/+ buffers/cache:      77452    2019700
Swap:            0          0          0


cat /proc/user_beancounters 
Version: 2.5                                                                                                                     
       uid  resource                     held              maxheld              barrier                limit              failcnt
       179: kmemsize                  3008033              3906778              5242880              5592405                    0
            lockedpages                     2                    2                   32                   32                    0
            privvmpages                134538               150058               524288               524288                    0
            shmpages                      652                 4108                 8192                 8192                    0
            dummy                           0                    0                    0                    0                    0
            numproc                        53                   71                  150                  150                    0
            physpages                   19365                29986                    0               524288                    0
            vmguarpages                     0                    0               524288               524288                    0
            oomguarpages                19365                29986               524288               524288                    0
            numtcpsock                     12                   15                  290                  290                    0
            numflock                        5                    8                  100                  110                    0
            numpty                          1                    1                   16                   16                    0
            numsiginfo                      0                   13                  256                  256                    0
            tcpsndbuf                    6888                76016               319488               524288                    0
            tcprcvbuf                    1272                30408              1048576              1048576                    0
            othersockbuf                 6888               134048              1048576              1048576                    0
            dgramrcvbuf                     0                 4344               132096               132096                    0
            numothersock                    8                   19                   80                   80                    0
            dcachesize                 214368               289212              1048576              1097728                    0
            numfile                       368                 2048                 2048                 2048                 1489
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            numiptent                       4                    4                   96                   96                    0


so free says 70MB which seems to be correct - cause on a normal hardwarenode the system also uses something about 70MB.

an user_beancounters says:
134538 4kb pages => 525 MB

I hope this helps you.

[Updated on: Wed, 26 July 2006 07:35]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: load balancing and migration between hardware nodes.
Next Topic: Create Full Backup
Goto Forum:
  


Current Time: Wed Aug 28 18:17:03 GMT 2024

Total time taken to generate the page: 0.03191 seconds