Re: Memory leak in network buffers 2.1.125ac3

Kurt Garloff (garloff@kg1.ping.de)
Wed, 11 Nov 1998 13:29:45 +0100


On Wed, Nov 11, 1998 at 11:53:41AM +0000, Alan Cox wrote:
> > Nov 11 01:46:30 kg1 kernel: Networking buffers in use : 144
> > Nov 11 01:46:30 kg1 kernel: Total network buffer allocations : 16120011
> Erm.. Where does it say that ?
>
> Networking buffers in use: 144
>
> Seems totally reasonable to me.

Sorry,
I think, I may have misunderstood the numbers.

My machine swapped very much doing jobs, which it normally didn't, so I was
looking for some sort of memory eater. As ps/top didn't show where the
memory did go, I suspected a memory leak elsewhere. And the number of
network buffer allocations seemed to be an explanation.

You mean, that this number only shows the number of buffers which have been
allocated, but (161120011 - 144) have been deallocated, so no leak?

I guess so.

Thanks for clearing this up.

Sorry for the SPAM, then.

-- 
Kurt Garloff <K.Garloff@ping.de>  (Dortmund, FRG)
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff
Unix IS user friendly - it's just selective about who its friends are!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/