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

Ingo Molnar
2008-05-26T18:12:46Z

* Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> 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