简体   繁体   English

Linux内存使用率

[英]Linux Memory Usage

My web application server is using a lot of memory but not using the full 4GB of memory. 我的Web应用程序服务器正在使用大量内存,但未使用全部4GB内存。 It's saying that there is only 130 free. 据说只有130个免费的。 Which doesn't make sense since 955 is used. 自从使用955以来,这没有任何意义。 The application framework is Laravel and uses Redis for it's sessions. 该应用程序框架是Laravel,并在其会话中使用Redis。

Any idea why it won't use the total amount? 知道为什么不使用总金额吗?

关于记忆使用的问题

2.8G are used as buff/cache . 2.8G用作buff/cache this means they are used by the kernel as buffers and file system caches, and will be released to user processes if needed. 这意味着内核将它们用作缓冲区和文件系统缓存,并在需要时将其释放给用户进程。

See this answer for more details: https://serverfault.com/questions/85470/meaning-of-the-buffers-cache-line-in-the-output-of-free 请参阅此答案以获取更多详细信息: https : //serverfault.com/questions/85470/含义-of-the-buffers-cache-line-in-the-output-of-free

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM