public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.24 Paging Fault, Cache tries to swap with no swap partition
@ 2004-02-14 17:06 Ross Dickson
  2004-02-14 20:33 ` vda
  0 siblings, 1 reply; 5+ messages in thread
From: Ross Dickson @ 2004-02-14 17:06 UTC (permalink / raw)
  To: linux-kernel

Greetings,

I have an imaging system writing files to removable hard drives.
Compact Flash boot with ram drives so I usually have no swap partition or file.

Recently I upgraded kernel from 2.4.20 to 2.4.24.

System has "mem=460M" (512M ram fitted) and starts with about
400M free. After recording for a while the Cached ram acquires all
but about 4Mb MemFree.

On a hot 38C day it started Oops'ing re paging memory. It runs the
same 2 programs all day gathering and compressing images.
Sorry I have no detail on the Oops at the moment, computer is in a vehicle and
does not normally have a screen. From memory it couldn't allocate a virtual 
page.

I found if I put in a 16Mb ram drive as swap then it would grab
roughly 1.4Mb of it on occasion and keep it until recording stopped
for a while. SwapCached is either 0Kb or 1024Kb, not anything else.

Is this behaviour expected - to require a swap file? 
Can the paging cache be tuned in /proc or somewhere to prevent it being so 
greedy as to want more memory than the machine has?

Is the quickest fix to give it more ram. I read on another posting that with
greater than 512Mb the cache won't grab any more?

Regards
Ross.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-02-16 13:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-14 17:06 2.4.24 Paging Fault, Cache tries to swap with no swap partition Ross Dickson
2004-02-14 20:33 ` vda
2004-02-15 13:49   ` Ross Dickson
2004-02-16 10:25     ` Ross Dickson
2004-02-16 13:45       ` 2.4.24 Paging Fault, Source Line located in slab.c, kmem_cache_reap() Ross Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox