开发者

AJAX caused IIS dead?

开发者 https://www.devze.com 2023-02-11 01:28 出处:网络
I use ajax (jQuery) dynamic load another 7 to 8 pages into my home page, similar to igoogle, when refresh several times or more people visit, the following issues came out:

I use ajax (jQuery) dynamic load another 7 to 8 pages into my home page, similar to igoogle, when refresh several times or more people visit, the following issues came out:

HTTP 403.9 - Access Forbidden: Too many users are connected Internet Information Services

then IIS dead, c开发者_StackOverflow社区an not access. I suspect that is because AJAX asynchronous request to create too many connections, leading to IIS can not handle.

Configuration:

XP IIS 5 NET 4

Access the database using LINQ to SQL.


Here's an article that details the limit: http://weblogs.asp.net/cazzu/archive/2003/10/10/31476.aspx

Defaults to 10 connections, can be configured upwards to a max of 40.


Unless you are developing locally, you should not be hosting any website on Win XP IIS instance.

IIS on Windows XP is not the same as IIS on Windows Server, you will continue to have problems.

Regardless of what you do, you will continue to have problems until you use the appropriate platform, there are many excellent (and free) choices available to you these days.


Turn off keep alives on your web site.

IIS 5 has a limit on number of requests it can process at the same time. Production websites should be hosted on Server version of Windows, not XP.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号