Re: Opcache tuning

From: Date: Sat, 16 Mar 2013 06:13:10 +0000
Subject: Re: Opcache tuning
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-66658@lists.php.net to get a copy of this message
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 >

« previous php.internals (#66658) next »