WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36455, comment 82


Ignore:
Timestamp:
06/11/2020 04:16:05 PM (2 months ago)
Author:
nextendweb
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36455, comment 82

    initial v1  
    66It is worth to mention that opcache will resets itself completely when it reaches the {{{opcache.max_accelerated_files}}} limit, but I'm not sure how {{{opcache_invalidate}}} affects this limit:
    77[https://serverfault.com/questions/730953/php-opcache-is-resetting-cache-automatically]
     8
     9Update: Just checked the source code of the Opcache in the PHP repo and it looks like if we call {{{opcache_invalidate}}} on the deleted files that does not free up space in the {{{opcache.max_accelerated_files}}} limit, but it frees up memory/storage as it deletes the opcache of the deleted file. But I do not think that it would have a huge impact.