From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 20:14:09 2008 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 997E11065675 for ; Mon, 27 Oct 2008 20:14:09 +0000 (UTC) (envelope-from simonychang@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.227]) by mx1.freebsd.org (Postfix) with ESMTP id 2541E8FC21 for ; Mon, 27 Oct 2008 20:14:08 +0000 (UTC) (envelope-from simonychang@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2105770rvf.43 for ; Mon, 27 Oct 2008 13:14:08 -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:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0B6YQZ0HDPXezxeLRxOoeVEQQ077eWnHi5WBl4FhKY8=; b=C98FsmCD3bEmhZ/URNj1lQ3rWUvn5eNm6JiKdq9uGxx4JrswUD4eCpKZPQKQykz3/U 5K00D2BhvD7qjanYgXTjCtc9LSFLL/+D1Kskjs3sw0GUYqC1J6mJu/hI9MRmu3xtG17h RLBZggLUswlJel3Ch07pwIW3jFze9gAWjLjik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ZW//NRK2XpRQU0JUC9QuhfkiGozo+jVZkTtgqeAsWwlMl75VnDF6QbxXCb4XjP8Tt3 sQ080PgX1tQCD0RQ12Qqd9i/Kewsx9pdTMTaJxROco78vKJwzu7dY4TRW/m5g1vCS5MA /MXVxDWVoq6+tvVXgQPUzwyPeMyuyK+HRw8jU= Received: by 10.141.198.2 with SMTP id a2mr3473919rvq.219.1225138448627; Mon, 27 Oct 2008 13:14:08 -0700 (PDT) Received: by 10.141.132.16 with HTTP; Mon, 27 Oct 2008 13:14:08 -0700 (PDT) Message-ID: <8efc42630810271314n3d2c97e6w14f682af14437cfc@mail.gmail.com> Date: Mon, 27 Oct 2008 16:14:08 -0400 From: "Simon Chang" To: "Bill Moran" In-Reply-To: <20081027160522.bd32e714.wmoran@potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <49060AE0.3000301@optiksecurite.com> <8efc42630810271157u2202e7f7xfb89a7004d072ae9@mail.gmail.com> <4906196C.8000407@optiksecurite.com> <20081027160522.bd32e714.wmoran@potentialtech.com> Cc: FreeBSD , freebsd-questions@freebsd.org Subject: Re: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2008 20:14:09 -0000 > Raising PMAP_SHPGPERPROC works most of the time. You can also re-tune > your Apache setting to keep processes from constantly spawning and > dying. For example, set the max spare and min spare servers settings > higher, so Apache keeps more spare servers around instead of spawning > them on demand and killing them when the demand ends. > > Another option is to upgrade to 7.X, which seems to have replaced the > mechanism by which this is done to be more dynamic and not have this > problem. Since he has only this server as production, and does not like re-compiling the kernel on it (and rebooting), the only option that's sensible is retuning Apache and restart services (since an upgrade to 7.X would be even more involved than a kernel rebuild). By the way, does anyone know whether there is any way to tune PMAP_SHPGPERPROC using sysctl, or does such button/knob not exist? SC