IIS 6.0 Server Too Busy HTTP 503 Connection_Dropped DefaultAppPool

16,792

Solution 1

We run this reg file on all our high volume sites.

Windows Registry Editor Version 5.00


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"EnablePMTUDiscovery"=dword:00000001
"MaxUserPort"=dword:0000fffe
"TCPTimedWaitDelay"=dword:0000003c
"TCPMaxSendFree"=dword:0000ffff
"SynAttackProtect"=dword:00000001 

Note that server needs to be rebooted for these changes to take place.

See:

Solution 2

Most probably you need to up the number of ports permitted ( see http://technet.microsoft.com/en-us/library/cc758002.aspx )

This guy claims to have seen 50K+ concurrent connections from a single machine.

Share:
16,792
Shiraz Bhaiji
Author by

Shiraz Bhaiji

Architect / dev lead / .net programmer Manager at Evry http://www.evry.no/ Board Member Oslo Software Architecture http://www.meetup.com/Oslo-Software-Architecture/

Updated on June 04, 2022

Comments

  • Shiraz Bhaiji
    Shiraz Bhaiji almost 2 years

    We have a site which is running on a windows 2003 cluster with 2 64bit machines.

    The site needs to be able to cope with over 20,000 concurrent users

    One of the things that the site does is to allow the download of a 2MB file (which is cached in memory).

    We have low CPU and memory usage. We also have surplus bandwidth.

    It appears that we are running out of connections due the time it takes the user to download the file (some users have slow internet connections).

    In the IIS log we get HTTP 503 errors.

    In the HTTPErr log we get mainly Connection_Dropped DefaultAppPool with some Timer_EntityBody DefaultAppPool.

    Question is: How can we configure IIS to allow more connections? Or is there something that I am missing here?

    Thanks

    Shiraz