Home > Windows Server Tips > Web Management > Why ISAPI/CGI applications in IIS 6.0 might perform poorly
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WEB MANAGEMENT

Why ISAPI/CGI applications in IIS 6.0 might perform poorly


Serdar Yegulalp, Contributor
06.21.2006
Rating: --- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


When migrating Web applications to Windows Server 2003, people might encounter a stumbling block that only affects ISAPI/CGI applications. On many systems, CGI (COmon Gateway Interface) applications respond so slowly to server requests that users may suspect a network issue. (Note: This includes only ISAPI/CGI applications, which are basically precompiled Web services, and not ASP or ASP.NET programs.)

The problem actually is a network issue. . .sort of. In IIS 6.0, the default buffer size allocated to CGI applications is now only 8,192 bytes. The smaller buffer size means that the kernel-level HTTP protocol stack (HTTP.SYS) may break the responses into packets that don't use the full network segment size. This results in greater latency and slower responses, especially when serving a great many connections at once. The same applications should behave fine as-is in IIS 5.0.

Note: In a LAN, this problem won't be as noticeable, since the p


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Microsoft Internet Information Services (IIS)
Internet Information Services (IIS) sees big changes in Windows Server 2008
How to keep IIS logs from filling up your server hard drives
A first look at Internet Information Services 7.0
Free security tools that can improve IIS security
New IIS 7 security adds value to Windows Server 2008
How can I prevent Internet access with Windows SBS?
When and how to use worker process recycling with IIS
Windows Process Activation Service in IIS 7.0
How to use Microsoft's IIS Diagnostics Toolkit
How to install the Microsoft IIS Diagnostics Toolkit

Microsoft Windows Server 2003 Administration
How to install Windows Server 2003 patches when offline
Validating Windows server clusters with ClusPrep
Exploring the Windows Server 2003 Resource Kit: Clusfileport.dll
Exploring the Windows Server 2003 Resource Kit: Cmdhere.inf and CMGetCer.inf
Windows server security management: Security expert roundup
Windows server management with Remote Desktop
Avoid DC restoration problems with authoritative restore
Exploring the Windows Server 2003 Resource Kit: Confdisk.exe
Exploring the Windows Server 2003 Resource Kit: Compress.exe and Expand.exe
Exploring the Windows Server 2003 Resource Kit: Clusterrecovery.exe
Microsoft Windows Server 2003 Administration Research

Web Management
Internet Information Services (IIS) sees big changes in Windows Server 2008
How to keep IIS logs from filling up your server hard drives
A first look at Internet Information Services 7.0
When and how to use worker process recycling with IIS
Fix app problems stemming from Firefox as default browser
Control users' Internet access
Raise Web server performance in Windows Server 2003
Remotely administer IIS with HTML tool
INDEX.DAT tool helps admins see what users browsed in IE
Improving Internet browsing performance

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
IIS  (SearchWindowsServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


roblem doesn't manifest until WAN-style latencies come into play. Therefore, if you do a local test for the slowdown effect, it may not manifest itself.

There is a workaround for this issue, but it requires that Windows Server 2003 Service Pack 1 be installed. If that's the case, then you can change the buffer size for CGI applications by adding a value to the Registry. In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters, create a new DWORD value named MaxBufferedSendBytes and set it to 65536 (decimal). After you make this change, you'll need to stop and restart IIS; you can do that from the command line with the IISRESET /RESTART command.


Serdar Yegulalp is editor of The Windows Power Users Newsletter. Check it out for the latest advice and musings on the world of Windows network administrators -- and please share your thoughts as well!

More information from SearchWinSystems.com

Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts