没有空闲/缓存内存并且没有进程消耗它

没有空闲/缓存内存并且没有进程消耗它

我无法监控 RAM 的隐藏位置,它不是 buff/cached,而且我不确定是否理解 /proc/meminfo 数据

可以肯定的是,当我停止或尝试捕获进程时,我找不到超过 3-4 个消耗我 RAM 0.1% 的进程

我尝试重新启动服务器,它运行正常几个小时,然后在几秒钟内内存从 90% 空闲下降到这个

这是我的免费 -m 和 /proc/meminfo

提前致谢

$free -m
              total        used        free      shared  buff/cache   available
Mem:           3924        3569         205           5         150         160
Swap:           512         133         379
$cat /proc/meminfo 
MemTotal:        4019180 kB
MemFree:          217848 kB
MemAvailable:     168264 kB
Buffers:           13024 kB
Cached:           106532 kB
SwapCached:        21440 kB
Active:           109704 kB
Inactive:          53776 kB
Active(anon):      19084 kB
Inactive(anon):    30604 kB
Active(file):      90620 kB
Inactive(file):    23172 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:        525308 kB
SwapFree:         388992 kB
Dirty:                76 kB
Writeback:             0 kB
AnonPages:         25476 kB
Mapped:            17148 kB
Shmem:              5756 kB
Slab:              49972 kB
SReclaimable:      26380 kB
SUnreclaim:        23592 kB
KernelStack:        3484 kB
PageTables:         5576 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      771568 kB
Committed_AS:     404024 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
HugePages_Total:    1722
HugePages_Free:     1722
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       13248 kB
DirectMap2M:     4163584 kB
$df -h | grep tmpfs
udev           devtmpfs  2.0G     0  2.0G   0% /dev
tmpfs          tmpfs     393M   46M  347M  12% /run
tmpfs          tmpfs     2.0G   48K  2.0G   1% /dev/shm
tmpfs          tmpfs     5.0M   48K  5.0M   1% /run/lock
tmpfs          tmpfs     2.0G     0  2.0G   0% /sys/fs/cgroup

$ipcs -m

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x00000000 0          zabbix     600        576        6          dest         
0x00000000 32769      zabbix     600        365056     6          dest    

提供更多信息,这是一个备份存储服务器,自从 4 天以来,当我们收到有关 ram 的警告时,备份无法传输到它。 veeam 错误为:“错误:套接字已被强制关闭。无法恢复连接。”

rkhunter 没有找到任何东西,但:

[10:07:58] Info: Starting test name 'os_specific'
[10:07:58] Performing Linux specific checks
[10:07:58]   Checking loaded kernel modules                  [ Warning ]
[10:07:58] Warning: The modules file '/proc/modules' is missing.
[10:07:58] Info: Using modules pathname of '/lib/modules'
[10:07:58]   Checking kernel module names                    [ Warning ]
[10:07:59] Warning: The kernel modules directory '/lib/modules' is missing or empty.

[10:08:26] Performing filesystem checks
[10:08:26] Info: SCAN_MODE_DEV set to 'THOROUGH'
[10:08:59]   Checking /dev for suspicious file types         [ Warning ]
[10:08:59] Warning: Suspicious file types found in /dev:
[10:08:59]          /dev/shm/wx: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, stripped

相关内容