RequestAcquireState Hanging on .NET 4.5.1 IIS8

Under heavy load or when using the jQuery ajax abort function, we see that requests are created in IIS to such an extent that no one can connect, and the whole site freezes, forcing to rework.

A similar post from 3 years ago had a similar problem with .NET 4.5 and IIS 7.5, but Microsoft stated that it was fixed in 4.5.1 and a fix for 4.5 was released.

This problem in Windows Server 2012R2 using IIS 8 when trying to use State Server, and even more so when using State Server on development machines running Windows 10 and IIS10. The patch cannot be installed on any of these machines, since the installer is blocked by the presence of 4.5.1. Switching to In Proc reduces the occurrence of a problem, but does not solve it completely.

This dead stream from this year on the IIS forum had several others with the same problem, but without permission. I also tried setting UploadReadAheadSize to 0, as suggested elsewhere, but that didn't solve the problem.

Has anyone else tested and / or found a solution? Any input would be appreciated.

+4
source share

Source: https://habr.com/ru/post/1653997/


All Articles