Re: 2.6.0: something is leaking memory

From: Ricky Beam
Date: Mon Jan 05 2004 - 11:20:34 EST


On 4 Jan 2004, Roland Dreier wrote:
>Yup, looks like IPv6 is leaking memory (since your netstat shows
>nowhere near 19K sockets):
>
> > tcp6_sock 19729 19732 1024 4 1 : tunables 54 27 0 : slabdata 4933 4933 0
>
>Now to figure out why...

Of course, there are a lot of sockets in CLOSE_WAIT. That's where I'd start
looking... if I actually cared about IPv6 :-) There used to be the same
sort of problem for IPv4 (sockets would never go away), but no one ever fixed
it -- a rewrite of the network stack made it go away.

--Ricky


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