I have a Windows 2012 server hosting IIS 8.5 and a .net 4.5 web application. You can navigate to the public pages of the site and performance is optimal. Then you head to the Login page and you put in valid credentials and press Login... the site hangs for more than 30 seconds. I remote into the server while the login is hung and take a look at the task manager. The IIS worker process is at 100%. I mean it just sticks. This problem started occurring all of a sudden. Can someone advise me on a way to diagnose this hang? It does not always happen. After you have waited through the hang time, you can come back to the web app and login again, the next page after login loads instantly, the site is working great. Come back in an hour or two and the login hangs again. Tonight I played around with application initialization. In fact I turned it on and I am still having this issue. As well, I have thoroughly gone thorugh my code to verify I don't have any code hanging on login. In all my testing and debugging sql server resonds instantly and the page loads on my local test workstation. This hang is occuring on the server in production.
↧