From owner-freebsd-stable@FreeBSD.ORG Fri May 16 18:35:25 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CBA51065672 for ; Fri, 16 May 2008 18:35:25 +0000 (UTC) (envelope-from yurtesen@ispro.net) Received: from mail.ispro.net (mail.ispro.net [87.251.0.19]) by mx1.freebsd.org (Postfix) with ESMTP id B37918FC18 for ; Fri, 16 May 2008 18:35:21 +0000 (UTC) (envelope-from yurtesen@ispro.net) Received: (qmail 38660 invoked by uid 399); 16 May 2008 21:32:39 +0300 Received: from dsl-tkubrasgw1-fed0de00-174.dhcp.inet.fi (HELO ?80.222.208.174?) (yurtesen@ispro.net@80.222.208.174) by mail.ispro.net with ESMTPAM; 16 May 2008 21:32:39 +0300 X-Originating-IP: 80.222.208.174 Message-ID: <482DD410.6090102@ispro.net> Date: Fri, 16 May 2008 21:36:00 +0300 From: Evren Yurtesen User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Evren Yurtesen , Jeremy Chadwick , freebsd-stable@freebsd.org References: <482B4DEE.3050705@ispro.net> <20080515010347.GA85202@eos.sc1.parodius.com> <482BE398.8010203@ispro.net> <20080516182044.GA5921@voi.aagh.net> In-Reply-To: <20080516182044.GA5921@voi.aagh.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max sysctl. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2008 18:35:25 -0000 Thomas Hurst wrote: >> In either case, I already increased vm.pmap.shpgperproc to 2000 (from >> 200) and still the error occurs, there is not so much load on this >> box, maybe there is a leak somewhere? > > What sort of load is there? Do you have a bunch of big processes > sharing significant chunks of memory in any way? > How do I see what process is sharing memory and how much memory? There are a bunch of apache 2.2 processes working normally about 20-30 processes. This box doesnt do much more than that... I just checked the machine and here is what it looks like: 2:32PM up 18 days, 5:40, 3 users, load averages: 0.41, 0.36, 0.27 web:/root#ps ax |grep http 21429 ?? Ss 0:18.08 /usr/local/sbin/httpd 86473 ?? S 0:00.09 /usr/local/sbin/httpd 86659 ?? S 0:00.09 /usr/local/sbin/httpd 86851 ?? S 0:00.07 /usr/local/sbin/httpd 86857 ?? S 0:00.04 /usr/local/sbin/httpd 86912 ?? S 0:00.04 /usr/local/sbin/httpd 86918 ?? S 0:00.03 /usr/local/sbin/httpd 86919 ?? S 0:00.03 /usr/local/sbin/httpd 86996 ?? S 0:00.04 /usr/local/sbin/httpd 87023 ?? S 0:00.02 /usr/local/sbin/httpd 87028 ?? S 0:00.03 /usr/local/sbin/httpd 87059 ?? S 0:00.01 /usr/local/sbin/httpd 87060 ?? S 0:00.01 /usr/local/sbin/httpd 87062 ?? S 0:00.02 /usr/local/sbin/httpd 87065 ?? S 0:00.03 /usr/local/sbin/httpd 87074 ?? S 0:00.01 /usr/local/sbin/httpd 87076 ?? S 0:00.02 /usr/local/sbin/httpd 87077 ?? S 0:00.03 /usr/local/sbin/httpd 87079 ?? S 0:00.04 /usr/local/sbin/httpd 87081 ?? S 0:00.03 /usr/local/sbin/httpd 87083 ?? S 0:00.03 /usr/local/sbin/httpd 87085 ?? S 0:00.04 /usr/local/sbin/httpd 87090 ?? S 0:00.02 /usr/local/sbin/httpd 87190 p1 R+ 0:00.00 grep http web:/root# Although I see now that for 2 days the PV entries error did not appear. I wonder if it is spooling up somehow... There is a cron job restarting apache everyday at midnight so it cant be apache leaking perhaps. Thanks, Evren