lkml.org 
[lkml]   [2008]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [bug] stuck localhost TCP connections, v2.6.26-rc3+
On Sat, 31 May 2008, Ingo Molnar wrote:

>
> * Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> wrote:
>
> > > Btw, does your distcc perhaps happen enable TCP_DEFER_ACCEPT (there
> > > were some post 2.6.25 changes into it)?
> >
> > Hmm, if so, please try this revert below (I hope I got everything that
> > is related there, gitk is currently broken for me so that viewing many
> > commits quickly is a pain, so I might have accidently missed
> > something)...
>
> 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.

--
i.
\
 
 \ /
  Last update: 2008-05-31 15:01    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site