Weblog entry #444 for simonw
Server runs Microsoft Web Server 2003, PHP 5.3.9 MySQL 5.1
Symptom was it got slower, quickly becoming unusable over the period of a few days. Initially rebooting or restarting services seemed to help, but later on that was less clear. Performance tools didn't show bottle-necking on IO, or Memory, or CPU, and I found a similar report claiming IIS6 might need its worker threads tuned - but no.
No change could be identified as causing the problem.
Still troubleshooting, but looks like the most probable cause was PHP (and other apps) not removing temporary files from C:\WINDOWS\TEMP
How many files in c:\WINDOWS\TEMP? Well I gave up waiting for the command counting them to complete. Been deleting (del ses_*)_ them for 5 hours, my best estimate is it deleted the first fifth in about 2 hours of deleting.
So reinstalling would probably have fixed the problem for a couple of months ;)
I note also deleting a large number of files from a folder in Microsoft Windows with NTFS is not terribly fast. Suddenly all those benchmarks comparing file-systems whilst they compile kernels or move ISOs suddenly seems so much more sensible. Anyone happen to know if NTFS is likely to be irreparably damaged by having a folder with a million files in (I mean I know it SHOULD cope, but clearly it doesn't).
Comments on this Entry