On Wed, 22 Aug 2007 06:05:03 +0200, Hrvoje Niksic wrote: > Nick Craig-Wood <[EMAIL PROTECTED]> 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.
Of course not. It means that dirty pages are not dropped, so if you really want to invalidate as much cache memory as possible you have to ``sync`` before. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list