From owner-freebsd-current@FreeBSD.ORG Sun May 15 03:11:50 2005 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 E6B7316A4CE for ; Sun, 15 May 2005 03:11:50 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE54943D75 for ; Sun, 15 May 2005 03:11:48 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id B197A72DD4; Sat, 14 May 2005 20:11:48 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id AD62572DCB; Sat, 14 May 2005 20:11:48 -0700 (PDT) Date: Sat, 14 May 2005 20:11:48 -0700 (PDT) From: Doug White To: Ivan Voras In-Reply-To: <20050515021036.H25912@geri.cc.fer.hr> Message-ID: <20050514201048.O49081@carver.gumbysoft.com> References: <20050515021036.H25912@geri.cc.fer.hr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: panic (kmem_map too small) with smbfs 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, 15 May 2005 03:11:51 -0000 On Sun, 15 May 2005, Ivan Voras wrote: > I get regular and repeatable panics when using smbfs for a long time. In > that workload, I'm usually playing video from a Windows XP network > share, and after a few hours (approx. 2 - 4 hours, very irregular, but > always happens) > of constant usage (there are no other significant processes on the system), the > machine panics. It's a Celeron M laptop with 256MB RAM, and otherwise very > stable. > > > > #0 doadump () at pcpu.h:159 > #1 0xc0541e3e in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:410 > #2 0xc0542189 in panic (fmt=0xc071a72b "kmem_malloc(%ld): kmem_map too small: %ld total allocated") > at /usr/src/sys/kern/kern_shutdown.c:566 There may be a memory leak in smbfs. I don't know if you have enough physical RAM to increase KVM usefully. I'd monitor 'vmstat -m' while running and see if one of the zones gets very large. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org