Solved - Sitecore Commerce Minions recycles/resets every 20 minutes

Akshay Sura - Partner

7 Mar 2019

Share on social media

This is a quick post, and I am hoping that it can help others who are searching for similar fixes. While working with a huge commerce implementation, I ran into an issue where the Sitecore Commerce Minion was timing out and recycling itself every 20 minutes. This meant that the Import I was running restarted every 20 minutes.

I tried cleaning up the environment, I removed AdventureWorks and Habitat environments, but nothing helped. I happened to look at the application pool for the Commerce Minions role and found that even though the .NET Core process was busy importing, due to the default setting of the Idle Time-out, it recycled it.

By default, the Start Mode is set to AlwaysRunning, which is correct. When the AlwaysRunning is true, the Idle Time-out should be 0 (Zero) so that it can ignore it. Once the setting was fixed, my Minions are very happy.

<iframe src="https://giphy.com/embed/11sBLVxNs7v6WA" width="480" height="217" frameBorder="0" class="giphy-embed" allowFullScreen></iframe><p><a href="https://giphy.com/gifs/cheer-cheering-11sBLVxNs7v6WA">via GIPHY</a></p>

via GIPHY

If you have any questions or concerns, please get in touch with me. (@akshaysura13 on Twitter or on Slack).

Sign up to our newsletter

Share on social media

Akshay Sura

Akshay is a nine-time Sitecore MVP and a two-time Kontent.ai. In addition to his work as a solution architect, Akshay is also one of the founders of SUGCON North America 2015, SUGCON India 2018 & 2019, Unofficial Sitecore Training, and Sitecore Slack.

Akshay founded and continues to run the Sitecore Hackathon. As one of the founding partners of Konabos Consulting, Akshay will continue to work with clients to lead projects and mentor their existing teams.


Subscribe to newsletter