If you are experiencing file system timeout errors, there are two approaches increase the timeout for file system operations:
- Increase number of file-access retries
- Increase the amount of time between each file-access retry
The following is an example of the error you will receive on a batch if the file system retry limit has been hit:
Connector Service did not handle request. System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: 5 Errors from I/O calls over 10000 milliseconds
The main cause of this issue is anti-virus software which is scanning the files that the system is trying to access. We would recommend "white-listing" the location from the error message in your anti-virus software.
Another cause of this could be a slow file system.
Increasing the number of retry attempts and/or the interval between retries can be done by:
- Open the Web.Config file found at: [InstallDrive]\Program Files\KnowledgeLake\Repository\Web.Config
- Edit these two lines of this XML document
<add key="FileSystemRetryCount" value="5" />
<add key="FileSystemRetryInterval" value="2000" />
NOTE: Increasing the "FileSystemRetryCount" will increase the number of attempts that are made to access a file before causing an error.
NOTE: Increasing the "FileSystemRetryInterval" (Milliseconds) will increase the amount of time between each file-access retry.