[Flow] Occasinal Exception in Production Context

Dominique Feyer dfeyer at ttree.ch
Wed Jul 30 15:31:52 CEST 2014


That’s related to a race condition in the caching framework. It’s possible that a concurrent request unlink this file, so the current request failed to unlink the file (because it doesn’t exist anymore).

Thing like that can happen with file backend, because of the slow I/O. This can also happen with other cache like memcache or redis, but maybe less frequently.

We are searching a good way to handle cache entry locking, but currently we don’t have a perfect solution. 

Bests,

--   
ttree sàrl  
Dominique Feyer  
Rue du Valentin 34 et demi
CH - 1004 Lausanne
+41 21  312 36 35  
dfeyer at ttree.ch
ttree.ch - @ttreeagency - plan d’accès

Le 30 juillet 2014 à 15:27:01, Christian Loock (chl at vkf-renzel.de) a écrit:

Hi,  

we occasionally get some exceptions on our production server for our  
flow application that will somewhat look like this one here:  

Uncaught exception #1169047619 in line 227 of  
/var/www/flow_vkf_admin/releases/20140714115757/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Cache/Backend/SimpleFileBackend.php:  
Could not unlink file  
"/var/www/flow_vkf_admin/releases/20140714115757/Data/Temporary/Production/Cache/Data/Flow_Reflection_RuntimeData/VKF_Core_Controller_CustomerSystemController".  

Of course it does not state why it cant unlink the file. This is getting  
somewhat annoying, even though it does not break the application, from  
time to time the exception message will pop up. I also wonder, why  
Caches are getting deleted so frequently (seems like every minute) on a  
node that runs in production context.  

Any hints on what to look for? Might it be a filesystem related problem?  

--  
Christian Loock  
Web Developer  
Renzel Agentur  
www.renzel-agentur.de  

_______________________________________________  
Flow mailing list  
Flow at lists.typo3.org  
http://lists.typo3.org/cgi-bin/mailman/listinfo/flow  


More information about the Flow mailing list