Re: IPv6: Connection reset/timeout under heavy load

From: Eric Dumazet
Date: Tue Mar 27 2007 - 06:18:50 EST


On Tue, 27 Mar 2007 11:45:46 +0200
Agoston Horvath <agoston@xxxxxxxx> wrote:

> Hello,
>
> I'm trying to add ipv6 support to the RIPE whois-server. I'm going with the dual-stack address familiy independent solution (/proc/sys/net/ipv6/bindv6only is set to 0).
> I've written a small piece of code which tests how the server behaves under heavy load. It basically creates a specified number of threads and hammers the query port of the server with logged real-world queries. This works fine over ipv4. But if I switch to ipv6 (meaning, instead of the ipv4 address of eth0, I give the ipv6 one to getaddrinfo()), strange connection reset/timeout problems arise. This is especially strange because it's all AF-independent, so the very same piece of code runs fine for ipv4, but fails for ipv6.

Hello Agoston

Could you please repost your mail on netdev@xxxxxxxxxxxxxxx, because this address is more appropriate to get in touch with networking guys :)

Thank you
-
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/