B
B
BestJS2019-10-15 09:07:23
linux
BestJS, 2019-10-15 09:07:23

/proc/meminfo who to trust?

The situation is this.
The top command shows that ~35% of RAM is occupied.
VMmanager shows 100% used RAM.
Rummaged through the vm docks, it takes info from the file /proc/meminfo
top:
5da560b4402fd445152449.png
/proc/meminfo :
5da560baea899091636541.png
When the "site" is launched, it does not give errors,
When monitoring glances is turned on:

0 [main] ssh 1091 C:\Program Files\Git\usr\bin\ssh.exe: *** fatal error - cmalloc would have returned NULL

Server on openvz (I think this may be the reason)
ubuntu 16
Please explain what is going on with memory and what to do.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2019-10-15
@BestJS

"In the OpenVZ container there are special principles for working with memory. In addition to the general checks performed by the kernel when allocating memory to processes, checks are made of the limits of the memory parameters set for each container. Inside the OpenVZ container, you will not see the memory allocated for buffering (caching) and you will not see the swap size (except in the case of using VSWAP). However, both are provided. But this happens in physical server space (HN)7) and is hidden from the container user."
https://wiki.colobridge.net/linux/%D1% 83%D0%BF%D1%...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question