What are "Hits & Misses" in reference to APC opcode caching? I've installed APC and it's running great, but I've got "some" misses and I'm wondering if that's "bad". Also, I am running Openx and, as such, am filling up the "Cache full count(s)" pretty quickly. What do I need to change in the configuration to minimize that? Any recommended configurations?
1
There are 1 answers
Related Questions in APC
- Error sending snmptrap from zabbix to an APC
- why does zabbix output UPS APC and UPS HUAWEI options differently?
- APCU not appearing in an Azure Linux Docker Container
- Missing php_apcu.dll for PHP 8.2 / APCu 5.1.22?
- APCu: Cannot call key() on invalid iterator
- Windows SleepEx() doesn't resume when queueing an APC
- Nextcloud Problem with memcache after Updates
- Keeping mysql query results and variables set from the queries for use across pages and sessions
- Call to undefined function apcu_add()
- How to avoid Multi-user PHP Cache add up?
- Function Call in DLL not working as expected (QueueUserAPC)
- Cannot use apc_fetch to fetch a stored variable from the cache
- Yii2 Invalid Configuration: ApcCache requires PHP apc extension to be loaded
- User notification in SAPUI5 using AMC channels
- Effect of parameter $unused in method apcu_store
Related Questions in OPCODE-CACHE
- How do I enable opcache with PHP 5.3?
- Opcache is Enabled, but Opcode Caching says Disabled?
- is there an accelerator for ruby as those for php
- Nginx php-fpm clogs up with writing connections under high load
- Store Zend OpCache as files in PHP 5.6?
- PHP performance (Opcode caching / function volatility)
- xcache how does it work? code coverage? clogs? OOMs?
- Is APC opcode cache shared between PHP-FPM pools/workers?
- Should I use FastCGI or SuPHP for my VPS?
- PHP APC - Why is loading cached array op codes slow?
- Do I pay a performance penalty as PHP recompiles my source code for every request?
- Why PHP APC cache miss in increasing all the time
- APC, PHP and two classes which require each other
- Apc extension not working on php 5.3.3
- Disable APC Cache for cached files?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Some misses are to be expected.
Hits = things are in cache
Miss = things not (yet) in cache. New or less-used things will always be a miss, so you'll always expect some.
You may need to tune how much memory you're dedicating to APC - Its sort of a guessing game, balancing how much memory your machine has and how much you 'usually' have filled in APC (it should tell you a amount or percent full). You'll have to tweak various values to see. An OK baseline is a compressed version of all your source code at like gzip level 2 - assume you're taking out comments and variable names and stuff, and you'll never get over that. Then you can figure out how much to dedicate to the cache.
If you're using APC for key-value caching as well, that will fill up faster than just code caching - and you'll expect to fill it up eventually. You'll then need to find an amount that gives a miss ratio you're comfortable with.