bananacy

Member
Mar 26, 2017
15
2
3
depends
cPanel Access Level
Website Owner
Hello,

I just installed Opcache on php5.6. Everything went fine and i installed the opcache Gui.
Everything look good with 100% hit rate

My concern is that it shows millions of hits even after few hours. My wordpress site gets only ~200visit per day. Under File Usage in the GUI I can see the hit files accessed.

For example version.php was accessed 37,178 time.

Apache and domlogs dont show this kind of activity.

any explanation?

I suspected it might be the revalidate freq, so i increased to 300.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello @bananacy,

Can you share the name of the specific OPCache GUI application you are using? I can look to see where it's getting the "hits" value from to determine if it's an issue with the application or standard usage.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello,

To update, here's the answer from one of our Technical Analysts:

As a simple test, I installed the same index page on my own server on a cPanel account with no traffic, created a few php files, had 5 hits. I requested my very basic WordPress site with no plugins or custom themes, and immediately, 249 files were cached, and I had 209 hits. the version.php file itself had 12 hits. With this in mind, and understanding that your site is much larger than this and that each visitor loads more than one page each visit, it appears to be expected for the "opcache hits" to be astronomical numbers even with low traffic.
Thank you.