Don't remember fine, but: For the conntrack table allow more entries, put the value here: /proc/sys/net/ipv4/ip_conntrack_max And (I don't remember this) there are another one for the kernel routes table size. Perhaps taking a view into kernel documentation installed in your system or in www.lartc.org you can find those. Regards El Vie, 19 de Diciembre de 2008, 8:17, ML escribió: > Hi, > > I am trying to make a large number of connections to multiple servers > from a simple tcp client. My ephemeral port range is > net.ipv4.ip_local_port_range = 3000 64000 > > but it seems like after the number of connections reaches the allowed > port_range, I get: > bind(): Address already in use > I am connecting to 3 different servers. > > So does that mean that I can only have a max of 65535-1024 > connections, even if I am connecting to different servers. > > I was assuming that the kernel will use the entire tuple to store the > information and would allow reusing the ephemeral port if the dst is > different. > > Is there any option/patch to enable more that 65k connections. > > Thanks for your time. > > -- > -- > To unsubscribe from this list: send the line "unsubscribe linux-net" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html