IE7停止一段时间后,使网络请求网络

2023-09-10 20:16:49 作者:话不多说尽在掌握i

我们的(asp.net)系统是一个较大系统的一部分。它是通过从JavaScript这个更大的系统,做了的window.open调用打开一个新的窗口中启动。

Our (asp.net) system is part of a larger system. It is launched via this larger system from javascript that does a window.open call to open a new window.

(顺便说一句,认证数据等通过一个加密的查询字符串参数传递到我们的系统中)

(aside, authentication data etc is passed into our system via an encrypted query string parameter)

在IE7的测试(不幸的是,组织标准化这一点),浏览器会使用我们的系统后(导航页左右)一段时间(其间歇),开始赚不到网络请求。 pressing F5使其显示其加载动画,但没有任何实际发生的)。

When testing with IE7 (unfortunately the organization has standardized on this) the browser will, after using our system (navigating around pages) for a while (its intermittent), start not making network requests. Pressing F5 causes it to show its loading animation, but nothing actually happens).

您可以关闭我们的窗口,并返回到更大的系统(在它自己的窗口),它仍然能正常工作。如果重新启动我们的系统,新的窗口打开了,它看起来像它的加载,但没有请求时(使用Wireshark验证)。该系统是在不同的子域。

You can close our window, and go back to the larger system (in its own window) which still works fine. If you re-launch our system, the new window opens up and it looks like its loading, but no request is made (verified with wireshark). The systems are on separate sub-domains.

下面是有趣的事情,如果我开始了小提琴手,一切都开始工作的罚款。当我靠近提琴手,它将停止制造网络请求。

Here is the funny thing, if I start up Fiddler, everything starts working fine. As soon as I close Fiddler, it stops making network requests.

该系统是一个相当HTML / JavaScript的/阿贾克斯重系统(每页1MB +),但应该不会导致浏览器做到这一点。显然,Firefox和Chrome工作完美:)

The system is quite an html/javascript/ajax heavy system (1MB+ per page), but that shouldn't cause the browser to do this. Obviously Firefox and Chrome work perfectly :)

只有这样,才能得到它的工作,是要关闭所有的IE窗口,并重新启动。

The only way to get it working again, is to shut down all the IE windows, and start up again.

我已经停用​​了代理服务器,启用它,做pretty的每样东西我能想到的。

I've disabled the proxy server, enabled it, done pretty much everything I can think of.

任何人有什么想法?

更新

我设法与小提琴手正在运行的重现。最初,它的工作的时候,我可以看到提琴手所有请求。当它进入了无请求安康造模式(再次提醒,没有什么变化,我只是浏览各地),我没有看到提琴手任何事情(即没有新的请求,没有)。所有这一切提琴手已登录的请求已完成,所以没有打开的连接。

I managed to reproduce it with fiddler running. Initially, when its working, I can see all the requests in Fiddler. When it goes into its "no-requests-being-made" mode (again, note that nothing changes, I'm just browsing around), I don't see any thing in Fiddler (i.e. no new requests, nothing). All the requests that fiddler has logged are completed, so there are no open connections.

我们现在看到这对几乎所有的机器。浏览15页之后,这个开始发生。难道是一些环保的事情吗?我的试验机是一种香草XP中安装与McAfee,IE7。闲来无事正在运行,且没有工具栏安装在IE浏览器。

We're seeing this on almost every machine. After browsing about 15 pages, this starts happening. Could it be some environmental thing? My test machine is a vanilla XP install with McAfee, IE7. Nothing else is running, and no toolbars are installed in IE.

推荐答案

尝试合并的http:// www.enhanceie.com/dl/fixHTTPMax.reg 以你的HTTP连接限制,然后检查,看它是否需要〜10倍,只要碰到这个问题。

Try merging http://www.enhanceie.com/dl/fixHTTPMax.reg to up your HTTP connection limit, then check to see if it takes ~10x as long to run into the problem.

如果是这样,那么问题是,你enountered哪里被泄露一个HTTP连接的问题,那么你最终击中MAX-连接 - 每个服务器的限制。

If so, then the problem is that you've enountered a problem where a HTTP connection is being leaked, and then you're eventually hitting the max-connections-per-server limit.