[Flow] Occasinal Exception in Production Context
Christian Loock
chl at vkf-renzel.de
Wed Jul 30 15:50:55 CEST 2014
Well, the filetime of the cache files changes every minute, so it seems
like this happens on every request for me.
Is there some sort of config setting that controls this behaviour?
On 30.07.2014 15:48, Dominique Feyer wrote:
> In normal condition, this cache is not build on each request. The only
> condition to rebuild this cache, is deploying a new version of your
> application.
>
> 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 <http://www.ttree.ch/> - @ttreeagency
> <https://twitter.com/ttreeagency> - plan d’accès <http://g.co/maps/wwtyz>
>
> Le 30 juillet 2014 à 15:35:39, Christian Loock (chl at vkf-renzel.de
> <mailto:chl at vkf-renzel.de>) a écrit:
>
>>
>> Is the reflection cache rebuilt on each request? Is this necessary on
>> a production system?
>>
>> On 30.07.2014 15:31, Dominique Feyer wrote:
>>> 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 <http://www.ttree.ch/> - @ttreeagency
>>> <https://twitter.com/ttreeagency> - plan d’accès
>>> <http://g.co/maps/wwtyz>
>>>
>>> Le 30 juillet 2014 à 15:27:01, Christian Loock (chl at vkf-renzel.de
>>> <mailto: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
>>
>> --
>> Christian Loock
>> Web Developer
>> Renzel Agentur
>> www.renzel-agentur.de
--
Christian Loock
Web Developer
Renzel Agentur
www.renzel-agentur.de
More information about the Flow
mailing list