From: Ram Madduluri <ram@kasenna.com>
To: linux-kernel@vger.kernel.org
Cc: ram@kasenna.com
Subject: Increasing the FD_SETSIZE
Date: Mon, 09 Apr 2001 18:56:01 -0700 [thread overview]
Message-ID: <3AD26831.9DAA0BDE@kasenna.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 663 bytes --]
Hi,
I am having trouble with increasing the file descriptor size for my
application - it opens several files for each client session (and needs
to keep them open as long as the session is active, which can be upto 3
hours long). What I see from the application is "open failed in
FileStreamReader::setupFile: Too many open files".
I have bumped up /proc/sys/fs/file-max to 16K, but I am failing at 2638
(cat /proc/sys/fs/file-max returns "2638 97 16384") when the number of
files my app opened reached 1023.
There is a comment in /usr/include/linux/posix_types.h regarding
__FD_SETSIZE being set to 1024. How can I increase this value?
Thanks,
Ram Madduluri
[-- Attachment #2: Card for Ram Madduluri --]
[-- Type: text/x-vcard, Size: 193 bytes --]
begin:vcard
n:Madduluri;Ram
x-mozilla-html:FALSE
url:http://www.kasenna.com
org:Kasenna Inc
adr:;;;;;;
version:2.1
email;internet:ram@kasenna.com
x-mozilla-cpt:;864
fn:Ram Madduluri
end:vcard
next reply other threads:[~2001-04-10 1:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-10 1:56 Ram Madduluri [this message]
2001-04-10 2:41 ` Increasing the FD_SETSIZE David Schwartz
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=3AD26831.9DAA0BDE@kasenna.com \
--to=ram@kasenna.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.