Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have had a request come through to increase the pool size in IIS which I assume to be the application pool size.

I have attempted to search for more information regarding what the pool size is, what it does, its importance as well as caveats in increasing its size.

Am unsure where to find it in IIS 7 and 7.5 as well as what the default size is.

Does changing the pool size also affect web gardens?

share|improve this question

migrated from superuser.com Jul 5 '12 at 22:32

This question came from our site for computer enthusiasts and power users.

    
Do you have more context on this request? I wonder if they mean the memory limit? –  Shane Madden Jul 6 '12 at 1:24
    
It's a number of workers. By default, there is 1 worker. On each worker, you can setup CPU affinity mask. –  Andrew Smith Jul 6 '12 at 9:43
    
@Shane Madden - Sorry I don't and no it is not concerning memory. –  PeanutsMonkey Jul 8 '12 at 17:43
    
@Andrew Smith - What do you mean by CPU affinity mask? What refers to the number of workers? –  PeanutsMonkey Jul 8 '12 at 17:43
    
@PeanutsMonkey You should probably get some clarification on the request, then. There are a dozen different things they could mean. –  Shane Madden Jul 8 '12 at 18:33
show 4 more comments

1 Answer

up vote 1 down vote accepted

As noted in the comments, the question is ambiguous.

There is a Private Memory Limit (KB), which defines how large an application pool can grow in system RAM before it gets automatically recycled. For example, when you open Task Manager (taskmgr.exe), you'll see an instance of w3wp.exe running for each application pool. Add the Working Set column. I believe that corresponds to the Private Memory Limit setting.

There is a CPU Limit which dictates how much CPU an application pool is permitted to consume over a period of time. Its default is zero, meaning no limit.

There is a Queue Length setting which dictates how many simultaneous requests can be serviced before the server starts returning 503s. The default is 1000.

There is an Idle timeout, which defaults to 20 minutes. After 20 minutes of inactivity, the application pool stops. I always turn that off, as it takes time for the first request to process from an inactive application pool.

There is an ability to schedule a recycle at regular intervals or at one or more specific times. Perhaps an untimely recycle is interfering with a long-running operation, and the customer is having requests be canceled as a result.

Those are all of the usual suspects I can think of.

share|improve this answer
    
Thanks. When you say AppPool I take it you mean application pool. In the first example of private memory limit, what do you mean by it defines how large an application pool can be? Secondly, what does the value zero mean when set on the CPU Limit? If the queue length is 1000, does it mean only 1000 concurrent simultaneous requests can be made at any given time? How does this affect the number of worker process? –  PeanutsMonkey Jul 10 '12 at 19:50
    
I've updated my response to eliminate some of the ambiguities you called out. –  Larry Silverman Jul 10 '12 at 20:49
    
The queue length does not affect the number of worker processes. They are independent. You might see this SO answer regarding how many worker processes you need. –  Larry Silverman Jul 10 '12 at 20:51
    
By definition, the queue length dictates how many requests will be queued for processing, not the number of requests that can be processed simultaneously. See Managing, Tuning, and Configuring Application Pools in IIS 7.0. –  Larry Silverman Jul 10 '12 at 20:53
add comment

Your Answer

 
discard

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.