From owner-freebsd-fs@FreeBSD.ORG Tue May 1 16:02:14 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9412C16A401; Tue, 1 May 2007 16:02:14 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 7AFF513C458; Tue, 1 May 2007 16:02:14 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 051181A4D98; Tue, 1 May 2007 09:02:47 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C7059513AE; Tue, 1 May 2007 12:02:13 -0400 (EDT) Date: Tue, 1 May 2007 12:02:13 -0400 From: Kris Kennaway To: Rick Macklem Message-ID: <20070501160213.GA496@xor.obsecurity.org> References: <20070407165759.GG8831@cicely12.cicely.de> <20070407180319.GH8831@cicely12.cicely.de> <20070407191517.GN63916@garage.freebsd.pl> <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <46365F76.7090708@infidyne.com> <20070430213043.GF67738@garage.freebsd.pl> <463665F2.8090605@infidyne.com> <46373CAD.6000502@infidyne.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-fs@freebsd.org, Craig Boston , freebsd-current@freebsd.org, Pawel Jakub Dawidek Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2007 16:02:14 -0000 --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 01, 2007 at 10:41:10AM -0400, Rick Macklem wrote: >=20 >=20 > On Tue, 1 May 2007, Peter Schuller wrote: >=20 > >>This does seem to eliminate the problem here too. > > > >It appears the problem persists, but is more difficult to trigger. > [stuff snipped] > >It takes on the order of several hours to trigger it. >=20 > I don't know if it relevent, but I've seen "kmem_map: too small" panics > when testing my NFSv4 server, ever since about FreeBSD5.4. There is no > problem running the same server code on FreeBSD4 (which is what I still > run in production mode) or OpenBSD3 or 4. If I increase the size of the > map, I can delay the panic for up to about two weeks of hard testing, > but it never goes away. I don't see any evidence of a memory leak during > the several days of testing leading up to the panic. (NFSv4 uses=20 > MALLOC/FREE extensively for state related structures.) Sounds exactly like a memory leak to me. How did you rule it out? > So, I'm wondering if maybe there is some subtle bug in MALLOC/FREE (maybe > i386 specific, since that's what I test on)? That would be unlikely. Kris --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGN2SFWry0BWjoQKURAmvbAKDWlLGyQ+f+AUu07xQMmy5eVDkaKwCgyB8r qzARjqlVzO3sRv7tDeOUkKY= =zFtH -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA--