Re: Is there a MAX TCP/UDP CONNECTIONS limit in Kernel?

David S. Miller (davem@redhat.com)
Thu, 01 Nov 2001 12:23:39 -0800 (PST)


From: Sven Koch <haegar@sdinet.de>
Date: Thu, 1 Nov 2001 19:37:31 +0100 (CET)

Outbound-connections are limited by the local portrange, changeable
in /proc/sys/net/ipv4/ip_local_port_range
(ran into this on one of my proxy servers, having thousands of connections
in the state CLOSING, TIME_WAIT and LAST_ACK - after
echo "1024 16383" >/proc/sys/net/ipv4/ip_local_port_range the box at
least stays working)

In current 2.4.14-preX, this is not true anymore. It is limited
by something approximating "local port range X number of unique
destination IP addresses" because if the remote address is unique
we allow multiple local port binds to occur on the same local port.

Franks a lot,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/