Changing the Number of Concurrent Threads Used by Event Rules

Q: Is there a thread limit as to how many files can be transferred via the same Event Rule?

A: The Event Rule Monitor Folder process is limited to 3 concurrent threads by default. This means that if you have 5 Folder Monitor Event Rules monitoring the same folder, and a file is added to the monitored folder, only 3 of the 5 Rules will fire, as determined by the operating system. The 4th and then 5th Rule execute only when one or more of the first three threads are done firing and executing any actions. If you have, for example, 100 concurrent Monitor Folder Event Rules, they are not all triggered simultaneously.

To override the default, create the following key:

32-bit:

"HKEY_LOCAL_MACHINE\SOFTWARE\Globalscape Inc.\EFT Server 4.0\EventRules\FolderMonitorWorkerThreadCount"

64-bit:

"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Globalscape Inc.\EFT Server 4.0\EventRules\FolderMonitorWorkerThreadCount"

(DWORD: the number of allowed concurrent threads)

Related Topics

Windows Registry Keys

Backing Up the Registry

Creating a .reg File

Manually Creating Registry Keys