Can I limit the number of tcp connections ?
From: Mark Jackson
Date: Tue Apr 13 2010 - 07:25:50 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/