Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Ubuntu 14.04 OpenVz Memory Reporting Oddness
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Ubuntu 14.04 OpenVz Memory Reporting Oddness

[root@u14:~] uname -a
Linux u14 2.6.32-042stab102.9 #1 SMP Fri Dec 19 20:34:40 MSK 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@u14:~] free -m
             total       used       free     shared    buffers     cached
Mem:           512         90        421         76          0         90
-/+ buffers/cache:          0        512
Swap:          256          0        256

The container runs nginx, mysql, php-fpm with no issues. Hostnode is CentOS 6. Both the hostnode and the container have been restarted since recent updates.

Other containers (Ubuntu 12.04, Debian 7) show normal memory reporting.

Not sure when this started, didn't notice until now... :)

Comments

  • I have the same problem with a provider. It something at the hosts level. Literally all usage is seen as "cache".

  • @Mun said:
    I have the same problem with a provider. It something at the hosts level. Literally all usage is seen as "cache".

    Thanks, happy to hear it's not something I foobared :)

  • Probably a kernel bug - that kernel is very recent, was released just a few days ago.

    Report it here, please - https://bugzilla.openvz.org/

  • pkhodnevichpkhodnevich Member
    edited December 2014

    We face similar to OpenVZ. Hopefully the bug will be fixed soon.

  • cociucociu Member

    @sleddog its your wordpress guilty ??

  • cociucociu Member

    i can do the same , post stupid replay ... its a option no ??? no sense with your issue , etc etc, its great do this ?

  • @cociu said:
    i can do the same , post stupid replay ... its a option no ??? no sense with your issue , etc etc, its great do this ?

    Stop spamming and grow up.

  • Thanks @cociu for bumping this. I'd forgotten.... :)

    If anyone has an OpenVz with a recent kernel and are wondering about the accuracy of "free", you can try my "ofree" script....

    https://github.com/sleddoggy/ofree

  • NekkiNekki Veteran

    @cociu said:
    i can do the same , post stupid replay ... its a option no ??? no sense with your issue , etc etc, its great do this ?

    Best necro ever.

  • mine's okay :P

    [root@cp ~]# free -m
                 total       used       free     shared    buffers     cached
    Mem:          8192        840       7351          3          0        624
    -/+ buffers/cache:        216       7975
    Swap:         8092          0       8092
    [root@cp ~]#
    
  • KupolKupol Member

    Mine is still fucked.

    free -m total used free shared buffers cached Mem: 512 317 194 0 0 317 -/+ buffers/cache: 0 512 Swap: 512 0 512

  • @Kupol said:
    Mine is still fucked.

    free -m total used free shared buffers cached Mem: 512 317 194 0 0 317 -/+ buffers/cache: 0 512 Swap: 512 0 512

    What does ofree show you?

  • KupolKupol Member

    @sleddog
    ./nigger.sh total used free shared cached Mem: 512 327 185 81 257 -cache: 70 442 Swap: 512 0 512

  • Kupol said: ./nigger.sh

    :o)

Sign In or Register to comment.