Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34018 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62477 invoked by uid 1010); 13 Dec 2007 16:36:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62462 invoked from network); 13 Dec 2007 16:36:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Dec 2007 16:36:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:33113] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/75-10047-08F51674 for ; Thu, 13 Dec 2007 11:36:17 -0500 Received: (qmail 26120 invoked from network); 13 Dec 2007 16:36:13 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 13 Dec 2007 16:36:13 -0000 Message-ID: <47615F7B.3000703@zend.com> Date: Thu, 13 Dec 2007 19:36:11 +0300 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 CC: Derick Rethans , PHP Developers Mailing List , Andi Gutmans References: <698DE66518E7CA45812BD18E807866CEF88FDD@us-ex1.zend.net> <7d5a202f0712031900i386f8964s675da26cc93af3fe@mail.gmail.com> <47550FAB.30002@daylessday.org> <698DE66518E7CA45812BD18E807866CEF890ED@us-ex1.zend.net> <475578BE.40908@daylessday.org> <4755A797.1020905@lerdorf.com> <-4460533375996444588@unknownmsgid> <698DE66518E7CA45812BD18E807866CEF89334@us-ex1.zend.net> <47570A20.8070901@zend.com> <698DE66518E7CA45812BD18E807866CEF895BF@us-ex1.zend.net> <4757D355.2060705@zend.com> <4757DA73.5070308@zend.com> <47598BAB.1080808@zend.com> <476157A6.4070400@zend.com> In-Reply-To: <476157A6.4070400@zend.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Garbage collector patch From: dmitry@zend.com (Dmitry Stogov) BTW the interesting fact that during Derick's test GC cycle collector was automatically run 124 times and it collected 2,388,399 zvals. So it really works! :) Dmitry. Dmitry Stogov wrote: > Hi Derick, > > You test are enormous, but than you anyway. :) > I've found and fixed the problem. > > Now your test suite is passed with the following results: > > PHP_5_3: Tests: 7706, Failures: 45, Errors: 807, Skipped: 347 > > With GC: Tests: 7706, Failures: 45, Errors: 804, Skipped: 347 > > I've no idea why GC fixes three tests. (I can send you logs if you like) > > Thanks. Dmitry. > > > Derick Rethans wrote: >> On Fri, 7 Dec 2007, Dmitry Stogov wrote: >> >>> all your tests passed for me yesterday with memory_limit=1G. >>> May be it's some fresh non GC related bug :) >>> Try the same test with -dzend.enable_gc=0 and with unpatched PHP. >>> >>> I would very interested in this "bad" test case, if it's really >>> related to GC. >> >> I tried to run it, but unfortunately my machine ran out of memory >> before it (that includes a full swapspace). I'd need access to a >> machine which has more memory than I have for this (4gb minimal). If >> you have such a machine, perhaps you can try yourself? Instead of >> running just the Template tests, I ran all of them: >> >> ~/dev/php/php-5.3dev-gc/sapi/cli/php -dzend.enable_gc=1 >> UnitTest/src/runtests.php -c /home/httpd/html/report -D sqlite://:memory: >> >> For -c to work, you will need xdebug installed though - I tried >> without but got the same issue. >> >> regards, >> Derick >> >