File Read Cache - How to purge?

Steve Holden steve at holdenweb.com
Wed Aug 22 00:28:46 EDT 2007


Hrvoje Niksic wrote:
> Nick Craig-Wood <nick at craig-wood.com> writes:
> 
>> If you are running linux > 2.6.18 then you can use
>> /proc/sys/vm/drop_caches for exactly that purpose.
>>
>>   http://www.linuxinsight.com/proc_sys_vm_drop_caches.html
> 
> That URL claims that you need to run "sync" before dropping the cache,
> and so do other resources.  I wonder if that means that dropping the
> cache is unsafe on a running system.

Good grief. Just let the operating system do its job, for Pete's sake, 
and go find something else to obsess about.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd           http://www.holdenweb.com
Skype: holdenweb      http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------




More information about the Python-list mailing list