简体   繁体   English

经典ASP网站请求随机挂在IIS7中

[英]Classic ASP site requests randomly hang in IIS7

I have a new IIS7 box running Windows Server 2008 Web Edition (x64), and I have set up an existing classic ASP site there. 我有一个运行Windows Server 2008 Web Edition(x64)的新IIS7框,并且在那里建立了一个现有的经典ASP网站。 The site works fine and super speedy for the most part, but will randomly hang (about 1 out of 20 or so requests). 该网站在大多数情况下都可以正常运行和超快速运行,但会随机挂起(大约20个请求中的1个)。 By hanging, I mean I will click a page from the browser, and the browser (Crome on Mac) never responds -- it just continually loads until I finally get the following error after about 3 or so minutes: 通过挂起,我的意思是我将从浏览器中单击一个页面,浏览器(Mac上为Crome)从不响应-它会不断加载,直到大约3分钟后我最终收到以下错误:

Error 7 (net::ERR_TIMED_OUT): The operation timed out.

I'm pretty sure this is a Chrome-specific error, so I'm not too hung up on the actual error, but the cause of the time out. 我很确定这是Chrome特定的错误,因此我不太想知道实际的错误,而是超时的原因。 The site connects to a SQL 2005 server on the same network, but I'm pretty sure this isn't a SQL timeout, as that would happen within 30 seconds, and give me a specific error about SQL. 该站点连接到同一网络上的SQL 2005服务器,但是我很确定这不是SQL超时,因为它将在30秒内发生,并给我有关SQL的特定错误。 I think this is an issue w/ my site, or the server. 我认为这是与我的网站或服务器有关的问题。

Note that often after seeing this, I can simply stop the request and reload the page, and it will load just fine, super speedy again. 请注意,通常在看到此消息后,我可以简单地停止请求并重新加载页面,它将再次正常加载。

I'm not even sure where to begin troubleshooting this. 我什至不知道从哪里开始进行故障排除。 I have to figure this out, otherwise this will mean a new server purchase down the drain. 我必须弄清楚这一点,否则这将意味着购买新服务器的麻烦。

Thanks in advance for any suggestions. 在此先感谢您的任何建议。

I've noticed a few more things about this problem. 我注意到有关此问题的其他事情。 It'll happen more often after I've published files to the server (even static content like js or css files). 在我将文件发布到服务器(甚至是静态内容,如js或css文件)之后,这种情况也会更频繁地发生。 It'll also happen occasionally on other sites running ASP.NET. 偶尔也会在其他运行ASP.NET的站点上发生这种情况。 Namely I've noticed the timeout on dotnetkicks.com which is also running IIS 7.5. 也就是说,我注意到dotnetkicks.com上的超时也正在运行IIS 7.5。 Again, this only occurs in Chrome. 同样,这仅在Chrome中发生。

I've also tried uninstalling and re-installing Chrome but the problem continues. 我也尝试卸载并重新安装Chrome,但问题仍然存在。 My next step is to try this from a couple different computers running Chrome outside my network. 我的下一步是从网络外部运行Chrome的两台不同计算机上尝试此操作。


UPDATE (April 29, 2011) 更新 (2011年4月29日)

So I moved to Colorado a couple weeks ago and I haven't seen this problem occur even once since I moved. 所以几周前我搬到了科罗拉多州,自从搬家以来,我从未见过这个问题发生过。 That leads me to conclude that 1.) my internet connection in Dallas was flaky and 2.) Chrome was less forgiving of a poor connection than other browsers. 这使我得出以下结论:1.)我在达拉斯的互联网连接不稳定,并且2.)与其他浏览器相比,Chrome对宽容连接的容忍度更低。 And of course, it basically rules out any possibility of there being a problem at the server's end. 当然,它基本上排除了服务器端出现问题的任何可能性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM