Figure 5. IIS window

Application pool allows you to isolate your applications from one another in case if they are running on the same server. According to this, if there are errors in one application, they will not influence other web applications executing on the same server or the IIS server itself. But if your w3wp process has 100% CPU load, you must immediately find which process matches your application pool.

If you open Task Manager, you can see PID in Processes tab. But it's not enough to get which application pool it matches.

Task Manager

Task Manager

For IIS7 and older you can find application pool name with AppCmd.

You can use it in console.

Open "cmd" or "powershell" and go to "%windir%\system32\inetsrv" (usually it is "c:\Windows\System32\inetsrv") and enter "appcmd list wp".

The result of this tool is a list of application pools with PID and name.

AppCmd

AppCmd