Windows Azure and Smart search errors

   —   
This article summarizes some suggestions you can try when dealing with errors related to Smart search module on Kentico CMS instances deployed to Azure.
If you encounter an error “There is not enough space on the disk.” after trying to rebuild one of your smart search indexes, it is usually caused by the lack of space on local storages for SmartSearchWorker role.

At first, please check if there are any smart search index files left inside your project folder ~\App_Data\CMSModules\SmartSearch. If there are some remaining there, delete them or exclude them from the project and then redeploy the project to Azure to ensure the changes are propagated to the Azure environment as well.

If this approach still does not resolve the issue, you can try to extend the default size for CMSTemp and CMSCache local storages inside ServiceDefinition.csdef file of CMSAzure project using sizeInMB attribute like this:
<LocalResources> <LocalStorage name="CMSTemp" cleanOnRoleRecycle="true" sizeInMB="200" /> <LocalStorage name="CMSCache" cleanOnRoleRecycle="false" sizeInMB="200" /> </LocalResources>

After making these changes, you should also reboot the SmartSearchWorker role itself. You can do this directly through Azure Portal -> Cloud service -> <your cloud service> -> Instances -> SmartSearchWorker -> Reboot.
-fl-


Applies to: Kentico 6.x - 7.x
Share this article on   LinkedIn