*BSD News Article 6686


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!ariel!werple.apana.org.au!news
From: andrew@werple.apana.org.au (Andrew Herbert)
Newsgroups: comp.unix.bsd
Subject: major 386BSD kernel memory leak discovered
Message-ID: <1bqmq7INN920@werple.apana.org.au>
Date: 18 Oct 92 03:48:23 GMT
Organization: werple public-access UNIX, Melbourne
Lines: 11
NNTP-Posting-Host: werple.apana.org.au

I've finally tracked down the source of my 386BSD kmem_malloc panics! :)
It turns out that each outgoing ping from a 386BSD machine gobbles nearly
25KB of mbufs from the kernel memory pool.  Ping echoes don't have this
problem.

Looking through the /sys/netinet code I couldn't see anything particularly
amiss, although the m_free() calls seem very distant from the m_gethdr()s.
Has anyone had more success with finding this leak?

thanks,
Andrew