panic: kmem_malloc(4096) on an SMP box
rwatson at freebsd.org
Sun Jun 13 20:11:51 GMT 2004
On Mon, 14 Jun 2004, Gleb Smirnoff wrote:
> On Sun, Jun 13, 2004 at 12:00:58PM -0400, Robert Watson wrote:
> R> > panic: kmem_malloc(4096): kmem_map too small: 209715200 total allocated
> R> Just to confirm -- what date -CURRENT are you using? As you probably saw
> R> on the list, there have been a couple of memory leaks and other resource
> R> leaks introduced and then fixed in the past two weeks as changes were made
> R> to network memory allocation and locking. It's not impossible to imagine
> R> this is the result of one of those leaks, assuming it's from the date
> R> range affected by the leaks, so we should rule that out up front...
> Kernel was built Fri Jun 11 14:28:36. This probably means that it was
> built from sources suped Jun 11 4:00 MSD (GMT+3).
That means you probably just missed the following commit to uipc_mbuf.c:
date: 2004/06/11 18:17:25; author: bmilekic; state: Exp; lines: +3 -2
Gah! Plug a mbuf leak I introduced in the last commit.
I don the pointy-hat.
Problem reported by: Peter Holm <pho@>
The previous commit to the file was at 04:27 on the previous day. I'd try
updating and see if the problem persists.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org Senior Research Scientist, McAfee Research
More information about the freebsd-current