Me he encontrado varias veces en mi plataforma de desarrollo web: Windows XP y IIS 5.1, con el siguiente error:
HTTP 403.9 - Access Forbidden: Too many users are connected to Internet Information Services
Esto es debido a que en Windows 2000, XP y Vista, se limita el número de conexiones al servidor web a 10.
El problema es que cuando se esta desarrollando, es necesario probar y abrir varias páginas y/o varios navegadores, como por ejemplo IE y Firefox, Safari, Opera, etc... y es común sobre todo cuando hay errores en la página, que se hagan muchas peticiones al servidor y que nos encontremos con este error, lo cual solo tiene 2 soluciones:
- Esperar 5 minutos
- Terminar el proceso ISS con el administrador de tareas.
SOLUCION
OPCION 1
En el simbolo del sistema ejecutar:
cd \inetpub\adminscripts
cscript adsutil.vbs set w3svc/MaxConnections 40
iisreset
Donde 40 son las conexiones que se quieren.
Dicen que el límite se puede subir máximo a 40 conexiones según un experto en IIS de Microsoft:
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.
OPCION 2
- Descargar el plugin administrativo MetaEdit de Microsoft : http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B301386
- Instalar la aplicación (Viene con archivos viejos los cuales hay que decir que salte (no instale))
- Ir a Herramientas Administrativas en el Control Panel y ejecutar MetaEdit 2.2
-
Navegar hasta la llave LM / W3WSVC / MaxConnections
- Cambiar el valor de 10 hasta el número que desee. Por ejemplo: 100000 (cien mil)
Esto funciona y esta probado en:
- Microsoft Internet Information Server 5.1 en Windows XP Professional
- Microsoft Internet Information Server 4.0, cuando es usado con:
Microsoft Windows NT 4.0
Microsoft Windows 2000 Standard Edition
- Microsoft Internet Information Services 5.0, cuando es usado con:
Microsoft Windows NT 4.0
Microsoft Windows 2000 Standard Edition