Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can I configure the number of worker process, that I need an application pool should use?

share|improve this question

Yes. The maximum number of worker processes serving an application pool is defined in the application pool processModel section. The attribute is called maxProcesses.

You can set this attribute with the IIS Manager:

  • Right-click the application pool you want to configure
  • Select Advanced Settings
  • Increase the Maximum Worker Processes count
  • share|improve this answer
    Thanks Mathias, Can I also configure the resources a worker process should be allowed to use. – Vaibhav Jain Feb 7 '12 at 11:22
    The process owner is always the Application Pool's Identity, eg. an ApplicationPoolIdentity or NETWORK SERVICE. Whatever resources this user/security principal has access too, the process has – Mathias R. Jessen Feb 7 '12 at 16:50

    Yes, it's called a "Web Garden" in IIS parlance. However you should be aware that if you're using "in process" session management (Classic ASP or ASP.NET) then session state will not be shared between these processes.

    If you use Session in any way shape or form you may need to re-architect your application to use an out of process session store or change your configuration.

    With ASP.NET you can configure Session state management to use a number of different Session State mechanisms:

    sessionState Element (ASP.NET Settings Schema)

    You can even provide your own custom provider in addition to the built in session stores.

    With Classic ASP you're kinda stuck with in-process session or you'll need to knock up your own.

    CGI environments typically don't need multiple worker processes because the requests are handed off to the requisite CGI exe. Also CGI based scripting languages such as PHP and Perl tend to store their Session data out of process by default due to the nature of CGI.

    share|improve this answer

    Your Answer


    By posting your answer, you agree to the privacy policy and terms of service.

    Not the answer you're looking for? Browse other questions tagged or ask your own question.