Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66659 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83631 invoked from network); 16 Mar 2013 06:32:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Mar 2013 06:32:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.220.181 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.220.181 mail-vc0-f181.google.com Received: from [209.85.220.181] ([209.85.220.181:48680] helo=mail-vc0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8C/F0-13245-11214415 for ; Sat, 16 Mar 2013 01:32:49 -0500 Received: by mail-vc0-f181.google.com with SMTP id hv10so1755183vcb.26 for ; Fri, 15 Mar 2013 23:32:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=Gr2sln0ChZhJT1IT9yZ/Ocgbezy/LDhkbtpH1Zy/GWk=; b=WFCkGOpWydJViBzkXeSNO7H3+4du+tkgecg5Te0SsZ6YN3u37tfyICDwkOr/t1AA9W 2GIIWCXkVfCd5fOmZ8CtxPkpJ7I7mKNYzu25vQvR+dipTIVrhYk9lg92eU0naRRk1hMq zrP2PFy46WdlOe3SBSuWHp56KhnfTIl5JNhK2Qx9rFGqhXQdEosGaEtaOaI6yoAg5vK/ jPcqFDPnOddc0l0IhoZLX+hy7kLlZLByJQR9kN4/bZ6xYzFh5Hh+rOgQAI72eGzVDwOI kUEhMzUdfi8xilHTi3J1srL+K6bxYKPf5yUXqv1JEqi7DVISyTwnpVLMfhfcjnHfLM6M +2RA== X-Received: by 10.52.99.67 with SMTP id eo3mr9108705vdb.21.1363415565787; Fri, 15 Mar 2013 23:32:45 -0700 (PDT) Received: from [192.168.200.148] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPS id e8sm8529729vdt.7.2013.03.15.23.32.44 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 Mar 2013 23:32:45 -0700 (PDT) Message-ID: <5144120A.40206@lerdorf.com> Date: Fri, 15 Mar 2013 23:32:42 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: Dmitry Stogov CC: PHP internals , Andi Gutmans , Zeev Suraski References: <5143D0B7.80204@lerdorf.com> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkEwe7s9VC7w/bgmy5bKjWBiOPwYnGYe/6H/d2ICI3U5t1xC+W8nZTbE4vxcn+8SOmdwuTz Subject: Re: Opcache tuning From: rasmus@lerdorf.com (Rasmus Lerdorf) On 03/15/2013 11:13 PM, Dmitry Stogov wrote: > Hi Rasmus, > > restart_count - makes sense > > last_restart_reason - is not very useful, I think it's better to add > separate countersfor each reason (memory overflow, hash overflow, wasted > memory). > > What do you think? Sure, separate counters give us even more granularity. It should be obvious which config param to tune and right now that is quite hard to figure out unless you sit and watch it for a while or catch it at just the right moment. Another small tweak, I noticed that with enable_cli off it still loads the blacklist when sapi=cli. There doesn't seem to be much point in that, is there? -Rasmus