volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More. 

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More. 

Site hangs

Hi,
We are experiencing that site hangs randomly during our loadtest. Site stops responding and does not respond again until a IIS-reset. We havent found any secure way to reproduce this problem but it seems it happens mostly in the beginning of the load test. We have produced a crash-dump on the w3wp-process when this happens but have a real hard time interpreting what we se. Hopefully, someone here have a clue?

It looks like most of the threads in the crash-dump are wating for something on EPiServer.ServiceLocation.ServiceLocatorImplBase.GetInstance and StructureMap.Util.Cache but we have no idea why this happens. Any ideas/help would be highly appreciated!

Some examples of thread stacks from the crash dump:

Example 1:

000000aa72e79348 00007fff47480c6a [HelperMethodFrame_1OBJ: 000000aa72e79348] System.Threading.WaitHandle.WaitOneNative(System.Runtime.InteropServices.SafeHandle, UInt32, Boolean, Boolean)
000000aa72e79470 00007fff3b79a0d1 System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle, Int64, Boolean, Boolean)
000000aa72e794a0 00007fff3b79a0a1 System.Threading.WaitHandle.WaitOne(Int32, Boolean)
000000aa72e794e0 00007fff39fbe110 System.Threading.ReaderWriterLockSlim.WaitOnEvent(System.Threading.EventWaitHandle, UInt32 ByRef, TimeoutTracker)
000000aa72e79530 00007fff3a575d72 System.Threading.ReaderWriterLockSlim.TryEnterUpgradeableReadLockCore(TimeoutTracker)
000000aa72e79590 00007fff39fc3d4d System.Threading.ReaderWriterLockSlim.TryEnterUpgradeableReadLock(TimeoutTracker)
000000aa72e795e0 00007ffeddc5df6b StructureMap.Util.Cache`2[[System.__Canon, mscorlib],[System.__Canon, mscorlib]].Fill(System.__Canon, System.Func`2

-----

Example 2:

000000aa72cfb1d8 00007fff47480c6a [HelperMethodFrame_1OBJ: 000000aa72cfb1d8] System.Threading.WaitHandle.WaitOneNative(System.Runtime.InteropServices.SafeHandle, UInt32, Boolean, Boolean)
000000aa72cfb300 00007fff3b79a0d1 System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle, Int64, Boolean, Boolean)
000000aa72cfb330 00007fff3b79a0a1 System.Threading.WaitHandle.WaitOne(Int32, Boolean)
000000aa72cfb370 00007fff39fbe110 System.Threading.ReaderWriterLockSlim.WaitOnEvent(System.Threading.EventWaitHandle, UInt32 ByRef, TimeoutTracker)
000000aa72cfb3c0 00007fff3a575d72 System.Threading.ReaderWriterLockSlim.TryEnterUpgradeableReadLockCore(TimeoutTracker)
000000aa72cfb420 00007fff39fc3d4d System.Threading.ReaderWriterLockSlim.TryEnterUpgradeableReadLock(TimeoutTracker)
000000aa72cfb470 00007ffeddc5df6b StructureMap.Util.Cache`2[[System.__Canon, mscorlib],[System.__Canon, mscorlib]].Fill(System.__Canon, System.Func`2

#149881
Jun 09, 2016 15:53

Looks like a deadlock to me. I would add a support ticket for it. Never seen it before...

#149952
Jun 09, 2016 20:02

Have you been able to resolve this issue? 

#181209
Aug 14, 2017 4:10

Thanks a lot, Magnus and Tobias. This is what I was looking for!

#181219
Aug 14, 2017 9:55
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.