From owner-freebsd-questions@FreeBSD.ORG Tue Sep 4 07:02:09 2012 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 A6EA8106566B for ; Tue, 4 Sep 2012 07:02:09 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5EFBF8FC12 for ; Tue, 4 Sep 2012 07:02:09 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T8n9G-0003uE-30 for freebsd-questions@freebsd.org; Tue, 04 Sep 2012 09:02:10 +0200 Received: from pool-173-79-96-198.washdc.fios.verizon.net ([173.79.96.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Sep 2012 09:02:10 +0200 Received: from nightrecon by pool-173-79-96-198.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Sep 2012 09:02:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Tue, 04 Sep 2012 03:02:14 -0400 Lines: 39 Message-ID: References: <5044C2FC.5050703@ifdnrg.com> <50459ED4.3020804@ose.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-96-198.washdc.fios.verizon.net Subject: Re: Error after upgrading to php 5.4.6 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 07:02:09 -0000 Bas Smeelen wrote: [snip] > > My previous response was sent too early :( > > I still get errors in apache > [Tue Sep 04 08:14:42 2012] [error] [client 192.168.1.189] PHP Warning: > Unknown: Unable to allocate memory for pool. in Unknown on line 0, > referer: > http://sys.ose.nl/cacti/graph_view.php?action=tree&tree_id=1&leaf_id=21 > [Tue Sep 04 08:14:43 2012] [notice] child pid 56172 exit signal > [Segmentation > fault (11) > [Tue Sep 04 08:14:43 2012] [notice] child pid 56163 exit signal > [Segmentation > fault (11) > [Tue Sep 04 08:14:53 2012] [error] [client 192.168.1.189] PHP Warning: > Unknown: Unable to allocate memory for pool. in Unknown on line 0, > referer: > http://sys.ose.nl/cacti/graph_view.php?action=tree&tree_id=1&leaf_id=7 > [Tue Sep 04 08:15:59 2012] [notice] child pid 56169 exit signal > [Segmentation > fault (11) > > So now I will comment out all extensions and start investigating. > Well it turns out to be apc.so, this comes with core php I guess? > For completeness: The php manual states this is for alternative php cache. > http://php.net/manual/en/book.apc.php I use xcache. However, whenever I rebuild PHP I also rebuild xcache. Sometimes when the change is very small you may get away with not doing it, but whenever updating between major versions it is a must. I had this happen one time too many and just got into the habit of whenever I rebuild/update PHP I rebuild xcache as well. I believe it pulls in includes form PHP during it's build process so if PHP changes too much xcache will segfault, or just outright refuse to load. [snip]