什么时候 IIS7 的负载过多? [英] When is load for IIS7 too much?

查看:27
本文介绍了什么时候 IIS7 的负载过多?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的客户处,考生使用我们的软件进行测试.如果他们的测试完成,一些计算就会在服务器上完成.现在,有时 200 名考生可以同时结束他们的测试,因此 200 次计算是并发完成的.计算似乎一切顺利,但对 IIS7 服务器的某些调用会返回 http 错误...

At a customer of ours, candidates take tests with our software. If their test is finished, some calculations are done on the server. Now, sometimes, 200 candidates can end their test at the same time, so 200 calculations are done concurrent. The calculations all seem to go fine, but some calls to the IIS7 server get back a http error...

在 Flex 中,这是错误:

In Flex, this is the error:

code = "NetConnection.Call.Failed"
description = "HTTP: Status 200"
details = "http://servername/weborb.aspx"
level = "error"

状态 200 不是正常吗?那么这里有什么问题呢?它甚至是IIS7问题吗?在 200 名候选人中,有 20 人收到了这条消息.重新开始测试时,一切正常.

Isn't Status 200 OK? So what's wrong here? Is it even a IIS7 problem? Of the 200 candidates 20 got this message. When restarting their test, everything worked well.

我发现了这个 关于这个主题,但我想知道这是否与我的问题有关(下周我们的客户将进行一些压力测试,我已经要求他们测试本文中的解决方案是否有效).

I have found this on the subject, but I wonder if this has anything to do with my problem (next week our customer will do some stresstests and I'll already asked them to test test if solution in this post works).

一些问题:

  • 会不会是 IIS7 在负载过大的情况下会阻止某些 http 调用?
  • 您怎么知道 IIS7 因负载过多而阻止了这些调用?
  • 是否可以配置这些东西?

从技术上讲,将来我想对计算进行排队,但目前没有时间和预算.

Technically, in the future I would like to queue the calculations, but for now, there isn't time nor budget for that.

应用程序:Flex、WebORB、ASP.NET、IIS7 和 SQLSERVER2008.服务器为 Windows Server 2008.

Application: Flex, WebORB, ASP.NET, IIS7 en SQLSERVER2008. Server is Windows Server 2008.

推荐答案

这个问题我觉得很熟悉.我们有一堆 flex 小部件,它们连接到一个服务器端,有时它也会返回Netconnection.Call.Failed".对我们来说,似乎IIS(和后面的MSSql)无法及时处理所有请求,因此其中一些请求超时.尝试检查每个请求/所有请求花费的时间,然后检查您的超时设置.

This problem seems very familiar to me. We have a bunch of flex widgets which are connected to one server-side and sometimes it also returns "Netconnection.Call.Failed". For us, it seems that the IIS(and MSSql behind) cannot process all the requests in time, hence some of them are timed out. Try to check how much time each request/all requests take, then check your timeout setting.

这篇关于什么时候 IIS7 的负载过多?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆