ERROR Error in FileWatcher Internal Buffer Overflow While Installing Coveo for Sitecore
ERROR Error in FileWatcher Internal Buffer Overflow While Installing Coveo for Sitecore
Symptoms
The installation of Coveo for Sitecore fails on Sitecore 8.1 Update 1 with the following error.
... ERROR Error in FileWatcher. Internal buffer overflow.
Exception: System.IO.InternalBufferOverflowException
Message: Too many changes at once in directory:path-to-data-dir\Data.
Cause
The cause seems to be related to how Sitecore handles the deployment and modification of large numbers of configuration files. For more information, see Mikael Högberg’s blog post on Sitecore File Watcher Internal Buffer Overflow Exception in 8.1 update-1.
Resolution
According to the blog post, it could be solved by moving the license file. In the example, the user created a license folder in the Data
directory and moved the license.xml
file in there, before applying the following License.config
patch into App_Config/Include
folder:
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<settings>
<setting name="LicenseFile">
<patch:attribute name="value">$(dataFolder)/license/license.xml</patch:attribute>
</setting>
</settings>
</sitecore>
</configuration>
Over time, several Sitecore administrators have shared additional information and suggestions regarding this issue on Mikael Högberg’s post (see Sitecore File Watcher Internal Buffer Overflow Exception in 8.1 update-1).