Re: panic: kmem_malloc(4096) on an SMP box

From: Robert Watson <rwatson_at_freebsd.org>
Date: Sun, 13 Jun 2004 16:10:32 -0400 (EDT)
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> 
> 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:

  ----------------------------
  revision 1.133
  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_at_>
  ----------------------------

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
Received on Sun Jun 13 2004 - 18:11:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:57 UTC