I have a quite large website, in which there is a forum powered by phpBB. I have APC enabled with 1Gb of RAM. phpBB generates a lot of php files of cache (60 000-70 000 in my case), and they rapidly fill up APC memory. I was thinking to disable apc caching of such files through the apc.filter option. In your opinion, does it make sense?
Disable APC Cache for cached files?
1.6k Views Asked by Nicolò Martini At
1
There are 1 best solutions below
Related Questions in PHP
- php Variable name must change in for loop
- register_shutdown_function is not getting called
- Query returning zero rows despite entries existing
- Retrieving *number* pages by page id
- Automatically closing tags in form input?
- How to resize images with PHP PARSE SDK
- how to send email from localhost using codeigniter?
- Mariadb max Error while sending QUERY packet PID
- Multiusers login redirect different page in php
- Imaginary folder when I use "DirectoryIterator" in PHP?
- CodeIgniter + XDebug: debug only working in the main controller, index() function
- PHP script timeout when I use sleep()
- posting javascript populated form to another php page
- AJAX PHP - Reload div after submit
- PHP : How can I check Array in array?
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
- Type safety and NEG instruction
- Assembly: why some x86 opcodes are invalid in x64?
- What is to be considered the "natural alignment" for OpCodes.Ldobj?
- Non-invocable member '' cannot be used like a method
- How to map own register operands in llvm-tablegen to instruction's opcode?
- FX0A opcode in chip 8 (Waiting for a keypress). if a key is already pressed, do I need to consider it a keypress?
- How much does a x86 processor increment the IP register?
- Understanding JMP Codes in Assembly
- opcode of transfer from memory to register
- How to know MIPS-instruction format R, I or J
- what is low-level tickable statements in php
- MIPS actual encoding scheme
- What is "H" in opcodes (very confused)
- Unintuitive expression evaluation with incrementation
- x86 decoding instruction opcode byte
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?
I haven't run phpBB in a long time, so my answer is conditional:
How fast are you running through your data in APC? If you're cycling through cache misses incredibly quickly, you've got a problem. If the number of misses stays constant and low over time I wouldn't worry about it. If you're storing lots of user data in APC that might be a way to shave it down. apc.php is a great way to get more details on what APC is up to, but remember it's an expensive page to load.
(have worked on several PHP sites dealing with millions to tens of millions of unique visitors per day)