Changes between Version 33 and Version 34 of Faq


Ignore:
Timestamp:
2013-09-02T23:18:43Z (2 years ago)
Author:
AlexisWilke
Comment:

A few English enhancements.

Legend:

Unmodified
Added
Removed
Modified
  • Faq

    v33 v34  
    4949
    5050== Why is misses > 0 no matter how I increase the shm size? ==
    51 "Misses" a opp to "hits". You get cache misses when there's nothing in the cache in the first time, after when it is cached and you starts getting cache hits. So there shall be at least misses=count(cached-php).
     51"Misses" a opp to "hits". You get cache misses when there is nothing in the cache (i.e. the first time the cache gets hit.) Once it is cached and you start getting cache hits instead. So there shall be at least one miss per .php cached: misses=count(cached-php).
    5252
    5353== Why is my cache being cleared? ==
     
    5959It is possible that "hits" count looks like random number in admin page. i.e.: you see hits=300,000 on first load of admin page, but dropped to hits=1 in 2nd reload and back to hits=312,456 on 3rd load.
    6060
    61 This is because you have php started in different group which does not share shm with each other. But keep in mind that all childs in 1 group will share shm. So how to check and make it 1 group only?
     61This is because you have php started in different groups which do not share shm with each other. But keep in mind that all children in one group will share shm. So how to check and make it 1 group only?
    6262
    6363Checking:
    6464
    65 ====== Good Exmaple ======
     65====== Good Example ======
    6666{{{
    6767#!ShellExample
     
    7373}}}
    7474
    75 ====== Bad Exmaple ======
     75====== Bad Example ======
    7676{{{
    7777#!ShellExample
     
    9292
    9393
    94 == Help! I get error about "XCache requires Zend Engine API version NNN" ==
     94== Help! I get an error about "XCache requires Zend Engine API version NNN" ==
    9595{{{
    9696XCache requires Zend Engine API version 220051025.
     
    100100}}}
    101101
    102 You get this error because you have an outdated build of XCache. i.e., you have upgraded php
     102You get this error because you have an outdated build of XCache. i.e., you upgraded php
    103103
    104104Read next faq.
     
    108108
    109109== xcache.so: undefined symbol: core_globals_id ==
    110 It can be ***_globals_id or ***_id. This error mean XCache was built with wrong PHP headers (the include/php/*.h files), either it was wrong version or wrong PHP built option, like 4.x vs 5.x or PHP zts built vs non-zts built. Apparently, it can be fixed easily by removing the wrong headers and rebuild XCache.
     110It can be ***_globals_id or ***_id. This error means XCache was built with the wrong PHP headers (the include/php/*.h files), either it was the wrong version or the wrong PHP build option, like 4.x vs 5.x or PHP zts build vs non-zts build. Apparently it can easily be fixed by removing the wrong headers and rebuilding XCache.
    111111
    112112 1. Remove wrong PHP headers
     
    148148Use zend_extension=/path/to/xcache.so or zend_extension_ts=..., and make sure it's before any other zend_extension=... (This note is only validate before 3.0)
    149149
    150 == I have read that xcache.optimizer setting gives an important performance gain. is that true ? ==
     150== I have read that xcache.optimizer setting gives an important performance gain. Is that true ? ==
    151151Currently only the "cacher" and "coverager" modules are implemented, tested and known to be working, the "optimizer" does **nothing**. it will be available only in XCache version 2, which is in an early development stage.