SXA webサイトがダウンしているときに「Index was outside bounds of array」エラーが表示される


解説

SC Hotfix 468030-1 SXA 9.3.0.2589.zipがインストールされている場合、Sitecoreが応答しなくなり、SXA webサイトがダウンすることがあります。またその他の症状として、CPU使用率が高騰したり、応答時間が遅くなる可能性があり、またログには次のエラーが記録される場合があります:

Exception: System.IndexOutOfRangeException
Message: Index was outside the bounds of the array.
Source: mscorlib
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Sitecore.XA.Foundation.Multisite.SiteInfoResolver.IsMatchingPath(Item item, SiteInfo siteInfo)

解決策

この問題を解決するには、次のいずれかの方法を検討してください: