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 best solutions below
Related Questions in APC
- Symfony2 APCu or XCache
- Symfony2 bootstrap.php.cache tries to include a non-existent file
- Nginx + PHP-FPM Randomly Gives 502
- ApcCache symfony2 create cache from cli
- MAMP, APC - apc_exists
- Warning: PHP Startup: Unable to load dynamic library apc.so
- apc_fetch() and apc_store() usage in php
- Clear single result cache in symfony2 with APCu
- Symfony 2 apc caching error
- VB6 - Making a new MSAPC.Apc crashes with 'Class does not support Automation or does not support expected interface'
- "Call to undefined method" after apache reload using apc opcode cache
- symfony 2 doctrine query builder Apc cache not saving collection objects
- Doctrine 2: If using APC for the Doctrine Meta and/or Query Cache, does APC need to be flushed after each application deploy?
- APC - clearing cache with cron jobs
- Should I make an include-file with APC?
Related Questions in OPCODE-CACHE
- Store Zend OpCache as files in PHP 5.6?
- Disable APC Cache for cached files?
- apc.filters by path?
- APC Hits/Misses and configuration
- PHP5 Frameworks: Autoloading and Opcode Caching
- Is APC opcode cache shared between PHP-FPM pools/workers?
- Python doesn't have opcode cacher?
- Optimize APC Caching
- Simple PHP opcode caching solution which does not need compilation?
- Why PHP APC cache miss in increasing all the time
- Do PHP opcode cache work with __autoload?
- Basics of PHP opcode cache
- Which one would you choose ; XCache or APC?
- What are the advantages/disadvantages of monolithic PHP coding versus small specialized php scripts?
- is there an accelerator for ruby as those for php
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)
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?
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.