Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Zend\Cache clearExpired - getMTime(): stat failed #104

Closed
GeeH opened this issue Jun 28, 2016 · 1 comment
Closed

Zend\Cache clearExpired - getMTime(): stat failed #104

GeeH opened this issue Jun 28, 2016 · 1 comment
Milestone

Comments

@GeeH
Copy link
Contributor

GeeH commented Jun 28, 2016

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html


Original Issue: https://api.github.com/repos/zendframework/zendframework/issues/7467
User: @startef
Created On: 2015-04-28T23:31:13Z
Updated At: 2015-11-06T22:14:14Z
Body
Hello,

I recently encountered an old problem that was first described and fixed here: zendframework/zendframework#6048

On my more busy projects the logs get filled up with

PHP Fatal error: Uncaught exception 'RuntimeException' with message 'SplFileInfo::getMTime(): stat failed for .../some/dir/filename.dat' in .../some/dir/zendframework/zend-cache/Zend/Cache/Storage/Adapter/Filesystem.php:153

The ExceptionHandler should have taken care of it actually, but somehow it doesn't anymore.

startef

Edit: Just noticed, it is not only the getMTime(). It also shows exceptions for unlink(), probably for the same reason of concurrent requests.

Edit2: PHP-Version is 5.5.22


Comment

User: @startef
Created On: 2015-08-17T10:20:16Z
Updated At: 2015-08-17T10:20:16Z
Body
A temporary solution was posted at heiseonline/shariff-backend-php#22


@marc-mabe
Copy link
Member

This has been fixed already and will be in 2.7.2 by #102

@marc-mabe marc-mabe added this to the 2.7.2 milestone Jun 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants