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 answers
Related Questions in PHP
- How to add the dynamic new rows from my registration form in my database?
- Issue in payment form gateway
- How to create a facet for WP gridbuilder that displays both parent and child custom fields?
- Function in anonymous Laravel Blade component
- How to change woocomerce or full wordpress currency with value from USD to AUD
- General questions about creating a custom theme Moodle CMS
- How to add logging to an abstract class in php
- error 500 on IIS FastCGI but no clue despite multiple error loggings activated
- Composer installation fails and reverts ./composer.json and ./composer.lock to original content
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Laravel: Using belongsToMany relationship with MongoDB
- window.location.href redirects but is causing problems on the webpage
- Key provided is shorter than 256 bits, only 64 bits provided
- Laravel's whereBetween method not working with two timestamps
- Implementing UUID as primary key in Laravel intermediate table
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
- Mysterious ARM Opcode
- Disassembling bytecode into opcodes across different EVM versions
- Any useful way (amd64) to effect a transfer like this? pc <-- (sp) [Note the absense of auto-decrement]
- Explaining LLVM for loop
- ANSI C90 68hc11 Assembly Language, Opcode Error Trapping
- How can I write a short bitwise code as jmp $ without directives?
- Migrations hit an invalid opcode while deploying
- System.InvalidProgramException Common Language Runtime detected an invalid program for Reflection
- How does the VM OS issue privileged Opcodes without being terminated by the Host OS/CPU?
- how to detect the instruction boundary while designing a disassembler?
- machine code FF 25 should have 64-bit operand but actually only 32-bit is available
- Create a Field using FieldBuilder and add one to Field Value in MethodBuilder ILCode Emit
- OPCUA subscribing to all events
- How can I using OpCodes and Emit set a parameter to an instantiated Property of type T?
- Why MOVZX r64, r/m8 behave like MOVZX r32, r/m8
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)
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)