Opcache tuning
| From: | Rasmus Lerdorf | Date: | Sat, 16 Mar 2013 01:53:59 +0000 |
| Subject: | Opcache tuning | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-66657@lists.php.net to get a copy of this message | ||
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