Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3999374
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:38:56+00:00 2026-05-20T07:38:56+00:00

I have a ASP.NET web application running on an IIS6 server. The application is

  • 0

I have a ASP.NET web application running on an IIS6 server. The application is making potentially long running calls to a xml service on a remote machine. Some of the service calls on the remote machine are taking a long time to execute (sometimes up to 4 minutes). The long term solution would be to make the calls asyncronous, but as a short term solution we want to increase the timeout for the calls and the overall httpRequest time out.

My fear with this is that the long running calls will fill up the request queue and prevent the “normal” page requests from completing. How can the server, IIS and application settings be tuned to temporarely resolve the issue?

Currently there are approximately 200 page requests/minute and this results in 270 service requests/minute.

  • The current executionTimeout is 360 (6 minutes)
  • The current service call time out is 2 minutes
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T07:38:57+00:00Added an answer on May 20, 2026 at 7:38 am

    There’s this article on Microsoft’s Knowledgebase that has some pretty much all the information you might need:

    * Contention, poor performance, and deadlocks when you make Web service requests from ASP.NET applications


    I will give you some research I have done regarding some of the specific items handled in the article above. This information below applies to IIS6, comments for IIS7 where applicable.

    Increase the Processor Worker Thread pool from 25 to at least 100

    The default values for the Threadpool size is 100 because the default value for autoConfig is true.

    The values covered by autoConfig is

    • maxWorkerThreads
    • maxIoThreads
    • maxConnection

    There is one value that is still 25 that must change is – ASPProcessorThreadMax, this can only be set in the IIS metabase (via adsutil tool) in IIS6. [IIS7’s equivalent is the processorThreadMax value]

    So I’m opting not to change the machine.config settings as they are fine and there are other paramaters that would be affected by turning off autoconfig, but rather change ASPProcessorThreadMax from 25 to 100 via the IIS metabase (the only way to change this value).

    e.g.

    cscript %SYSTEMDRIVE%\Inetpub\AdminScripts\<nowiki>adsutil.vb</nowiki>s SET W3SVC/AspRequestQueueMax 100
    

    Max connections per server

    maxconnection
    The autoconfig sets this value to 12*number of cpu’s, that’s how many connections can be made to each address you are connecting to at one time.

    Debugging

    Here are some things you can do:

    Monitor if requests are waiting in the queue

    Monitor the following counter:

    • Run perfmon
    • Add counter:    ASP.NET Applications/Requests In Application Queue

    This will show us if work items are queued because of a shortage of workers.

    Check Identity Used by Application Pool

    1. Open IIS Manager
    2. Check which application pool is used by your site in IIS manager.
    3. Choose the Application pool being used in the Application Pools list, then Right Click -> properties and see what account identity is being used.
    4. It should be Network Service by default.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a ASP.Net 2.0 web application up and running with the server in
I have an ASP.NET application running on multiple IIS6 web servers, with a SQL
I have a web application developed with ASP.net and C# that is running on
I have an ASP.NET 4.0 MVC web application running on IIS 6.0 with a
We have a ASP.Net web application running in Visual Studio 2010 that is targeting
I have a asp.net web application which has a number of versions deployed on
I have an ASP.NET web application which does the following: Reads an Excel file.
We have an intranet asp.net web application which uses the OOTB ASP.net membership and
Suppose you have two seperate ASP.NET Web Application projects that both need to use
I have a really simple ASP.NET web application and a web setup project that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.