question

rilleklofver-0694 avatar image
0 Votes"
rilleklofver-0694 asked SamWu-MSFT commented

Do defaultAppPool inheritance work whit private memory limit?

Hi everyone,

We have like 30 applicationpools on a windows 2012 R2 server and I want to limit the max private memory usage for each application. I did find out that I can set the private memory limit on them and I did try that on 1 of the application and that works.

But I want to manage all of them from DefaultAppPool, where i manage other stuff like recycling, and here I have my problem. When I update DefaultAppPool whit the limit the other apppools do not follow it and they can go way over that limit.
So then doesn’t the defaultAppPool inheritance work whit private memory limit? Or am I doing something wrong?

/Rille

windows-server-iis
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

You have to put them in separate application pools. If you want to recycle them altogether, write a PowerShell script to iterate all pools.

0 Votes 0 ·

@lextm I guess I must, but it would just be so much easier if I could update the settings from the defaultAppPool

0 Votes 0 ·

@rilleklofver-0694 According to your description, I couldn’t understand your requirement clearly. does your application correspond to these 30 applicationpools? As far as I know, each application pool is independent, except for some special cases, usually they will not affect other application pools, if so, it is impossible for you to manage these private memory usage for each application through DefaultAppPool.

0 Votes 0 ·

@SamWu-MSFT Lets say i have 30 different applicationpools running on my iis, and all of them have the setting “Enable 32-bit application” = “False” and then I change the value in defaultAppPool (https://docs.microsoft.com/en-us/iis/configuration/system.applicationhost/applicationpools/applicationpooldefaults/) to “True” then the 30 applications will have their setting changed. And this works whit everything else I have tried except for “Private memory limit”.

0 Votes 0 ·

@rilleklofver-0694 Try to set private memory of 0 KB, which means there is no limit. According to your server resources, you can run as many applications as you wish under the default application pool.

128978-capture.png


0 Votes 0 ·
capture.png (9.3 KiB)

0 Answers