From owner-freebsd-isp Tue Jan 21 23:57:19 2003 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A90A37B401 for ; Tue, 21 Jan 2003 23:57:18 -0800 (PST) Received: from relay.kiev.sovam.com (relay.kiev.sovam.com [212.109.32.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DC5143F13 for ; Tue, 21 Jan 2003 23:57:17 -0800 (PST) (envelope-from dimitry@al.org.ua) Received: from [212.109.32.116] (helo=dimitry.kiev.sovam.com) by relay.kiev.sovam.com with esmtp (Exim 3.36 #5) id 18bFl6-000GCE-00 for freebsd-isp@freebsd.org; Wed, 22 Jan 2003 09:57:16 +0200 Content-Type: text/plain; charset="us-ascii" From: Dmitry Alyabyev Reply-To: dimitry@al.org.ua To: freebsd-isp@freebsd.org Subject: Re: tuning suggestions? Date: Wed, 22 Jan 2003 09:57:15 +0200 User-Agent: KMail/1.4.3 References: In-Reply-To: X-NCC-RegID: ua.svitonline MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301220957.15725.dimitry@al.org.ua> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wednesday 22 January 2003 02:54, Mike Tancsa wrote: > >Shortly after making world, striping the kernel, upgrading apache, > >and installing WebGUI on a couple of websites (WebGUI requires > >mod_perl to preload Apache::Registry), I began to get these two > >errors. > > > >pmap_collect: collecting pv entries -- suggest increasing > >PMAP_SHPGPERPROC microuptime() went backwards (613878.982533 -> > >613874.389277) > > > >This machine sees fairly heavy MySql use and moderate httpd load. > >It has been faithfully doing its job for a couple of years now from > >3.0 - 4.7-stable and has never given a problem. I have read man > >tuning, LINT, and searched the archives on these two errors and > >really haven't come up with a lot of information. The following > >lines from lint are sketchy at best. [skip] > I would get rid of APM yes, and increase PMAP_SHPGPERPROC. Lint is saying > the default is 200. It was a few months ago and I forget how I arrived at > the number, but we saw the same thing on a busy apache/mySQL server so we > increased the value to 400 and the problem went away. There is 768MB of > RAM on that box. I would say the value of PMAP_SHPGPERPROC should be slightly increasing until you will not the message from pmap_collect. Don't try to rise it sharply ! In my case the value is frozen on 300 (2xPIII-1.4, RAM 1G, Apache/Mysql) -- Dimitry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message