We use turk mmcache to cache data from and to MySQL on
websites that generates lots of traffic.
Recently, the cache's behavior is erratic. After a
mmcache_rm call, some data still remains available and
is returned by mmcache_get.
For this specific case, we update a large
multi-dimensional array and put it in cache untill it
reaches a certain size. It is then flushed to a DB and
the cache reset. Since the problem occures, when the
cache is reset some part of the array actually remain
in memory while the rest is flushed.
$data = mmcache_get('term_cache');
.. when we do mmcache_rm('term_cache'), immediately the
mmcache_get call returns some old and seemingly static
part of the array.
I examined the source code to figure out what is going
on.. I have not found anything conclusive yet, it
seems to be linked to shm / disk storage, not all is
flushed or updated when it should perhapse.
Anyone experienced something similar or has any idea
what can be causing this?
Log in to post a comment.