From 2bd023293d115a68f5f81376d9ba1378f4ee7808 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Mon, 12 Sep 2011 12:08:32 +0530 Subject: drop the caches before taking the statedump --- sanity/nightly_sanity/nightly_updated.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sanity') diff --git a/sanity/nightly_sanity/nightly_updated.sh b/sanity/nightly_sanity/nightly_updated.sh index f0b5500..0c07955 100755 --- a/sanity/nightly_sanity/nightly_updated.sh +++ b/sanity/nightly_sanity/nightly_updated.sh @@ -687,6 +687,9 @@ function take_statedump () { local dir; + echo 3 > /proc/sys/vm/drop_caches; + sleep 2; + dir=$1; for i in $(ls /etc/glusterd/vols/vol/run) do -- cgit