Comments (4)
Been running the trunk with the commits through March 18, 2013 on a very active server (php 5.4) with many different kinds of programs (including several different versions of wordpress) and have found it problem free so far when previous commits were not as stable.
Updated my little control panel to handle the different names/versions the opcache has been at over the past month.
My Zend Opcache wishlist includes:
-
statistic for how long has the cache been running (not just the last reset but also total uptime)
-
ability to delete individual files in the cache manually via the api
-
ability to change at least some settings on the fly via the api (ie. revalidate_freq )
from zendoptimizerplus.
7.0.1 was released
- "start_time" was added in addition to "last_restart_time"
- not implemented yet
- You may do it - ini_set("opcache.revalidate_freq", "0");
from zendoptimizerplus.
Thank you very much for adding start_time I appreciate it.
However ini_set("opcache.revalidate_freq", "0"); is useless, it does not change the master value, only the local value, which is for that one-time script load only in PHP, it is immediately reset to the master value in php.ini afterwards.
And I am pretty sure the opcache would ignore a local value change anyway once it's up and running.
A special api function would have to be created to force it to change on the fly and retain the change.
from zendoptimizerplus.
On Mon, Mar 25, 2013 at 2:52 PM, ck-on [email protected] wrote:
Thank you very much for adding start_time I appreciate it.
However ini_set("opcache.revalidate_freq", "0"); is useless, it does
not change the master value, only the local value, which is for that
one-time script load only in PHP, it is immediately reset to the master
value in php.ini afterwards.Yes. And it's made on purpose.
And I am pretty sure the opcache would ignore a local value change anyway
once it's up and running, even without examining the code. A special api
function would have to be created to force it to change on the fly.We are not planning to add such feature.
It's going to lead to race conditions and other tricky cases.
Thanks. Dmitry.
from zendoptimizerplus.
Related Issues (20)
- Failed to compile on PHP 5.6 HOT 3
- Opcache crashed with PHP7 HOT 6
- current_wasted_percentage > max, restart_pending=1 but no restart HOT 4
- Error for make HOT 3
- No support for mod-itk? HOT 3
- the same cached and misses files bug HOT 11
- E_WARNING: Cannot modify header information - headers already sent by
- opcache_enabled automatically turns false HOT 2
- pfsockopen - when using opcache ,pfsockopen returns empty when server initiative to disconnect the current connection HOT 1
- 2 different files required w/ same relative path resolve to one file HOT 1
- Don't 7.0.5 work on PHP 5.4.45 ?
- OpCache Constantly Restarting Itself
- Php 7.0.19 call to undefined function exception despite defined
- Frequent PHP errors
- PHP 5.2 with OPcache and ZendOptimizer v.3.3
- Using opcache in command line HOT 1
- Feature request: opcache_evict HOT 1
- How to serialize op_array ?
- Opcache optimisation
- zend_compile_file use of uninitialized memory on second request HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zendoptimizerplus.