Subject: Strange problem on Netbsd system
To: None <netbsd-users@NetBSD.org>
From: None <rbhasin@hss.hns.com>
List: netbsd-users
Date: 03/01/2004 18:26:01
This is a multipart message in MIME format.
--=_alternative 000D826888256E4B_=
Content-Type: text/plain; charset="US-ASCII"
Hi,
we are facing a problem in our system runinng netbsd.
we are trying to create a file on our file system (compact flash mounted
ffs) ..
we are observing that the file copied decreases the top shown free memory
?
and increases the File memory shown by top i.e
Memory: 50M Act, 72M Inact, 220K Wired, 1944K Exec, 110M File, 96M Free
The File and Free are proportinately increased and decreased by same
amount respectively.
This goes on even if we issue sync command (wasnt it supposed to write
back these dirty pages back to disk ?)
io_flush kernel thread has also been seen running but doesnt changes these
top output. ..
the file in question being say 38 MB ..
Can some body explain why it is happening ..
what happens further is that if say a program asks for memory it goes down
saying out of swap ??
so why isnt the file system being written back ??
may be for the time being I can increase the swap to a bigger value, but
whats the relation here, why isnt it saying file system full (which isnt)
as df -k shows some life left ..
Please point to some relavant direction.
Regards,
- Rajan
--=_alternative 000D826888256E4B_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">we are facing a problem in our system
runinng netbsd.</font>
<br><font size=2 face="sans-serif">we are trying to create a file on our
file system (compact flash mounted ffs) .. </font>
<br><font size=2 face="sans-serif">we are observing that the file copied
decreases the top shown free memory ? </font>
<br><font size=2 face="sans-serif">and increases the File memory shown
by top i.e</font>
<div>
<br><font size=2 face="sans-serif">Memory: 50M Act, 72M Inact, 220K Wired,
1944K Exec, <b>110M File, 96M Free</b></font>
<br>
<br><font size=2 face="sans-serif">The File and Free are proportinately
increased and decreased by same amount respectively.</font>
<br><font size=2 face="sans-serif">This goes on even if we issue sync command
(wasnt it supposed to write back these dirty pages back to disk ?)</font>
<br><font size=2 face="sans-serif">io_flush kernel thread has also been
seen running but doesnt changes these top output. ..</font>
<br><font size=2 face="sans-serif">the file in question being say
38 MB ..</font>
<br><font size=2 face="sans-serif">Can some body explain why it is happening
..</font>
<br>
<br><font size=2 face="sans-serif">what happens further is that if say
a program asks for memory it goes down saying out of swap ?? </font>
<br><font size=2 face="sans-serif">so why isnt the file system being written
back ?? </font>
<br>
<br><font size=2 face="sans-serif">may be for the time being I can increase
the swap to a bigger value, but whats the relation here, why isnt it saying
file system full (which isnt) as df -k shows some life left .. </font>
<br><font size=2 face="sans-serif">Please point to some relavant direction.</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">- Rajan</font>
<br>
<br></div>
--=_alternative 000D826888256E4B_=--