Both mw1265 and mwdebug1003 have active opcache hit ratio alerts, with status CRITICAL: opcache cache-hit ratio is below 99.85%, but their actual hit ratio is above the critical threshold (even though mwdebug1003 should be emitting a warning):
rzl@mw1265:~$ php7adm /opcache-info | jq .
{
"opcache_enabled": true,
"cache_full": false,
"restart_pending": false,
"restart_in_progress": false,
"memory_usage": {
"used_memory": 519450912,
"free_memory": 512941152,
"wasted_memory": 41349760,
"current_wasted_percentage": 3.850996494293213
},
"interned_strings_usage": {
"buffer_size": 100663296,
"used_memory": 35895520,
"free_memory": 64767776,
"number_of_strings": 798770
},
"opcache_statistics": {
"num_cached_scripts": 11020,
"num_cached_keys": 18099,
"max_cached_keys": 32531,
"hits": 3846219216,
"start_time": 1608053201,
"last_restart_time": 0,
"oom_restarts": 0,
"hash_restarts": 0,
"manual_restarts": 0,
"misses": 11108,
"blacklist_misses": 0,
"blacklist_miss_ratio": 0,
"opcache_hit_rate": 99.99971119774261
}
}rzl@mwdebug1003:~$ php7adm /opcache-info | jq .
{
"opcache_enabled": true,
"cache_full": false,
"restart_pending": false,
"restart_in_progress": false,
"memory_usage": {
"used_memory": 150631392,
"free_memory": 159394776,
"wasted_memory": 4546632,
"current_wasted_percentage": 1.4453353881835938
},
"interned_strings_usage": {
"buffer_size": 52428800,
"used_memory": 4966984,
"free_memory": 47461816,
"number_of_strings": 91130
},
"opcache_statistics": {
"num_cached_scripts": 1150,
"num_cached_keys": 1780,
"max_cached_keys": 32531,
"hits": 6403628,
"start_time": 1608250368,
"last_restart_time": 0,
"oom_restarts": 0,
"hash_restarts": 0,
"manual_restarts": 0,
"misses": 1154,
"blacklist_misses": 0,
"blacklist_miss_ratio": 0,
"opcache_hit_rate": 99.98198221266547
}
}The icinga service looks like it's updating regularly, so this ought to have cleared on its own -- something funny is going on here.