Maybe I am a little bit out of the topic, Has anyone suceed in having hashed_directory_leve different than 0? In my case, everything works fine when the hashed_directory_level is set to 0 (default). As soon as I increase the value to 1 or 2 (I have a couple of hundred thousands articles to be cached in my website), the cache does not respond any more. Some cache directories are being created, but they are empty and no files are stored within them. I have tried this in 2 servers (almost the same architecture) and the result is the same. The directories are created with mask 0700 (good enough). I tried also by manually assigning umask and reloading the pages but the cache is never stored (and never hit).
ZF 1.7.5 PHP 5.2.9 php -m | grep hash hash Regards, Armand On Fri, 29 May 2009 13:20:13 +0200, Fabien MARTY <[email protected]> wrote: >> [...] >> Currently I have about 12.000 cached files and sometimes (1/10) >> Zend_Cache >> takes up to 10 seconds to load the cache. > > if you have more than 1000 cache records, drop your cache and use > "hashed_directory_level = 2" as an option for the File backend > > Regards
