我测试了下,不管队列如何设(设大或设小),只有和只要超出最大并发连接数时,才(就)出现503
有了解原因的高手
------解决方案--------------------------------------------------------
参考:
http://ilewen.com/questions/6046
------解决方案--------------------------------------------------------
让Windows Server 2008 + IIS 7+ ASP.NET 支持10万个同时请求
------解决方案--------------------------------------------------------
让Windows Server 2008 + IIS 7+ ASP.NET 支持10万个同时请求
------解决方案--------------------------------------------------------
最大并发连接数与应用程序池的队列长度应该有关系吗?
最大并发连接数 是连接数
程序池的队列长度 是Request.
------解决方案--------------------------------------------------------
一个是并发数,一个是等待数。
等待数跟超时时间有关系,跟并发数关系不是很密切。
------解决方案--------------------------------------------------------
Queue是那个访问了还没处理完的数量
并发是同时进来的数量限制。
关系不是很大。
如果你每进来一个访问,就sleep住,这时候会增加Queue的数量的。
------解决方案--------------------------------------------------------
------解决方案--------------------------------------------------------
唉 你们说的俺都不懂 顶帖……
------解决方案--------------------------------------------------------
------解决方案--------------------------------------------------------
------解决方案--------------------------------------------------------
------解决方案--------------------------------------------------------
应用程序池队列长度调到最大,顶。
------解决方案--------------------------------------------------------
------解决方案--------------------------------------------------------
------解决方案--------------------------------------------------------
我觉得Queue和线程没有关系
这是帮助里对于Request queue limit的解释
Request queue limit
Select to configure IIS to monitor the number of requests for a designated application pool queue before queuing a new request.
Application pool queue length limits prevent large numbers of requests from queuing up and overloading your server. If adding the new request to the queue exceeds the capacity of the queue, the server rejects the request and sends a non-customizable 503-error response to the client.
假如如果有10个连接,每个连接得客户端不停的发request. 但是服务器处理request需要花点时间,服务器就会把处理不过来的request放到Queue里面。因此,如果发request的速度比处理request的速度快很多的话,即使Request queue limit很大也会发生503错误的。