当前位置: 技术问答>linux和unix
linux 512M vps内存总是被占满
来源: 互联网 发布时间:2017-05-25
本文导语: linux 512M vps内存总是被占满:是什么吃掉了内存? | 大概都是被page cache占用了。这是正常情况。你可以再看看free的结果。 | Top then shift m, which will sort the processes by mem usage. Fro...
linux 512M vps内存总是被占满:是什么吃掉了内存?
|
大概都是被page cache占用了。这是正常情况。你可以再看看free的结果。
|
Top then shift m, which will sort the processes by mem usage. From the screenshot, there are about 170mb file system buffer and block device cache. Those are normal. You actually has more free ram than u thought
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/chap-Oracle_9i_and_10g_Tuning_Guide-Memory_Usage_and_Page_Cache.html
However, the os started to swap. U will have to figure why that happened since u still have free memory available
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Tuning_and_Optimizing_Red_Hat_Enterprise_Linux_for_Oracle_9i_and_10g_Databases/chap-Oracle_9i_and_10g_Tuning_Guide-Memory_Usage_and_Page_Cache.html
However, the os started to swap. U will have to figure why that happened since u still have free memory available