Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Opcache large number of hits

Discussion in 'Workarounds and Optimization' started by bananacy, Apr 7, 2019.

Tags:
  1. bananacy

    bananacy Member

    Joined:
    Mar 26, 2017
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,272
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. bananacy

    bananacy Member

    Joined:
    Mar 26, 2017
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    depends
    cPanel Access Level:
    Website Owner
    Thanks, the hits might have been related to "revalidate freq" i am not sure, seems better after increasing it but still in the millions.

    this is the gui: amnuts/opcache-gui

    [Moderator Note: Removed Link To Website] 27mil is way too many.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,272
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Could you open a support ticket so we can take a closer look to make sure it's functioning and reported the hits accurately? You can post the ticket number here and we'll link this thread to it.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. bananacy

    bananacy Member

    Joined:
    Mar 26, 2017
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    depends
    cPanel Access Level:
    Website Owner
    Ticket: 11924819

    I was on v76 so support had expired... i am updating now and rebooting.

    thanks

    /johnny
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,272
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

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

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice