Использование верхней памяти на сервере - не может определить процесс

yum -y install nfs-utils portmap

Подготовьте и измените/etc/exports для того, чтобы совместно использовать файлы, которые были бы подобный как показано ниже

/home/NFS-files 192.168.100.0/24 (ro, синхронизация)

/home/NFS-share */26 (rw, синхронизация)

/ ISO 192.168.100.0/24 (ro, синхронизация)

service portmap start

service nfs start
3
задан 1 September 2012 в 12:14
3 ответа

Your KVM-based virtual machine is reporting much more memory used than the running processes account for.

I would guess the most likely cause of this is that the host is using memory ballooning to overcommit memory usage on the host.

You won't have much control over this unless you also control the host. If you've leased this virtual server, check with the host regarding their memory overcommit policies.

4
ответ дан 3 December 2019 в 05:30

You misread the output of free.
This command show your sever has 300 MiB free and 3256 MiB used for buffers and cache. So you only have 3831-3256=575 MiB used. Which is clearly not high usage.
Edit : I took the wrong numbers. This is 3530-3256=274MiB used by programs and kernel, without counting buffers and cache.

The memory used by buffers and cache will be released if any program needs it.
Поскольку ваш сервер не использует много памяти, ядро ​​использует его для хранения некоторых данных, которые впоследствии могут быть отброшены. Когда программе требуется больше памяти, ядро ​​сбрасывает часть кеша, чтобы передать эту память программе.
Количество реально доступной памяти настраивается ядром. Если нагрузка ввода-вывода велика, ядро, как правило, оставляет больше памяти для кеширования.

0
ответ дан 3 December 2019 в 05:30

You might also want to check for ramdisk mounts. A mount|grep tmpfs should show any. If there are large files in those directories, that might cause large RAM usage without it showing up in top, though I don't think it's possible for a ramdisk to take up all the memory.

2
ответ дан 3 December 2019 в 05:30

Теги

Похожие вопросы