From: Nathan Straz <nstraz@sgi.com>
To: Federico Edelman Anaya <fedelman@elsitio.com.ar>
Cc: Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: fs.file-max
Date: Tue, 8 May 2001 09:37:47 -0500 [thread overview]
Message-ID: <20010508093747.A1702@sgi.com> (raw)
In-Reply-To: <3AF7C46B.5655D1CA@elsitio.com.ar>
In-Reply-To: <3AF7C46B.5655D1CA@elsitio.com.ar>; from fedelman@elsitio.com.ar on Tue, May 08, 2001 at 10:03:23AM +0000
On Tue, May 08, 2001 at 10:03:23AM +0000, Federico Edelman Anaya wrote:
> What can I do to test the FD limit? ... Because, the FD limit is set in
> /proc/sys/fs/file-max, sample:
>
> echo "2048" > /proc/sys/fs/file-max
> ulimit -n 8192
>
> In this case ... the FD limit = 8192 :( ... when the limit should be
> 2048?
>
> I wrote a perl script for the test ... anybody known a "C" program for
> test the FD limit?
Hmm, we seem to be missing this test case from the Linux Test Project.
I see that dup03 exhausts all FDs and tests dup() for EMFILE. You could
easily adapt that test case to a setrlimit() test case.
--
Nate Straz nstraz@sgi.com
sgi, inc http://www.sgi.com/
Linux Test Project http://ltp.sourceforge.net/
next prev parent reply other threads:[~2001-05-08 14:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-08 10:03 fs.file-max Federico Edelman Anaya
2001-05-08 14:37 ` Nathan Straz [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-05-08 14:08 fs.file-max Dan Kegel
2001-05-08 11:32 ` fs.file-max Federico Edelman Anaya
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=20010508093747.A1702@sgi.com \
--to=nstraz@sgi.com \
--cc=fedelman@elsitio.com.ar \
--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