How to increase MaxWorkerThreads for a single web app?

Discussion in 'Microsoft ASP .NET' started by Yash Ganthe, Jan 20, 2011.

  1. Yash Ganthe

    Yash Ganthe Guest


    The machine.config setting <processModel maxWorkerThreads controls
    the number of max worker threads in w3wp. Our ASP .NET 2.0 web service
    gets about 200 requests per second and a lot of them end up in the
    Request Queue in IIS as observed in perfmon. We are trying to increase
    the maxWorkerThreads so that the pending requests get processed.
    We do not want to set this in machine.config as it will impact every
    ASP .NET application.

    Is it possible to set it for a single web application?
    Web.config does not allow <processModel> tag.

    If I do this programmatically, will it cause all the applications in
    the web pool to take this new setting?
    Can I do this in Application_start of Global.asax?

    Yash Ganthe, Jan 20, 2011
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page