Re: PROBLEM: Linux kernel 2.6.31 IPv4 TCP fails to open huge amount of outgoing connections (unable to bind ... )

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Le mercredi 21 avril 2010 à 04:57 +0500, Gaspar Chilingarov a écrit :

Yes, I posted a preliminar patch to solve this problem, please test
it ;)

But beware bind(port=0) time might be long. This is why high perf
programs prefer to give the exact port at bind(IP, port) time.

Algo will scan the whole range to find the port used by minimum number
of connection. Then it'll check if the selected IP was already in use.

If not -> ok, port found

If yes -> redo five time the same loop (I guess this redo should be
changed too, to use something else.



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PROBLEM: Linux kernel 2.6.31 IPv4 TCP fails to open huge a ..., Gaspar Chilingarov, (Tue Apr 20, 3:17 pm)
Re: PROBLEM: Linux kernel 2.6.31 IPv4 TCP fails to open hu ..., Gaspar Chilingarov, (Tue Apr 20, 4:18 pm)
Re: PROBLEM: Linux kernel 2.6.31 IPv4 TCP fails to open hu ..., Gaspar Chilingarov, (Tue Apr 20, 4:20 pm)
Re: PROBLEM: Linux kernel 2.6.31 IPv4 TCP fails to open hu ..., Gaspar Chilingarov, (Tue Apr 20, 4:20 pm)
Re: PROBLEM: Linux kernel 2.6.31 IPv4 TCP fails to open hu ..., Gaspar Chilingarov, (Tue Apr 20, 4:35 pm)
Re: PROBLEM: Linux kernel 2.6.31 IPv4 TCP fails to open hu ..., Gaspar Chilingarov, (Tue Apr 20, 4:57 pm)
Re: PROBLEM: Linux kernel 2.6.31 IPv4 TCP fails to open hu ..., Gaspar Chilingarov, (Tue Apr 20, 5:12 pm)
Re: PROBLEM: Linux kernel 2.6.31 IPv4 TCP fails to open hu ..., Eric Dumazet, (Tue Apr 20, 5:14 pm)
Re: PROBLEM: Linux kernel 2.6.31 IPv4 TCP fails to open hu ..., Evgeniy Polyakov, (Wed Apr 21, 11:27 am)
Re: PROBLEM: Linux kernel 2.6.31 IPv4 TCP fails to open hu ..., Evgeniy Polyakov, (Wed Apr 21, 11:58 am)
Re: PROBLEM: Linux kernel 2.6.31 IPv4 TCP fails to open hu ..., Michael S. Tsirkin, (Sun Apr 25, 7:26 am)
Re: PROBLEM: Linux kernel 2.6.31 IPv4 TCP fails to open hu ..., Michael S. Tsirkin, (Sun Apr 25, 9:35 am)