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

From: Herbert Xu
Date: Mon Jun 02 2008 - 10:09:23 EST


On Mon, Jun 02, 2008 at 02:53:09PM +0300, Ilpo Järvinen wrote:
>
> Shouldn't that be already visible in the ingo's sysrq-t dump, no? There:
>
> http://marc.info/?l=linux-kernel&m=121182099131520&w=2

No, we need an actual strace rather than the static stack back-trace.
So start with netstat -lntp to locate the process listening on that
port, and then strace it to see if it's calling accept.

> There are many sys_accepts at least (if I understand that dump at all).
> There were some ip_local_outs there as well, which made me wonder if the
> totally innocent looking commit 1ac06e0306d0192a7a4d9ea1c9e06d355ce7e7d3
> (ipsec: Use the correct ip_local_out function) has something to do with
> this (I definately don't understand that part at all).

This patch only has an effect for IPsec.

Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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/