Increase IIS/WinXP connection limit (or how to avoid HTTP 403.9 error)
来源:互联网 发布:sybase12.5数据库下载 编辑:程序博客网 时间:2024/06/05 20:27
From that post (for my own reference, as it was down some days ago):
Alot of people were pinging me today about getting 403.9's when trying to access my website (Access Forbidden: Too many users are connected Internet Information Services).
It turns out that the IIS on Windows XP comes configured out of the box for a maximum of 10 HTTP connections. What's worse, IE (actually URLMON) seems to use up 2 connections when hitting a website. I tried figuring out how to raise the connection limit, but there didn't seem to be a documented way of doing this on a non-server version of Windows. Fortunately, my good friend Geoff is the Architect of IIS and was able to help me out. Here's his tip:This can be bumped up to 40 but not higher (40 is the hardcoded limit).
To do this, find the adsutil.vbs script (should be in c:\inetpub\AdminScripts or similar) and run the following command:
adsutil set w3svc/MaxConnections 40
You can also try to prevent individuals from hogging a bunch of connections and thereby blocking out other users. (IE will normally use 2 connections to a web site.) To do this, launch the IIS admin tool (under control panel / administrative tools), right click on your ‘default web site’ (under ‘web sites’ in the outline control), and mess with the settings in the “connections” part of the “web site” tab. Lowering the timeout (default is 5 min) will cause idle connections to get dropped quicker. Disabling keep alives will cause connections to disconnect immediately after the request is handled instead of waiting for new requests on the same connection. This is a little extreme but you probably don’t care that much about responsiveness, so you might want to just try that and see if it solves the problem.
Thanks Geoff! I hope I didn't cost the company too many W2K3 licenses by posting this :-)
原文地址:http://weblogs.asp.net/cazzu/archive/2003/10/10/31476.aspx
- Increase IIS/WinXP connection limit (or how to avoid HTTP 403.9 error)
- How to increase MySQL memory limit?
- Bind: Address Already in Use Or How to Avoid this Error when Closing TCP Connections
- How to Increase the Memory Limit for 32-bit Applications in Windows 64-bit OS
- How to avoid Conflict
- How to avoid the "enumeral mismatch" error in eikmenup.h
- How to avoid "java.security.InvalidKeyException:illegal Key Size" error
- How to resolve TNS:Connection closed error?
- How to detect HTTP connection break
- How to avoid "sudo minicom"
- How to Increase Your Professional Reputation
- Understand HTTP Server Connection Limit
- How to avoid the error "The file 'xyz.mdf' cannot be overwritten. when deploying
- How to create Http Connection using AsyncTask class?
- MYSQL How to Avoid Table Scans
- How to Avoid Use-Case Pitfalls
- How to Avoid Use-Case Pitfalls
- How to Avoid Use-Case Pitfalls
- JAVA接口的概念、分类及与抽象类的区别
- km
- static的用法
- 10个经典的Android开源应用项目
- iOS多任务:suspend VS terminate
- Increase IIS/WinXP connection limit (or how to avoid HTTP 403.9 error)
- 巨人隐退 史蒂夫·乔布斯经典语录回顾
- Learning Android 第1章 - 工欲善其事,必先利其器
- linux 下实用命令
- linux 下数据库的最简单备份方法
- xcode4 three20 记录
- Apache 2.0性能优化—MPM的选择与配置
- Android中JNI 的一些常用说明 JNI_OnLoad registerNatives registerNativeMethods
- 应该用什么类型的web service