为了能快速了解并处理您的问题,请提供以下基础信息:
8.0.5 9.1.0
debian12
4G内存的机器装完宝塔好像只占用了3,400M,装完宝塔的一键LNMP后其他什么都没动,内存永远在80%以上,top最大的也就显示mysql占用百分之5,如果把内存提到8G也一样,不管装没装其他东西内存也是80-90,不管怎么看占用内存程序最高都只占了5%,esxi显示占用只有1-2g,会偶尔出现卡死情况,只能esxi手动重启,上面显示out of memory
cat /proc/meminfo- MemTotal: 8131328 kB
- MemFree: 685796 kB
- MemAvailable: 1273364 kB
- Buffers: 75380 kB
- Cached: 795440 kB
- SwapCached: 584 kB
- Active: 398052 kB
- Inactive: 1957692 kB
- Active(anon): 6232 kB
- Inactive(anon): 1590040 kB
- Active(file): 391820 kB
- Inactive(file): 367652 kB
- Unevictable: 5612 kB
- Mlocked: 5612 kB
- SwapTotal: 998396 kB
- SwapFree: 949244 kB
- Zswap: 0 kB
- Zswapped: 0 kB
- Dirty: 304 kB
- Writeback: 0 kB
- AnonPages: 1463004 kB
- Mapped: 447196 kB
- Shmem: 107212 kB
- KReclaimable: 98024 kB
- Slab: 164892 kB
- SReclaimable: 98024 kB
- SUnreclaim: 66868 kB
- KernelStack: 8656 kB
- PageTables: 19044 kB
- SecPageTables: 0 kB
- NFS_Unstable: 0 kB
- Bounce: 0 kB
- WritebackTmp: 0 kB
- CommitLimit: 5064060 kB
- Committed_AS: 4490984 kB
- VmallocTotal: 34359738367 kB
- VmallocUsed: 27980 kB
- VmallocChunk: 0 kB
- Percpu: 2128 kB
- HardwareCorrupted: 0 kB
- AnonHugePages: 706560 kB
- ShmemHugePages: 0 kB
- ShmemPmdMapped: 0 kB
- FileHugePages: 0 kB
- FilePmdMapped: 0 kB
- HugePages_Total: 0
- HugePages_Free: 0
- HugePages_Rsvd: 0
- HugePages_Surp: 0
- Hugepagesize: 2048 kB
- Hugetlb: 0 kB
- DirectMap4k: 167808 kB
- DirectMap2M: 4026368 kB
- DirectMap1G: 6291456 kB
复制代码
|
|