From: Mpourtounis Dimitris <db@wless.gr>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: strange behavior creating and deleting files
Date: Fri, 24 Sep 2004 13:13:47 +0300 [thread overview]
Message-ID: <1096020827.4089.7.camel@WLESS> (raw)
Hi all,
there seems to be a strange behaviour in the way my system creates and
deletes files, as long as memory allocation is concerned.
running a simple script that continuously creates and deletes files on
tmpfs filesystem, a got the following results:
files created free memory on system
------------- ---------------------
0 48180
+6000 47936
+6000 47372
+6000 47372
+6000 47936
+6000 47936
+6000 47936
+6000 47936 (seems stable)
+9000 46976 (what on earth?)
+30000 45084
+80000 45084 (again stable)
+70000 39156 (not again...:( )
and sometime in the morning 25000 MB free RAM, and my system running too
slow
I am sure these are a lot a files and under normal conditions, there
will never be made and deleted so many.
It is that misbehavior of being stable for a long time and then again
allocating memory that concerns me.
I am running linux 2.4.26 on an x86 platform (gcc 3.2.3 uclib 0.9.20)
Simple sh file:
i=0
while [ 1 ] do
echo "dont allocate more memory please" > $i
rm $i
let i=$i+1
done
Any clue???
next reply other threads:[~2004-09-24 10:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-24 10:13 Mpourtounis Dimitris [this message]
2004-09-24 18:40 ` strange behavior creating and deleting files Hugh Dickins
2004-09-25 13:44 ` Mpourtounis Dimitris
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=1096020827.4089.7.camel@WLESS \
--to=db@wless.gr \
--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