From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 23:59:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 840531065670 for ; Wed, 25 Feb 2009 23:59:30 +0000 (UTC) (envelope-from sseekamp@risei.net) Received: from mho-02-bos.mailhop.org (mho-02-bos.mailhop.org [63.208.196.179]) by mx1.freebsd.org (Postfix) with ESMTP id 5D7A98FC1D for ; Wed, 25 Feb 2009 23:59:30 +0000 (UTC) (envelope-from sseekamp@risei.net) Received: from monibeast.risei.net ([71.216.68.145] helo=[172.25.0.28]) by mho-02-bos.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1LcSsV-000NGo-QQ for freebsd-questions@freebsd.org; Wed, 25 Feb 2009 23:09:24 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 71.216.68.145 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+R4bUYbJzwzO9kgiy30MlBDez00idOdTo= Message-ID: <49A5CFA2.2090509@risei.net> Date: Wed, 25 Feb 2009 16:09:22 -0700 From: Scott Seekamp User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Tuning Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: complists@risei.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2009 23:59:30 -0000 This week I started seeing this in my syslog: kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl. I changed the shpgperproc to 800 from 200, but I am still getting the message. These are my current settings: vm.pmap.pmap_collect_active: 0 vm.pmap.pmap_collect_inactive: 0 vm.pmap.pv_entry_spare: 21690 vm.pmap.pv_entry_allocs: 12261136989 vm.pmap.pv_entry_frees: 12257750799 vm.pmap.pc_chunk_tryfail: 0 vm.pmap.pc_chunk_frees: 69895925 vm.pmap.pc_chunk_allocs: 69916210 vm.pmap.pc_chunk_count: 20285 vm.pmap.pv_entry_count: 3386190 vm.pmap.shpgperproc: 800 vm.pmap.pv_entry_max: 6447909 I didn't want to arbitrarily adjust the settings without understanding them. I could not find any good information out there on what to adjust these values to, or what to base them off of. I recently added mod_perl2 to our lightly-loaded server so I'm guessing that is where this came from. Anyone have good information on how to handle this? The server is a 7.1-amd64 with 6GB RAM, load averages: 0.20, 0.21, 0.26. Thanks Scott