From: Federico Edelman Anaya <fedelman@elsitio.com.ar>
To: Dan Kegel <dank@kegel.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: fs.file-max
Date: Tue, 08 May 2001 11:32:52 +0000 [thread overview]
Message-ID: <3AF7D964.BC65EBCC@elsitio.com.ar> (raw)
In-Reply-To: <3AF7FDE8.9C124AA9@kegel.com>
Dan:
Hi ...
Dan Kegel wrote:
> Federico Edelman Anaya (fedelman@elsitio.com.ar) 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
>
> That sets the systemwide limit to 2048.
Ok ...
>
>
> > ulimit -n 8192
>
> That sets the per-process limit (for this process
> and its children) to 2048.
>
But, my perl script could open 8192 files ... I don't understand exactly
work ... which is the limit of FD? file-max?
>
> > In this case ... the FD limit = 8192 :( ... when the limit should be
> > 2048?
>
> No, the two limits are independant (except, obviously, that
> that process will reach the systemwide fd limit before it
> exhausts its per-process fd limit).
>
> > I wrote a perl script for the test ... anybody known a "C" program for
> > test the FD limit?
>
> http://www.kegel.com/dkftpbench/#tuning
>
> - Dan
next prev parent reply other threads:[~2001-05-08 14:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-08 14:08 fs.file-max Dan Kegel
2001-05-08 11:32 ` Federico Edelman Anaya [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-05-08 10:03 fs.file-max Federico Edelman Anaya
2001-05-08 14:37 ` fs.file-max Nathan Straz
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=3AF7D964.BC65EBCC@elsitio.com.ar \
--to=fedelman@elsitio.com.ar \
--cc=dank@kegel.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 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.