Does FileExists touch other files while searching?
Hi all,
I am seeing some unusual file activity on a folder on our webserver. The folder contains 100,000s of tiny files and when we add some monitoring to this folder we can see that there are a about 50 files being opened, read and then closed every second but there are 1000s of files being opened and then closed again straight away.
Whilst trying to work out where this activity was coming from I thought about FileExists. We use FileExists to check that a particular file exists before reading it. Could it be that the way FileExists works is to check through all the files in a folder to see if each one is the matching file causing it to 'touch' lots of files in the directory before it gets to the one it needs?
Thanks
