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

From: Ingo Molnar
Date: Mon May 26 2008 - 14:12:47 EST



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

> > Active Internet connections (w/o servers)
> > Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
> > tcp 0 207232 europe:37198 europe:distcc ESTABLISHED 19578/distcc
> > tcp 0 0 europe:ssh dione:36284 ESTABLISHED -
> > tcp 0 0 europe:ssh e2:45910 ESTABLISHED -
> > tcp 72283 0 europe:distcc europe:37198 ESTABLISHED -
>
> Just to be sure (please forgive me if you find this nearly an insult
> :-)), did you have enough rights to find out the pid (ie., if that
> process not owned by you then you need superuser privs for that)?

yes, i ran netstat -p as root.

> > the socket does not seem to be owned. It should have closed down?
> > Refcounting issue?
>
> It's well possible that e.g., net namespaces have some bug in handling
> of orphaned tcp.

yes, that would match the symptoms i think. I half-assumed that it's a
state machine problem so i didnt even check what the reader does - and
in this case it appears to not exist at all anymore ;-)

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/