signalrcore

SignalR Core connections not being closed and bringing down IIS

≯℡__Kan透↙ 提交于 2021-02-11 17:51:11
问题 We have SignalR Core running in IIS and the connections are not being closed over time. This results in a 503 error: HTTP Error 503.2 - Service Unavailable The serverRuntime@appConcurrentRequestLimit setting is being exceeded. When recycling the apppool the Current Connections will drop to 0 and then back up to around 50 (as actual clients reconnect). Over the course of a day it can easily reach 2000. Not every connection is leaking - the number does decrease but trends upwards over time.