All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roger Heflin <rheflin@atipa.com>
To: Neil Brown <neilb@suse.de>
Cc: Willy Tarreau <w@1wt.eu>, Xin Zhao <uszhaoxin@gmail.com>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	linux-fsdevel@vger.kernel.org
Subject: Re: What's the NFS OOM problem?
Date: Tue, 15 Aug 2006 13:24:38 -0500	[thread overview]
Message-ID: <44E21166.60308@atipa.com> (raw)
In-Reply-To: <17627.53340.43470.60811@cse.unsw.edu.au>

Neil Brown wrote:
> On Thursday August 10, w@1wt.eu wrote:
>>> Can someone help me and give me a brief description on OOM issue?
>> I don't know about any OOM issue related to NFS. At most it might happen
>> on the client (eg: stating firefox from an NFS root) which might not have
>> enough memory for new network buffers, but I don't even know if it's
>> possible at all.
> 
> We've had reports of OOM problems with NFS at SuSE.
> The common factors seem to be lots of memory (6G+) and very large
> files. 
> Tuning down  /proc/sys/vm/dirty_*ratio seems to avoid the problem,
> but I'm not very close to understanding what the real problem is.
> 
> NeilBrown
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

I have noticed on SLES kernels that when the dirty_*ratios turned down it
still uses alot more memory than it should work writeback buffers, it makes
me think that with the default setting of 40% that it for some reason
may be using all of memory and deadlocking.   It does not seem like an
NFS only issue, as I believe I have duplicated it with a fast lock
setup.

Checking writeback in /proc/meminfo does indicate that alot more memory
is being used for write cache that should be.

                                     Roger

  parent reply	other threads:[~2006-08-15 18:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-08 22:24 What's the NFS OOM problem? Xin Zhao
2006-08-09  2:33 ` H. Peter Anvin
2006-08-10  4:57 ` Willy Tarreau
2006-08-10 21:53   ` Grant Coady
2006-08-11  0:33   ` Neil Brown
2006-08-11  3:57     ` Willy Tarreau
2006-08-11  4:24       ` Neil Brown
2006-08-11  8:48     ` Peter Zijlstra
2006-08-14  2:03       ` Neil Brown
2006-08-15 18:24     ` Roger Heflin [this message]
2006-08-17  5:04       ` Neil Brown
2006-08-17 13:29         ` Roger Heflin

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=44E21166.60308@atipa.com \
    --to=rheflin@atipa.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=uszhaoxin@gmail.com \
    --cc=w@1wt.eu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.