Event queue stops working in CD

Hi Folks,

In one of our website we faced an issue that our indexes were not rebuilding on CD environment and event queue stopped working. Our sitecore version was 8.1 update-1 (rev. 151207) and it was a content heavy site. Then first we decided to check index strategies for web index.  For this we went to App_Config/Sitecore.ContentSearch.Lucene.Index.Web.config config file and in <strategies hint=”list:AddStrategy”> section these 2 strategies were already set –

<strategy ref=”contentSearch/indexConfigurations/indexUpdateStrategies/onPublishEndAsync” />
<strategy ref=”contentSearch/indexConfigurations/indexUpdateStrategies/remoteRebuild” />

 

After this we decided to check ScalabilitySettings.config settings. We have verified that all things were good. You can check scalability setting in below url, good discussion here on Sitcore Stackexchange – https://sitecore.stackexchange.com/questions/1052/onpublishendasync-not-triggering-on-cd-server.

 

But still issue was same for us. So we decided to dig more into it. Then we noticed an error in logs –

Hosting Environment Stop Requested

So it was clear that it was not the issue of sitecore. So we checked IIS app pool settings. For this go to IIS and click on Application Pool on the left and click on your hosted site, after this click on Advanced Settings on the right, a pop up will open and there we saw that Idle Time-out(minutes) setting was set to 20.

AppPool_

 

We changed this Idle Time-out(minutes) setting to 0. And that’s it.

Why we have changed this setting?

Since it was content heavy site and indexing was taking time more than 20 minutes. So after 20 minutes there were timeout, that causes the issue. After setting it to 0 there was no timeout, that solved our issue.

Happy coding 🙂

 

 

Advertisements