我们最近想要启动新的Web服务器,并且我配置了一个运行完全相同网站的新Windows 2012 R2,并使用相同的用户名/密码配置了IIS应用程序池.当我进行测试时,该网站连接并运行良好.但是只要我将任何实际负载带到服务器上,我就会看到IIS开始挂起并请求开始堆积.
我拿了一个内存转储并在其上使用了新的DebugDiag 2.0分析,看到请求在打开sql连接时挂起:
This thread is trying to open a data base connection
The connection String is Data Source=10.81.73.66;Failover Partner=10.81.73.72;Initial Catalog=XXXX;Integrated
Security=True;Max Pool Size=6000;Connect Timeout=30;Network
Library=dbmssocn;Application Name=EntityFrameworkMUE and the
connection timeout is set to be 30 seconds.
在分析中,我看到了很多例外:
Connection Timeout Expired. The timeout period elapsed while
attempting to consume the pre-login handshake acknowledgement. This
could be because the pre-login handshake Failed or the server was
unable to respond back in time. This failure occured while attempting
to connect to the Principle server. The duration spent while
attempting to connect to this server was – [Pre-Login]
initialization=3342; handshake=0;
关于尝试什么的任何想法?