mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bodo Eggert <7eggert@gmx.de>
To: Micha? Kazior <kazikcz@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: [BUG] Possible cache memory leak.
Date: Fri, 21 Sep 2007 16:47:48 +0200	[thread overview]
Message-ID: <E1IYjnJ-0000ee-2g@be1.lrz> (raw)
In-Reply-To: <95NCx-7eE-13@gated-at.bofh.it>

Micha? Kazior <kazikcz@gmail.com> wrote:

> I've discovered a strange thing lately. My memory is being sucked out
> when doing (I suppose) _a lot_ of stat() on the file system. I got left
> once with ~30MB of ram (of 512 in total) which made my system trash
> like hell. You might try doing the following to reproduce the effect:
> 
>  $ echo 1 > /proc/sys/vm/drop_caches
>  $ vmstat                            # write down the result
>  $ du -s -x /lots/of/files           # keep it running for a minute
>  $ echo 1 > /proc/sys/vm/drop_caches
>  $ vmstat                            # write it down too

RTFM: Documentation/filesystems/proc.txt
-- 
To define recursion, we must first define recursion. 

Friß, Spammer: xrju@clfD.7eggert.dyndns.org Oe8nj@Gqhh.7eggert.dyndns.org
 j@7eggert.dyndns.org k@gqg.7eggert.dyndns.org

       reply	other threads:[~2007-09-21 14:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <95NCx-7eE-13@gated-at.bofh.it>
2007-09-21 14:47 ` Bodo Eggert [this message]
2007-09-21 10:00 Michał Kazior

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=E1IYjnJ-0000ee-2g@be1.lrz \
    --to=7eggert@gmx.de \
    --cc=kazikcz@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®