From owner-freebsd-performance@FreeBSD.ORG Sat Feb 3 19:40:26 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D80AB16A4A6 for ; Sat, 3 Feb 2007 19:40:26 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from home.quip.cz (grimm.quip.cz [213.220.192.218]) by mx1.freebsd.org (Postfix) with ESMTP id 94EAC13C441 for ; Sat, 3 Feb 2007 19:40:26 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from [192.168.1.2] (qwork.quip.test [192.168.1.2]) by home.quip.cz (Postfix) with ESMTP id EF47462DF; Sat, 3 Feb 2007 20:40:24 +0100 (CET) Message-ID: <45C4E528.8000302@quip.cz> Date: Sat, 03 Feb 2007 20:40:24 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Thomas Hurst References: <45C47D49.4040101@quip.cz> <20070203190410.GA56203@voi.aagh.net> In-Reply-To: <20070203190410.GA56203@voi.aagh.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org Subject: Re: PHP Performance problem after upgrade to 5.1.6 or 5.2.0 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 19:40:26 -0000 Thomas Hurst wrote: > * Miroslav Lachman (000.fbsd@quip.cz) wrote: > > >>I have performance problem with PHP after upgrading from PHP 5.1.4 to >>newer version regardles if newer version is 5.1.6 or 5.2.0. I tested >>both with same result. > > > Every time I upgrade PHP and see a performace regregression like this, > it's been a result of forgetting to update eAccelerator, or whatever > flavour of the year PHP bytecode cache is at the time. > > If you're sure your cache is loading (i.e. it shows up in phpinfo() > and isn't logging errors on startup), you might find it useful to grab > backtraces from busy processes (the source tarball includes a .gdbinit > that allows you to grab PHP backtraces too, provided you're compiling > with debug symbols enabled) to see where they might be spending their > time. I am not using any PHP bytecode cache. About one year ago I tried eAccelerator which causes Apache freeze. Now I installed ZendOptimizer and load increased!! by 50% :o( -- Miroslav Lachman