<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[linuxの飘扬]]></title> 
<link>https://www.linuxfly.org/index.php</link> 
<description><![CDATA[Power by www.linuxfly.org]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[linuxの飘扬]]></copyright>
<item>
<link>https://www.linuxfly.org/post/320/</link>
<title><![CDATA[[转]手工释放linux内存——/proc/sys/vm/drop_caches]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[性能评估]]></category>
<pubDate>Wed, 25 Feb 2009 02:17:55 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/320/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;总有很多朋友对于Linux的内存管理有疑问，之前一篇<a href="http://www.linuxfly.org/post/114/" target="_blank">[转]理解Linux的性能</a>日志似乎也没能清除大家的疑虑。而在新版核心中，似乎对这个问题提供了新的解决方法，特转出来给大家参考一下。最后，还附上我对这方法的意见，欢迎各位一同讨论。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;当在Linux下频繁存取文件后，物理内存会很快被用光，当程序结束后，内存不会被正常释放，而是一直作为caching。这个问题，貌似有不少人在问，不过都没有看到有什么很好解决的办法。那么我来谈谈这个问题。<br/>............<br/>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/320/#blogcomment2198</link>
<title><![CDATA[[评论] [转]手工释放linux内存——/proc/sys/vm/drop_caches]]></title> 
<author>visitor &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 25 Feb 2009 03:28:32 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/320/#blogcomment2198</guid> 
<description>
<![CDATA[ 
	完全没必要这样做，即使内存全被cache满了，运行一个大程序试试，绝不会有什么“内存不足”的情况，需要多少内存就从cache释放多少内存。<br/><br/>cache的好处可以减少很多硬盘访问，我的一块老硬盘，用windows的时候每打开一个程序硬盘都要狂响一阵，和拖拉机有一比，但用linux的时候硬盘非常安静！
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/320/#blogcomment2234</link>
<title><![CDATA[[评论] [转]手工释放linux内存——/proc/sys/vm/drop_caches]]></title> 
<author>zhichyu &lt;yuzhichang@gmail.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 24 Apr 2009 09:24:08 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/320/#blogcomment2234</guid> 
<description>
<![CDATA[ 
	我的Linux上cache占满RAM时系统非常慢，系统也不自动释放cache。所以号称“cache对性能只有好处而没坏处”是假的！
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/320/#blogcomment6235</link>
<title><![CDATA[[评论] [转]手工释放linux内存——/proc/sys/vm/drop_caches]]></title> 
<author>kk &lt;li-shao-kang@163.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 04 Dec 2013 02:10:27 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/320/#blogcomment6235</guid> 
<description>
<![CDATA[ 
	但是有时候free太小，cached特别大时启动mysql会报错，这个是什么原因？
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/320/#blogcomment6289</link>
<title><![CDATA[[评论] [转]手工释放linux内存——/proc/sys/vm/drop_caches]]></title> 
<author>yy &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 11 Mar 2015 12:51:27 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/320/#blogcomment6289</guid> 
<description>
<![CDATA[ 
	请假下，free内存还有200M，cache里有58G，然后程序就跪了，抛了个tcmalloc allocation failed 65536, out of memory(needed 65312 bytes). 需要内存时为什么cache里面的没能释放
]]>
</description>
</item>
</channel>
</rss>