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]

Hi.

On Wed, Apr 21, 2010 at 01:42:25AM +0200, Eric Dumazet (eric.dumazet@gmail.com) wrote:

Netcat uses SO_REUSEADDR, so its the code path which generates an error,
but this part actually returns a port number not en error. I suppose
what happend is 'attempts' check faired and thus system failed to find
a small enough bucket which does not conflict. To test this we can
remove 'smallest_size = tb->num_owners;' assignment, but bind() can be
damn slow in this case indeed.

-- 
	Evgeniy Polyakov
--
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 ..., Evgeniy Polyakov, (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)