Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67434 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89238 invoked from network); 16 May 2013 11:25:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 May 2013 11:25:46 -0000 Authentication-Results: pb1.pair.com header.from=ptr.wang@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ptr.wang@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.181 as permitted sender) X-PHP-List-Original-Sender: ptr.wang@gmail.com X-Host-Fingerprint: 209.85.216.181 mail-qc0-f181.google.com Received: from [209.85.216.181] ([209.85.216.181:40544] helo=mail-qc0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2C/33-01984-832C4915 for ; Thu, 16 May 2013 07:25:44 -0400 Received: by mail-qc0-f181.google.com with SMTP id s10so951897qcv.40 for ; Thu, 16 May 2013 04:25:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=iw3jBYe1orI+S7ENMHqQLX/7p1FSZDs2z+eyHxIcAU4=; b=KWeOGvZuxkI4UcoCGF0eJw//CYiCvdGMi/2i2bEHndgq9+BxuTYNq8gCG0e1eGPUou L6oc2r/11UXhHG2nQjecjAu4ZGbwlj3Cb1rcVXKkEig2sMCdL80eu+Yn0MrEUU4PYxat uWIgsU8foKk0Zq40wh6f85L79djZCaChD96oe7Jbzc5mJzTD2XIgimlRBO9s/eyINqeN xiKJDpo4vnUq4StYY0Xki4a6raUZL5QOEEHxApBuS5v3xG+O1BiRU5KDZB1QJRYFPpOT kcFxQw7IlUg0TLLNYff6froJc0kN6wrcMv5i45CS0/PPHqyrYPtXKlgimowXm+UN0OPp aoTQ== MIME-Version: 1.0 X-Received: by 10.229.69.83 with SMTP id y19mr13283459qci.86.1368703542142; Thu, 16 May 2013 04:25:42 -0700 (PDT) Received: by 10.229.202.198 with HTTP; Thu, 16 May 2013 04:25:42 -0700 (PDT) In-Reply-To: <5194A997.3080304@sugarcrm.com> References: <5194A997.3080304@sugarcrm.com> Date: Thu, 16 May 2013 13:25:42 +0200 Message-ID: To: Stas Malyshev Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=00032557f4ba6eb67604dcd420f9 Subject: Re: [PHP-DEV] Memory leak in include()/require() ? From: ptr.wang@gmail.com (Peter Wang) --00032557f4ba6eb67604dcd420f9 Content-Type: text/plain; charset=ISO-8859-1 Hi, I found that the memory leak is actually related to APC, even with the latest version of PHP (5.3.25) and latest version of APC (3.1.13), the memory leak is still there, to re-produce the bug, just run this script and watch the memory usage of the php process (please run with: php -d apc.enable_cli=1 ) wrote: > Hi! > > > hi, did anyone come across the memory leak of require()/include(), > > I just saw this bug report: https://bugs.php.net/bug.php?id=47038, > > but it was closed with nothing explained. > > This bug report was closed because the bug it describes was fixed. It is > explained so right on the bug page. > > > the php version I used: > > > > php --version > > PHP 5.3.6-13ubuntu3.9 with Suhosin-Patch (cli) (built: Sep 12 2012 > 19:00:27) > > Copyright (c) 1997-2011 The PHP Group > > Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies > > If you see the memory leak with current version (5.4.15/5.3.25) please > submit a bug report containing the reproduction script and what happens > when you run it. See the guidelines here: > https://bugs.php.net/how-to-report.php > > > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > --00032557f4ba6eb67604dcd420f9--