Question : IIS Windows Server 2008 Application  Pools

I have over 200+ ecommerce shopping sites and all sites use the same scripts via a virtual directory. Each site has its own application pool.

However because each site uses its own application pool, the server memory utilisation sites around 6 GB out of 8GB

Does each site need to have its own application pool or can assigned 1 application pool to ten sites.

Whats the best practice, had a look around but cant find nothing straight forward


Kind Regards,

Jon Hood

Answer : IIS Windows Server 2008 Application  Pools

Agree that best practice is to put each site in its own app pool.  Grouping them together wont save you much as far as memory consumption, and will lead to larger risks down the line.

Things you can do to help is make sure that your app pools are set to recycle nightly.  I configure all of mine to recycle at 1:00 AM, instead of the default of every 1740 mins (29 hours) since that will cause them to recycle during the day at some point.  Another thing you can implement if memory is a concern is to have them recycle based on reaching a certain memory limit.  Usually the problems with worker processes centers around virtual memory, so for my high transaction apps I have them set to recycle at around 1400 MB, or 1.4 GB.  Here's an example of that configuration:

 
App Pool recycle settings
App Pool recycle settings
 
Random Solutions  
 
programming4us programming4us