File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,13 @@ opcache.max_accelerated_files (default "2000")
87
87
between 200 and 1000000 are allowed.
88
88
89
89
opcache.max_wasted_percentage (default "5")
90
- The maximum percentage of "wasted" memory until a restart is scheduled.
90
+ When the cache fills up this setting decides when to actually reset (dump
91
+ all entries) it. At the default of 5% it means that if less than 5% of
92
+ the entries in the now full cache are wasted/orphaned, then you have a good
93
+ active cache. There is no point emptying a cache full of good entries
94
+ only to most likely refill it with those same entries. Once more than 5%
95
+ of the cache consists of wasted entries, the cache will reset in this
96
+ cache-full scenario. This can be set up to as high as 50%.
91
97
92
98
opcache.use_cwd (default "1")
93
99
When this directive is enabled, the OPcache appends the current working
You can’t perform that action at this time.
0 commit comments