slowing down if cache is running full

  • Thomas Seifert

    Thomas Seifert - 2004-11-15

    hey there,

    I thought mmcache is supposed to clear the last used entries from the cache if its running full.
    While running some benchmarks I've recognized that php is slowing down if the cache is mostly full (around 20-30%!).
    Yeah, I could run the "clear"-command from the webinterface even by cron but shouldn't mmcache circumvent this already?

    btw. is there still some real development going on?
    I would hate to see mmcache going lost against the others :(.

    thanks in advance,


    • Michael Paesold

      Michael Paesold - 2004-11-19

      Have your tried to set mmcache.shm_ttl and
      mmcache.shm_prune_period in your php.ini?

      Those are times in seconds, e.g.

      mmcache.shm_ttl = 60
      mmcache.shm_prune_period = 15

      means that the time-to-live for a cached script is 60 seconds. The script ttl is checked, whenever there is not enough room for new scripts. shm_prune_period = 15 says that this check will occure at most every 15 seconds.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks