From owner-freebsd-bugs@FreeBSD.ORG Wed Jan 5 00:50:49 2005 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D08E816A4CE for ; Wed, 5 Jan 2005 00:50:49 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A6D443D1D for ; Wed, 5 Jan 2005 00:50:49 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D8F5053437; Tue, 4 Jan 2005 16:51:11 -0800 (PST) Date: Tue, 4 Jan 2005 16:51:11 -0800 From: Kris Kennaway To: Rob Swindell Message-ID: <20050105005111.GB13055@xor.obsecurity.org> References: <200412280750.iBS7oWVB013500@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: <200412280750.iBS7oWVB013500@freefall.freebsd.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-bugs@FreeBSD.org Subject: Re: misc/75510: panic: kmem_malloc(4096): kmem_map too small X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2005 00:50:49 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 28, 2004 at 07:50:32AM +0000, Rob Swindell wrote: > The following reply was made to PR misc/75510; it has been noted by GNATS. >=20 > From: "Rob Swindell" > To: , > "Rob Swindell" > Cc: =20 > Subject: Re: misc/75510: panic: kmem_malloc(4096): kmem_map too small > Date: Mon, 27 Dec 2004 23:57:05 -0800 >=20 > Here's another capture of netstat -m (shortly before the panic), top (at= the > time of the panic), /var/crash/info and vmcore kgdb backtrace. > =20 > [devil:~]# netstat -m > 162 mbufs in use > 33/4800 mbuf clusters in use (current/max) > 0/3/1456 sfbufs in use (current/peak/max) > 106 KBytes allocated to network > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 0 requests for I/O initiated by sendfile > 105 calls to protocol drain routines That doesn't seem to be pointing to an mbuf leak (I don't know if it would have the same failure mode anyway). The following sysctls should be relevant (your values will of course be much less): =20 vm.kvm_free: 264237056 vm.kvm_size: 1069543424 vm.kmem_size_max: 419430400 vm.kmem_size: 419430400 If you're sure this is a smbfs problem, then we should change the PR title so that a future smbfs maintainer will notice it (smbfs is effectively unmaintained in freebsd thesedays) Kris --SUOF0GtieIMvvwua Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB2zn/Wry0BWjoQKURAjh+AJ9xizBBsit5PNGHTFmfzKcCUYAblwCdHdXM 3W9PKeccFyOSdVUxgvn4W7A= =pEje -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua--