|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67958 Php opcache resetting cache files
Submitted: 2014-09-03 23:05 UTC Modified: 2014-12-30 10:42 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: jimspiti at hotmail dot com Assigned: dmitry (profile)
Status: No Feedback Package: opcache
PHP Version: 5.6.0 OS: Centos 6.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
18 - 3 = ?
Subscribe to this entry?

 [2014-09-03 23:05 UTC] jimspiti at hotmail dot com

After testing for a long time php 5.4 and 5.5 and 5.6 with opcache we notice that there is a problem with it and fastcgi ...

After a few minutes (less than 30) it is resetting the files in the cache and for example from 400 files in the cache is going back to 250 and then up to 500 an dthen the same and we do not have any wrong settings or file limits in the system or in the cache...

Just to be sure with the same settings we install Mod lsapi against fastcgi and all was great and never did that reset and at the moment we have after a day 1600 files there.....

So if you can please fix this as almost every one wil use this opcache with the new versions of php.

Thanks !


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-09-04 14:15 UTC]
-Assigned To: +Assigned To: dmitry
 [2014-09-04 14:15 UTC]
hi, could you show your opcache related php.ini settings and your also provide more info about your fastcgi setup?
AFAIR by default the opcache cache isn't shared between fastcgi processes, so it could be normal to see different number of files cached on different more so if they were recently spawned and didn't receive enough requests to warm up the cache.
 [2014-09-04 14:15 UTC]
-Status: Assigned +Status: Feedback
 [2014-09-04 16:09 UTC] jimspiti at hotmail dot com
The fastcgi was aut installed and configured by cpanel...

opcache settings:
 [2014-12-30 10:42 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Sep 23 00:03:38 2021 UTC