Commit

5bc048a

If your immutable Docker PHP-FPM container still ships with opcache.validate_timestamps=1, PHP is firing stat() syscalls on thousands of vendor files every second just to check if code changed on disk. Flipping opcache.validate_timestamps=0 in production removes all that…
Haha, look closer, the post is about opcache.validate_timestamps=0, not revalidate_freq! When validate_timestamps=0, revalidate_freq is ignored completely because OPcache stops checking file timestamps altogether.
Correct. But for your system to be firing thousands of stat calls every second, you'd first have to change the value for opcache.revalidate_freq so that the default behavior that prevents the excess stat calls is disabled. It's not a bad idea, in fact that setting for production is recommended in several places. But it's not a massive change due to the way stat is performed and cached by the OS, and the fact that PHP by default doesn't actually check each time, only revalidating at a given frequency. It's fine, just not as effective as you are implying.

commit 5bc048a