From: "Bruno Prémont" <bonbons@linux-vserver.org>
To: Manish Yadav <kmanish.ixp@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: need help to clear kernel (2.6.16.17) cached memory
Date: Sun, 14 Dec 2014 18:49:51 +0100 [thread overview]
Message-ID: <20141214184951.5df2c128@neptune.home> (raw)
In-Reply-To: <CAJ-jhEfRdFjTKBtLKYjVKwxD5bR4qLftXnKiySShrj4CmcfAqw@mail.gmail.com>
Hi,
On Sat, 13 December 2014 Manish Yadav <kmanish.ixp@gmail.com> wrote:
> on my system (based on 2.6.16.17), i am trying to clear the cached
> memory but it is not being cleared.
>
> mars# free -m
> total used free shared buffers cached
> Mem: 925 459 465 0 0 231
> -/+ buffers/cache: 228 697
> Swap: 0 0 0
> mars# sync && echo 3 > /proc/sys/vm/drop_caches
> M1450-mrakesh# free -m
> total used free shared buffers cached
> Mem: 925 459 466 0 0 231
> -/+ buffers/cache: 227 697
> Swap: 0 0 0
> mars#
>
> could you please let me know what i am missing here? as per my
> investigation writing 3 to drop_caches should clear the cached memory.
Any tmpfs around that would be filled with the remaining cached data?
> thanks,
> manish
Cheers,
Bruno
prev parent reply other threads:[~2014-12-14 18:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-13 8:03 Manish Yadav
2014-12-14 17:49 ` Bruno Prémont [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141214184951.5df2c128@neptune.home \
--to=bonbons@linux-vserver.org \
--cc=kmanish.ixp@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®