From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 4 06:17:54 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1A201065677 for ; Wed, 4 Jun 2008 06:17:54 +0000 (UTC) (envelope-from tzhuan@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 58BA08FC21 for ; Wed, 4 Jun 2008 06:17:53 +0000 (UTC) (envelope-from tzhuan@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1459066fgb.35 for ; Tue, 03 Jun 2008 23:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=vQgzgr1vM7C9wzD2trZT+neZtrtSGXNRYHuL8kCqLrk=; b=F72DaemNjEsTBYOMSL4jCsyVZlrv2Ru5quJKE3VerOnOGwMo2b6FqUmMcR1omUvmPpgK3WXQvqwXcCiKFrMtD/QZEggOfbJ8aovoquiUa/ugyyrcyaTRafgVKEfJciw51ZoHMpllS0PSdEiiXpkdadxQEMch3AXezAXgy2TIdIk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=DBeTMQqrid7Hh01no3ciOZMbVLeHOFg+y4L3cHz+Wjhjwu8d+/36N0/q+0pUgjZaZDNhgz8wZDoOGU8QkgDzHld9/xLbDCAvg+lcVLTl5/rSgZbKxaextGKad1msZs/A6gdsxyJwwJ9exPtbBVMKfLeRt3hwlEkY+pZLRHqKZDE= Received: by 10.86.25.17 with SMTP id 17mr4703805fgy.63.1212560273191; Tue, 03 Jun 2008 23:17:53 -0700 (PDT) Received: by 10.86.92.1 with HTTP; Tue, 3 Jun 2008 23:17:52 -0700 (PDT) Message-ID: <6a7033710806032317g4dbe8845h26a1196016b9c440@mail.gmail.com> Date: Wed, 4 Jun 2008 14:17:52 +0800 From: "Tz-Huan Huang" Sender: tzhuan@gmail.com To: "Pawel Jakub Dawidek" In-Reply-To: <20080603135308.GC3434@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6a7033710805302252v43a7b240x66ca3f5e3dd5fda4@mail.gmail.com> <20080603135308.GC3434@garage.freebsd.pl> X-Google-Sender-Auth: 0ee3e6faddeb4375 Cc: freebsd-hackers@freebsd.org Subject: Re: Is there any way to increase the KVM? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2008 06:17:54 -0000 On Tue, Jun 3, 2008 at 9:53 PM, Pawel Jakub Dawidek wrote: > On Sat, May 31, 2008 at 01:52:56PM +0800, Tz-Huan Huang wrote: >> Hi, >> >> Our nfs server is running 7-stable/amd64 with 8G ram, the size of zfs >> pool is 12T. We have set vm.kmem_size and vm.kmem_size_max to >> 1.5G, but the kernel still panics by "kmem_map too small" often. > > Could you also try to decrease vfs.zfs.arc_max? The vfs.zfs.arc_max was set to 512M originally, the machine survived for 4 days and panicked this morning. Now the vfs.zfs.arc_max is set to 64M by Oliver's suggestion, let's see how long it will survive. :-) Thanks, Tz-Huan