I'm currently having some issues invalidating some troublesome opcache entries on using PHP7.0-FPM.
Some files are being cached with a the a memory size of 680.00b when I view in opcache_get_status. These files are usually around 50kb in size and appear to be cached correctly, but Opcache is reporting a number of these files to be exactly 680.00b.
Opcache Settings:
; configuration for php opcache module
; priority=10
zend_extension=opcache.so
opcache.memory_consumption=16384
opcache.max_accelerated_files=32531
opcache.validate_timestamps=0
opcache.revalidate_freq=600
opcache.max_file_size=0
opcache.fast_shutdown=1
It's an unusual setup where generated files are being cached so occassionally there are issues and the files are replaced/recached.
Is there any reason anyone can think of why opcache is showing these files as 680.00b? An opcache_reset or an opcache_invalidate doesn't help. I have to replace the files completely and use an opcache_reset for them to show up with their true filesize and it's making monitoring/troubleshooting difficult.
Thanks in advance.