locked
Optimum app-pool settings RRS feed

  • Question

  • Hi All,

    In a production SP2010 environment, what are the best settings re IIS7 app-pools? Should each app pool use its own domain account or network service, etc?


    Thanks

    Thursday, March 8, 2012 4:50 PM

Answers

  • The app pool will use a domain user account that has been registered with SharePoint as a managed account. Whether you use one for all, each it's own or a combination depends on your security needs.

    Imagine what we could be...if we could just imagine. | Daniel A. Galant | Sr. SharePoint Solutions Architect EPC Group.net

    Thursday, March 8, 2012 5:28 PM
  • Now there's a question.

    It depends!

    For SharePoint web application content, if you have more than 10 application pools on the same server (see here: http://technet.microsoft.com/en-us/library/cc262787.aspx), you are outside support. You have a choice between sharing application pools between several web applications for performance, or having some *specific* web apps in their own pool. Each time you do this it uses more CPU and RAM resources. However, a separate app pool may make my web app less vulnerable to other web apps crashing on the same server. Generally, I only have separate application pools for web apps when I have a specific security or stability requirement; e.g. my Corporate Published Intranet web app should be separate from the My Sites and Team Sites self-service-site-provisioning ones.

    In general, you should have as few as you can, but as many as you need.

    This limitation is not defined for service application app pools.

    Re: account types: Application pools should definitely use domain accounts. Network service and local machine accounts are only supported for single-server use.

    Also, don't use web gardens in app pools. It breaks things.

    Hope this helps!


    joel
    Joel's SharePoint Architect Blog
    joelblogs.co.uk
    Want SharePoint Training?


    Thursday, March 8, 2012 5:32 PM
  • 10 Application Pools is not a support limit, with support being that PSS won't support you if you call.  10 Application Pools is a recommended maximum, but can easily be exceeded based on installed physical memory (by "Supported" it means "configurable limits that have been set by default to a tested value").

    We split application pools up for Web Apps based on the solutions deployed to those Web Apps.  If we can deploy a Web-scoped solution to a particular Web Application, we'll isolate it so during the deployment, it does not interrupt service for other Web Applications.


    http://sharepoint.nauplius.net

    Thursday, March 8, 2012 6:59 PM

All replies

  • The app pool will use a domain user account that has been registered with SharePoint as a managed account. Whether you use one for all, each it's own or a combination depends on your security needs.

    Imagine what we could be...if we could just imagine. | Daniel A. Galant | Sr. SharePoint Solutions Architect EPC Group.net

    Thursday, March 8, 2012 5:28 PM
  • Now there's a question.

    It depends!

    For SharePoint web application content, if you have more than 10 application pools on the same server (see here: http://technet.microsoft.com/en-us/library/cc262787.aspx), you are outside support. You have a choice between sharing application pools between several web applications for performance, or having some *specific* web apps in their own pool. Each time you do this it uses more CPU and RAM resources. However, a separate app pool may make my web app less vulnerable to other web apps crashing on the same server. Generally, I only have separate application pools for web apps when I have a specific security or stability requirement; e.g. my Corporate Published Intranet web app should be separate from the My Sites and Team Sites self-service-site-provisioning ones.

    In general, you should have as few as you can, but as many as you need.

    This limitation is not defined for service application app pools.

    Re: account types: Application pools should definitely use domain accounts. Network service and local machine accounts are only supported for single-server use.

    Also, don't use web gardens in app pools. It breaks things.

    Hope this helps!


    joel
    Joel's SharePoint Architect Blog
    joelblogs.co.uk
    Want SharePoint Training?


    Thursday, March 8, 2012 5:32 PM
  • 10 Application Pools is not a support limit, with support being that PSS won't support you if you call.  10 Application Pools is a recommended maximum, but can easily be exceeded based on installed physical memory (by "Supported" it means "configurable limits that have been set by default to a tested value").

    We split application pools up for Web Apps based on the solutions deployed to those Web Apps.  If we can deploy a Web-scoped solution to a particular Web Application, we'll isolate it so during the deployment, it does not interrupt service for other Web Applications.


    http://sharepoint.nauplius.net

    Thursday, March 8, 2012 6:59 PM