WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
Page Index Toggle Pages: 1
Performance of WatchDirectory with many folders (Read 877 times)
YaBB Newbies

Posts: 39
Performance of WatchDirectory with many folders
Oct 12th, 2015 at 4:29pm
Has anyone used WatchDirectory to monitor a data share with a large number of folders and files? I plan to monitor a data share with ~ 4,500 folders containing ~ 48,000 files (~ 2.4 GB of data). I plan to use WatchDirectory to monitor for a newly created file and to change the security setting for the new file so that it cannot be modified. My question is how quickly would WatchDirectory detect a new file in the above scenario? What would be the impact on the server resources of such a task?

Many thanks,


Back to top
IP Logged
YaBB Administrator

Posts: 2268
The Netherlands
Re: Performance of WatchDirectory with many folders
Reply #1 - Oct 13th, 2015 at 7:30am
Hello Tony,

If you use the "Fast" monitoring method, Windows will notify WD of the exact change that happens. The other 3 monitoring methods rely on scanning the directory to look for changes and may be to slow for your needs.
Also, if "Fast" doesn't work for you, you should use the "File Age" monitoring method. "Polling" and "Default" both have a list of all files and directories in memory to compare against. This list may consume to much memory in your case.
"File Age" doesn't need such a list so you can let it trigger for files "older than 1 minute" and make sure to set the option to "remember triggered files".

Back to top

Gert Rijs - gert (at) gdpsoftware (dot) com
End Alzheimer's:
WWW WWW GdPSoftware  
IP Logged
Page Index Toggle Pages: 1