Upgrading APC from 3.0.19 -> 3.1.4 has started a memory leak which fills the APC cache until it stops being useful. Please see bug report here: http://pecl.php.net/bugs/bug.php?id=19500 Reproducible: Sometimes Steps to Reproduce: Install the new APC and run the following PHP test script which will sometimes (but not always) answer NO to apc_delete() <?php function yesno($val) { if ($val) echo '<br/>Yes<br/>'; else echo '<br/>NO<br/>'; } $key = 'loloo'; echo 'Key is '. $key. '<br/>'; yesno(apc_store($key, 'dataaaaaa', 999)); yesno(apc_delete($key)); yesno(apc_store($key, 'dataaaaaa', 999)); yesno(apc_delete($key)); die('<br/>done'. date('c')); Actual Results: Usually apc_delete() returns true as expected but at times it returns false and the keys persist in the cache. Expected Results: apc_delete() should ALWAYS return true and keys should NOT persist in the cache.
Had the same bug with this version (amd64 platform) It seems to be resolved in 3.1.5 though
As stated above, it should be fixed dev-php5/pecl-apc-3.1.5, which is in the tree.
Resolved in 3.1.5