Getting memory back in sync

VulcanRidr

Renowned Member
May 21, 2010
27
0
66
I have an issue. I'm running an installation of mediawiki on an OpenVZ container, managed by Proxmox. (the CPUs don't have the VTx extensions so I can't run KVM.) In any case, I noticed that at times when I updated a page, I would get an error. I dug into the apache logs, and saw:

Code:
[Mon Dec 03 16:11:36 2012] [notice] child pid 8365 exit signal Segmentation fault (11)

When I started looking at the memory, what Proxmox is showing me differs from what the machine sees and what OpenVZ shows.

According to openvz:

Code:
102:  kmemsize                 16689012            129372160            206116305            226727936                    0

The proxmox page shows I have 1.5GB of RAM...

But the system shows different values based on free:
Code:
# free
             total       used       free     shared    buffers     cached
Mem:            -4     224768    -224772          0          0      35436
-/+ buffers/cache:     189332    -189336
Swap:            0          0          0

and top:

Code:
# top
top - 19:27:01 up 35 days,  2:01,  1 user,  load average: 0.05, 0.05, 0.00
Tasks:  50 total,   1 running,  49 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.3 us,  0.3 sy,  0.0 ni, 99.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.3 st
MiB Mem:   4194303 total,      219 used,  4194084 free,        0 buffers
MiB Swap:        0 total,        0 used,        0 free,       34 cached

What is the best way to get what the machine, the proxmox host and openvz on the same sheet of music where memory is concerned?

Thanks,
--vr
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!