public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Anwar P" <anwarp@mail.com>
To: linux-kernel@vger.kernel.org
Subject: What version of the kernel fixes these VM issues?
Date: Fri, 24 Aug 2001 16:47:28 +0800	[thread overview]
Message-ID: <20010824084729.19008.qmail@mail.com> (raw)

Hi -
 
We have big system (8 processors, 8GB ram), running Oracle and this other ETL tool.  Oracle is up and running all the time, and the ETL tool runs once a day.  But everytime the ETL tool runs (along with Oracle), the system seems to run out of memory, and the server comes to a crawl, often with keyborad response in 10 to 15 minute intervals.  We are currently using the 2.4.3-6 kernel that comes with Redhat 7.1.
 
We know that Oracle comsumes no more than 2GB of memory at peak usage, and the ETL tool itself consumes less than 1GB.  But the ETL tool does process a whole bunch of text files (total about 6GB worth of), and it runs for about 2 hours.  What happens is that while they are both running, the filesystem cache size increases progressively, and some time later, it begins swapping.  We do have 16GB (2x RAM) of swap.  And when it starts to swap, the server responds to keystrokes/commands randomly and appears dead for 10s of minutes. We know that together our applications do not need more than 4GB of RAM on this 8GB box, so it is the VM that is causing this unnecessary swapping by trying to use too much memory for filesystem cache.   
 
So the first question is, is there any way I can limit the amount of memory used for FS cache ?
 
And the next one is, are there any (later) versions of the kernel that are more sane about what the maximum FS cache it should use is ?  It is strange that the FS caching does not take into account the amount of physical RAM on the box.  What is the point in doing FS caching when the end result is thrashing and the machine becomes unusable ?  
 
Anwar.

-- 

_______________________________________________
FREE Personalized E-mail at Mail.com 
http://www.mail.com/?sr=signup 

Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! 
http://www.net2phone.com/cgi-bin/link.cgi?143 


             reply	other threads:[~2001-08-24  9:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-24  8:47 Anwar P [this message]
2001-08-24 13:18 ` What version of the kernel fixes these VM issues? Daniel Phillips
2001-08-24 18:14   ` Nicolas Pitre
2001-08-24 18:25     ` Nicolas Pitre
2001-08-24 18:48       ` Mark Frazer
2001-08-24 19:53     ` Daniel Phillips
2001-08-24 19:56     ` Daniel Phillips
2001-08-24 20:12       ` Nicolas Pitre
2001-08-24 22:35         ` Daniel Phillips
2001-08-25  3:00           ` Nicolas Pitre
2001-08-25  4:31             ` Steve Kieu
2001-08-25  8:09             ` Russell King
2001-08-25 16:38               ` Daniel Phillips
2001-08-25 16:38             ` Daniel Phillips
2001-08-25 18:29               ` Nicolas Pitre
2001-08-25 18:51                 ` Russell King

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=20010824084729.19008.qmail@mail.com \
    --to=anwarp@mail.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