问题描述
我们正在使用我们的网页上的iFrame中6。他们从几个外部Web服务和内部WCF服务获取数据并显示数据。有每个iFrame中内置一个独立的aspx页面。从我们监测PERF我们发现,在任何时候只有两个线程并行执行。并非所有6个线程得到执行。有什么可以可能是导致此?有没有超过2个线程不能并行创建任何限制?是否有任何配置,我可以改变这个?
We are using 6 iFrames on our page. They fetch data from couple of external web services and an internal WCF service and display the data. There is a separate aspx page built for each of the iFrames. From our perf monitoring we found out that at any point only two threads are executing in parallel. Not all 6 threads get executed. What can probably be cause for this? Is there any restriction that more than 2 threads can't be created in parallel? Is there any configuration where I can change this?
推荐答案
这是 IE6
和 IE7
的真。无关的DNS。为了模拟这一点,在IE浏览器同时运行三个以上的下载,你会发现只有两个在执行一次,其余的将等待。不同的情况下使用Firefox,我相信这是6 - 值得检查
This is true of IE6
and IE7
. Nothing to do with DNS. To simulate this, run three or more downloads simultaneously in IE and you will find that only two at a time are executed, the rest will wait. Different case with Firefox, which I believe is 6 - worth checking.
这篇关于iFrame中并行不执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!