From owner-freebsd-stable@FreeBSD.ORG Wed Feb 4 17:42:35 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92BD5106566B for ; Wed, 4 Feb 2009 17:42:35 +0000 (UTC) (envelope-from freebsd@max.af.czu.cz.cz) Received: from jaguar.blueboard.cz (jaguar.blueboard.cz [217.11.249.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2157D8FC19 for ; Wed, 4 Feb 2009 17:42:34 +0000 (UTC) (envelope-from freebsd@max.af.czu.cz.cz) Received: (qmail 62669 invoked by uid 89); 4 Feb 2009 17:42:34 -0000 Received: from unknown (HELO ?127.0.0.1?) (tomas@blueboard.cz@217.11.239.235) by jaguar.blueboard.cz with ESMTPA; 4 Feb 2009 17:42:34 -0000 Message-ID: <4989D384.7090301@max.af.czu.cz.cz> Date: Wed, 04 Feb 2009 18:42:28 +0100 From: Tomas Randa User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Tom Evans , stable@freebsd.org References: <4989BD92.9010506@max.af.czu.cz.cz> <1233766887.43076.18.camel@strangepork.mintel.co.uk> In-Reply-To: <1233766887.43076.18.camel@strangepork.mintel.co.uk> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Free memory after upgrade to 7.1 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: Wed, 04 Feb 2009 17:42:35 -0000 Yes, I do portupgrade -Rrfia after upgrade of course. I don`t think it is some "new" PHP bug, because my friend have same problem with memory and he do not upgraded ports. But his box do not free memory after apache reload, my yes Any other suggestions ? Thanks TR Tom Evans napsal(a): > On Wed, 2009-02-04 at 17:08 +0100, Tomas Randa wrote: > >> Hello, >> >> I have i386/PAE system (php, apache22, mysql) running on 7-STABLE and I >> can see strange behavior after upgrade from 7.0: Apache does not free >> memory, for example: >> >> CPU: 31.2% user, 0.0% nice, 12.8% system, 0.7% interrupt, 55.3% idle >> Mem: 3520M Active, 3705M Inact, 465M Wired, 314M Cache, 112M Buf, 12M Free >> Swap: 4096M Total, 105M Used, 3991M Free, 2% Inuse >> >> then apachectl graceful >> >> CPU: 28.3% user, 0.0% nice, 8.6% system, 0.0% interrupt, 63.1% idle >> Mem: 631M Active, 3126M Inact, 353M Wired, 213M Cache, 112M Buf, 3693M Free >> Swap: 4096M Total, 1844K Used, 4094M Free >> >> Some graph: http://max.af.czu.cz/memoryload.png >> >> I know before upgrade was memory using about 2,5GB, now much more, >> apache sometimes crash. >> >> Thanks for some help >> >> Tomas Randa >> > > What is apache doing to use so much memory? This looks more like a > memory leak in PHP, which is reclaimed after apache restarts its > children. > > When you upgraded the OS, did you also upgrade ports? Could a new > version of PHP be at fault here? > > Cheers > > Tom > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > >