Monday, October 29, 2012

unlink error from FileEngine when many requests happen frequently

I get an error like:

warning: unlink(/.../tmp/cache/models/myapp_cake_model_default_something): No such file or directory in /.../lib/Cake/Cache/Engine/FileEngine.php on line 247

This happen when I have 3 JSON requests happen at close to the same time. My guess is that the cache has removed the file in one thread and then the other thread tries to remove it, but it has already been removed.

I think I'm using cake php 2.2 but the version.txt file says 2.1. Any chance this is fixed in 2.3?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: