On my server, sometimes scripts and cache files created by scripts are blocked by the PHP process. After blocking, they cannot be accessed either through a network resource, locally on the server, or by PHP itself. Refreshing the page results in access denials:
Warning: rmdir(C:\inetpub\wwwroot\mdblog\public\..\cache\posts\2012) [function.rmdir]: Directory not empty in C:\inetpub\wwwroot\mdblog\public\system\Filesystem.php on line 52
Line 52 is rmdir($dir); .
The problem is more common after a "large" number of disk operations (quickly refreshing the page, deleting several files at once, etc.). This is a Windows Server 2008 R2 server with IIS7 and PHP 5.3.13 (using FastCGI), running on a VM server, without virus scanners, with PHP installed using the Web Platform installer. dxdiag
Running iisreset temporarily fixes the problem. However, I am writing a static site generation function that causes this problem to occur every few minutes.
source share