Forums / Developer / Strange cache timeout with ezFS2FileHandler... / Comment54590
Jérôme Renard
Monday 05 October 2009 4:55:19 am
Hi Nicklas,
we DO have the noatime attribute set in the Fstab for the partition. Are you saying that the ezFS2FileHandler makes use of the accesstime attribute for the files?
Yes eZFS2 uses touch() in quite some places in ezfs2filehandler.php [1], especially in eZFS2FileHandler::checkCacheGenerationTimeout() and eZFS2FileHandler::startCacheGeneration(). So you need to remove the "noatime" attribute in your /etc/fstab for the partition that stores the var/*/cache folder.
We have the noatime attribute set to improve performance on the server. I have not seen any information in the eZ docs stating that this should be an issue.
This is eZ Cluster specific, actually you can set everyhing with noatime except for cache files if you want to.
1. http://pubsvn.ez.no/nextgen/trunk/kernel/private/classes/clusterfilehandlers/ezfs2filehandler.php
Cheers :)