Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Memory Usage of Each Application Pool

I Use IIS 7.5 and I have Some ASP.NET sites and Some Web Services in different Application pools. In current days the Memory of server is in high usage, So how I know each application pool used memory? Is there any way? any suggestion?

like image 651
Saeid Alizade Avatar asked Sep 07 '13 07:09

Saeid Alizade


People also ask

How much memory does an application pool use?

Therefore, if this application attempts to occupy more than 250 MB RAM, the application pool will get automatically recycled. Additionally, a website with 250 MB of private memory only takes 100 MB while running; its 150 MB memory can be utilized to serve other websites.

How do you increase memory on app pool?

You can increase this amount by opening the IIS manager (start->run->inetmgr), expanding the server node on the left pane, clicking on "Application Pools", right clicking on the application pool running your application, selecting "Advanced Settings", and changing the Private Memory Limit and Virtual Memory Limit in ...

How do I limit the application pool memory in IIS?

To do so, click Application Pools on the left tree menu and click the Set Application Pool Defaults on the right in the Actions menu. Scroll down to Recycling and in the Private Memory Limit (KB) type in the desired memory limit in KB.


2 Answers

  • Go to IIS Manager
  • Click on the name of your server in the Connections pane
  • Under the IIS section in the Features View, double-click the Worker Processes icon

Here you can see both the private bytes and virtual bytes usage of each running application pool.

IIS snapshot

More information can be found here: http://technet.microsoft.com/en-us/library/cc771273(v=ws.10).aspx

like image 76
ngm Avatar answered Sep 22 '22 03:09

ngm


Each app pool will be in its own w3wp.exe process.

Open task manager, then go to Details tab. Right-click on the columns, select "Select columns". (On some versions of Windows it is in them menu: View -> Select Columns). Make sure "Command line" is selected.

Then sort by name, and look at your w3wp.exe instances, and compare memory usage. You can tell which app pool each one uses because the name will show up in the command line.

like image 40
FarmerBob Avatar answered Sep 24 '22 03:09

FarmerBob