Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+

From: Ingo Molnar
Date: Sat May 31 2008 - 12:35:57 EST



* Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxx> wrote:

> > what is the easiest way to figure out whether my version of distcc
> > enables TCP_DEFER_ACCEPT?
>
> strace distccd (the listening party is the interesting one here, not
> the distcc)?
>
> ...setsockopt(listenfd, SOL_TCP, TCP_DEFER_ACCEPT, &val, sizeof(val))
> seems to be the magic trick that is interestion here.

seems to be used:

22003 write(3, "distccd[22003] (dcc_listen_by_ad"..., 62) = 62
22003 listen(4, 10) = 0
22003 setsockopt(4, SOL_TCP, TCP_DEFER_ACCEPT, [1], 4) = 0

i'll queue up your reverts for testing in -tip.

Ingo
--
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/