From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 18:39:40 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 48A00106567F for ; Mon, 27 Oct 2008 18:39:40 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 209208FC14 for ; Mon, 27 Oct 2008 18:39:40 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [31.33.7.200] ([69.70.93.206]) by VL-MO-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0K9E00MZ4UI3OHP0@VL-MO-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 27 Oct 2008 14:39:39 -0400 (EDT) Message-id: <49060AE0.3000301@optiksecurite.com> Date: Mon, 27 Oct 2008 14:39:28 -0400 From: =?ISO-8859-1?Q?Francis_Dub=E9?= User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) To: freebsd-questions@freebsd.org Subject: 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 18:39:40 -0000 Hi everyone, I'm running a a webserver on FreeBSD (6.2-RELEASE-p6) and I have this error in my logs : collecting pv entries -- suggest increasing PMAP_SHPGPERPROC I've read that this is mainly caused by Apache spawning too many processes. Everyone seems to suggest to decrease the MaxClients directive in Apache(set to 450 at the moment), but here's the problem...i need to increase it ! During peaks all the processes are in use, we even have little drops sometime because there isn't enough processes to serve the requests. Our traffic is increasing slowly over time so i'm affraid that it'll become a real problem soon. Any tips on how I could deal with this situation, Apache's or FreBSD's side ? Here's the useful part of my conf : Apache/2.2.4, compiled with prefork mpm. httpd.conf : [...] ServerLimit 450 StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 450 MaxRequestsPerChild 0 KeepAlive On KeepAliveTimeout 15 MaxKeepAliveRequests 500 [...] Francis Dube R&D Optik Securite www.optiksecurite.com