From owner-freebsd-current@FreeBSD.ORG Sun Jun 13 20:11:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DA1016A4CE for ; Sun, 13 Jun 2004 20:11:51 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1191843D48 for ; Sun, 13 Jun 2004 20:11:51 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i5DKAWBT013640; Sun, 13 Jun 2004 16:10:32 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i5DKAWXi013637; Sun, 13 Jun 2004 16:10:32 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sun, 13 Jun 2004 16:10:32 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Gleb Smirnoff In-Reply-To: <20040613200921.GA14228@cell.sick.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: panic: kmem_malloc(4096) on an SMP box X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jun 2004 20:11:51 -0000 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 ---------------------------- 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@fledge.watson.org Senior Research Scientist, McAfee Research