mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@davemloft.net>
To: linux-kernel@vger.kernel.org
Cc: dipankar@in.ibm.com, torvalds@osdl.org, fabbione@ubuntu.com
Subject: VFS nr_files accounting
Date: Sat, 04 Mar 2006 02:25:46 -0800 (PST)	[thread overview]
Message-ID: <20060304.022546.85833873.davem@davemloft.net> (raw)


I just wanted to report that I am hitting the "VFS: file-max limit xxx
reached" problem quite easily on my 32-cpu Niagara machine with 16GB
of ram with current 2.6.x GIT.

It seems far too easy to get a box into this state due to SLAB
fragmentation and RCU.  And once you get a machine into this state it
is totally unusable.

Our test case is usually a "make -j8192" kernel build along with a
parallel bootstrap of gcc.  That puts about 256 processes on each
cpu's runqueue, I doubt ksoftirqd can run much at all.

I think part of what helps trigger it might be ccache, which we are
using on this machine.  ccache seems to open up a ton of files each
build invocation.

Usually within an hour of that load you'll hit the nr_files limit and
you can't run anything and have to power-cycle.

I think we need to think seriously about this problem.

             reply	other threads:[~2006-03-04 10:26 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-04 10:25 David S. Miller [this message]
2006-03-04 14:17 ` Dipankar Sarma
2006-03-04 22:22   ` David S. Miller
2006-03-04 22:28     ` David S. Miller
2006-03-04 22:32       ` David S. Miller
2006-03-05  7:05         ` Dipankar Sarma
2006-03-05  7:37           ` David S. Miller
2006-03-05 11:38             ` Dipankar Sarma
2006-03-06 20:39               ` David S. Miller
2006-03-07  6:41                 ` Dipankar Sarma
2006-03-07  6:47                   ` David S. Miller
2006-03-07  8:02                     ` Dipankar Sarma
2006-03-07  6:53                   ` Nick Piggin
2006-03-07  7:00                     ` David S. Miller
2006-03-07  8:09                       ` Dipankar Sarma
2006-03-07  8:55                         ` Fabio Massimo Di Nitto
2006-03-07  7:06                   ` Andrew Morton
2006-03-07 12:09                     ` Dipankar Sarma

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=20060304.022546.85833873.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=dipankar@in.ibm.com \
    --cc=fabbione@ubuntu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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

Powered by JetHome