Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66658 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79347 invoked from network); 16 Mar 2013 06:13:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Mar 2013 06:13:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain zend.com does not designate 209.85.128.182 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.128.182 mail-ve0-f182.google.com Received: from [209.85.128.182] ([209.85.128.182:47216] helo=mail-ve0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/00-13245-97D04415 for ; Sat, 16 Mar 2013 01:13:14 -0500 Received: by mail-ve0-f182.google.com with SMTP id ox1so3188285veb.13 for ; Fri, 15 Mar 2013 23:13:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=XAYpBQIZEEW+h8sNwHaN5+Zr872wVgb0C1Qb8XTg6rM=; b=f5r75gPR0oV3+ks1gXVWqtkcwiWSjZ6jvXQMNtRvQbMS0PPcAgEI6sW0wvjwM3xAiA 1jD4rweNMvEIcmhHEvDKew/YeWPWFa87zFpH7bPKbL/c8tSEmM/wPKmcUfzVwmucc8d+ foG+8d8PL67KtH4tkmX45WVuVQbZRWK54bXtA0hqlk1wdpAI+q8MBFQVtmPgx57TIt0F Epu0idtBCQLlB3kcqs2ZE0KXNsN9n57TY+uiBkeHNG1lcyNG8KcDbh620iclmT3cMr3o ZJ6oA4T6vmmM4mVXekR2jEh5ZKedkSA5BPiDfd8EEvHElOU2LthqhqgUgy/wI5kW22Z4 v+qg== MIME-Version: 1.0 X-Received: by 10.52.74.34 with SMTP id q2mr8976297vdv.76.1363414390477; Fri, 15 Mar 2013 23:13:10 -0700 (PDT) Received: by 10.52.115.170 with HTTP; Fri, 15 Mar 2013 23:13:10 -0700 (PDT) In-Reply-To: <5143D0B7.80204@lerdorf.com> References: <5143D0B7.80204@lerdorf.com> Date: Sat, 16 Mar 2013 10:13:10 +0400 Message-ID: To: Rasmus Lerdorf Cc: PHP internals , Andi Gutmans , Zeev Suraski Content-Type: multipart/alternative; boundary=20cf3071c7fc6d320604d804a60b X-Gm-Message-State: ALoCoQkSeeu0CvMduZ0ggI3+N9pEFree1HpVc5+u7MpUK8KgTagDo3CUBVNQQwKZSJLFYAoQrhPBy/lrdza1nka1pO7KIITlyToP4E+kw+csaUto4u4N7vRUd+4dStEBmX3VWa4r6fER Subject: Re: Opcache tuning From: dmitry@zend.com (Dmitry Stogov) --20cf3071c7fc6d320604d804a60b Content-Type: text/plain; charset=UTF-8 Hi Rasmus, restart_count - makes sense last_restart_reason - is not very useful, I think it's better to add separate counters for each reason (memory overflow, hash overflow, wasted memory). What do you think? Dmitry. On Saturday, March 16, 2013, Rasmus Lerdorf wrote: > Hey Dmitry, I think it would be helpful if we added two tuning status > entries. The first is a "restart_count" which lets you know how many > times the cache has restarted since server start. And the second, since > there are multiple triggers for a cache restart, would be a > "last_restart_reason" which specifies which limit triggered the last > restart. Both should be easy to do as far as I can tell and it would > help people figure out if they need to allocate more memory to the cache > or allocate more keys. > > -Rasmus > --20cf3071c7fc6d320604d804a60b--