From: Mark Jackson <mpfj-list@mimc.co.uk>
To: lkml <linux-kernel@vger.kernel.org>
Subject: Can I limit the number of tcp connections ?
Date: Tue, 13 Apr 2010 12:16:42 +0100 [thread overview]
Message-ID: <4BC4529A.4010805@mimc.co.uk> (raw)
Is there any way to limit the # tcp connections under Linux ?
I've tried ...
echo 8 > /proc/sys/net/core/somaxconn
... but I can still open 10 ssh sessions, as well as a web server.
I know I could run iptables, but I was looking for a much lower level
solution (with a smaller resource footprint).
Any clues ?
Thanks
Mark
reply other threads:[~2010-04-13 11:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4BC4529A.4010805@mimc.co.uk \
--to=mpfj-list@mimc.co.uk \
--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
Powered by JetHome