两台运行程序相同的服务器 其中一台内存占的比较高,看了下 free
              total        used        free      shared  buff/cache   available
Mem:           3790        1336         957        1025        1497         972
Swap:             0           0           0
发现他的 shared 比较大(另一台的 shared 为 0 )
会是什么原因导致的?
查了下,shared 是多进程共享内存。。。。两台运行的服务都是 go 的,没涉及到什么共享内存,其他运行的进程是系统默认的
查看了下
[root@xx run]# df -BM
文件系统        1M-块   已用   可用 已用% 挂载点
/dev/vda1      40188M 24207M 13917M   64% /
devtmpfs        1887M     0M  1887M    0% /dev
tmpfs           1896M     0M  1896M    0% /dev/shm
tmpfs           1896M  1026M   870M   55% /run
tmpfs           1896M     0M  1896M    0% /sys/fs/cgroup
tmpfs            380M     0M   380M    0% /run/user/0
[root@x sessions]# pwd
/run/systemd/sessions
[root@x sessions]# du -sm 
1022	.
|      1helloworld12 OP 这个是说,systemd 一直在重启服务?我节点的自动重启是用 systemd 进行的 |