From owner-freebsd-stable@FreeBSD.ORG Sun Oct 23 08:29:49 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3F7B16A41F for ; Sun, 23 Oct 2005 08:29:49 +0000 (GMT) (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 72B5143D45 for ; Sun, 23 Oct 2005 08:29:49 +0000 (GMT) (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 5925B1A3C1A; Sun, 23 Oct 2005 01:29:49 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7ACE951361; Sun, 23 Oct 2005 04:29:48 -0400 (EDT) Date: Sun, 23 Oct 2005 04:29:48 -0400 From: Kris Kennaway To: Vladimir Sharun , freebsd-stable@freebsd.org Message-ID: <20051023082948.GA90034@xor.obsecurity.org> References: <20051023074342.GA97095@dun.ukr.net> <20051023080622.GA76867@xor.obsecurity.org> <20051023082110.GA97329@dun.ukr.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <20051023082110.GA97329@dun.ukr.net> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: kmem_malloc(4096): kmem_map too small: 536870912 total allocated X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2005 08:29:49 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 23, 2005 at 11:21:10AM +0300, Vladimir Sharun wrote: > Kris Kennaway wrote: > KK> On Sun, Oct 23, 2005 at 10:43:42AM +0300, Vladimir Sharun wrote: > >> We have 2xOpteron/2Gb RAM server with extrensive disk load. Every week= or two > >> it suddenly hangs with "kmem_malloc(4096): kmem_map too small 335bla-b= la allocated".=20 > >> I look onto handbook and put vm.kmem_size_max=3D"536870912" onto /boot= /loader.conf. > >> Today was the same with the new parameters. Is there any other solutio= ns ? >=20 > KK> If that's not enough, try making it larger. >=20 > On what size we can be sure, that "that's enough" ? It depends on your workload, so keep increasing it until the problem stops or you discover that you need more RAM to handle your workload. Kris --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDW0n7Wry0BWjoQKURAvWnAKCSDOriZhA5VOMMsKtvE1vq0DgwrACgk28i RZ8T55MQkQ+KZwLCt5d85dg= =bCrk -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--