I am now testing new Chat with SignalR and IIS/ASP.net 4 and friends (MySQL, etc...)
I can use SignalR with two clients (IE9, Chrome) or one only and it works. after some actions with code (refresh, change, refresh, etc...) I can see that requests to server is frozen for minutes and if I want to work I need to restart IIS.
I took a dump of IIS process, and see a ten open connections to poll.ashx/connect?transport=foreverFrame ....
was opened for minutes.
(I am using ashx extenstion to do not use the "runAllManagedModulesForAllRequests", as it hurting performance, it is useless)
I tried GlobalHost.Configuration.ConnectionTimeout = TimeSpan.FromSeconds(30)
and GlobalHost.Configuration.KeepAlive = null
. same problem. I can see in the dump requests opened to 2 minutes or more.
I know that Windows 7's IIS limited to ten running requests, so I opened Fiddler and abort all sessions. IIS still hangs after termination. I tried to close Fiddler (and then - TCP/HTTP connections) - still hangs.
What I can do to stop the "losted" connections? the client (Fiddler or Browser) closed the TCP/HTTP connections and in IIS there are still alive.
I do not use hubs.
Thanks !