All of lore.kernel.org
 help / color / mirror / Atom feed
From: Glynn Clements <glynn@gclements.plus.com>
To: Bryan Christ <bryan.christ@gmail.com>
Cc: eric@cisu.net, Joe Damato <ice799@gmail.com>,
	linux-c-programming@vger.kernel.org
Subject: Re: running out of file descriptors
Date: Mon, 16 Feb 2009 21:43:23 +0000	[thread overview]
Message-ID: <18841.56827.356161.98320@cerise.gclements.plus.com> (raw)
In-Reply-To: <444391460902160935t5b244463nec095fedc45f3707@mail.gmail.com>


Bryan Christ wrote:

> I pretty sure you can just echo to /proc/sys/fs/file-nr to set that
> value (which already seems really high at 560178).  I doubt I'm
> exhausting 560178 descriptors.

file-nr is read-only, and reports the number of open descriptors, the
number of free descriptors, and the limit.

file-max is writable, and controls the system-wide limit.

-- 
Glynn Clements <glynn@gclements.plus.com>

  reply	other threads:[~2009-02-16 21:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-16  5:48 running out of file descriptors Bryan Christ
2009-02-16  6:18 ` Joe Damato
2009-02-16  7:09   ` Bryan Christ
2009-02-16 13:01     ` Eric Bambach
2009-02-16 17:35       ` Bryan Christ
2009-02-16 21:43         ` Glynn Clements [this message]
2009-02-17 18:51           ` Bryan Christ
2009-02-18  7:07             ` Holger Kiehl
2009-02-16 13:06     ` Glynn Clements
2009-02-16 17:39       ` Bryan Christ

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=18841.56827.356161.98320@cerise.gclements.plus.com \
    --to=glynn@gclements.plus.com \
    --cc=bryan.christ@gmail.com \
    --cc=eric@cisu.net \
    --cc=ice799@gmail.com \
    --cc=linux-c-programming@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 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.