From: "David S. Miller" <davem@redhat.com>
To: Tim Hockin <thockin@sun.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: SOMAXCONN - bump up or sysctl?
Date: Fri, 13 Jul 2001 01:14:39 -0700 (PDT) [thread overview]
Message-ID: <15182.44527.926893.897932@pizda.ninka.net> (raw)
In-Reply-To: <3B4E7EA1.F904DC43@sun.com>
In-Reply-To: <3B4E7EA1.F904DC43@sun.com>
Tim Hockin writes:
> We have a request to bump up SOMAXCONN. Are there are repurcussions to
> doing so? Would it be better to make it a sysctl?
There is a very serious repurcussion to allowing this be increased in
any form, people won't fix their code if you just give them this
bandaid.
The new connection backlog controlled by an upper limit of
SOMAXCONN is a "buffer" between the kernel and userspace.
It is _NOT_ a permanent storage area inside the kernel for new
connections. Once people writing these apps start thinking about it
as a buffer (ie. think "temporary"), the thought to increase SOMAXCONN
will occur less often in their minds.
I have never been shown a legitimate argument for increasing
SOMAXCONN.
Later,
David S. Miller
davem@redhat.com
next prev parent reply other threads:[~2001-07-13 8:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-13 4:52 Tim Hockin
2001-07-13 8:14 ` David S. Miller [this message]
2001-07-13 10:44 ` Alan Cox
[not found] <3B4E7EA1.F904DC43@sun.com.suse.lists.linux.kernel>
2001-07-13 7:35 ` Andi Kleen
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=15182.44527.926893.897932@pizda.ninka.net \
--to=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=thockin@sun.com \
/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
all inboxes | Powered by JetHome®