Application pool and w3wp.exe Process

Source: Internet
Author: User

ApplicationProgramIng between the pool and the w3wp.exe process [go]

C # 01:29:07 Read 203 comment 0 font size: large medium small subscription

For IIS6 and iis7, each application pool creates a w3wp.exe process. However, not all cases are an application pool corresponding to a w3wp.exe process. Web garden, or when some exceptions occur, an application pool will correspond to multiple w3wp.exe processes.

 

Web garden indicates that an application can be executed in multiple processes (w3wp.exe) and one of them can be used in one request. This is mainly used to improve the availability of the program. When an error occurs in one of the processes, other processes will not be affected. A process with an error can be disabled according to the rule, while other processes can continue to work.

Note: Generally, programs that use inproc httpsessionstate/httpapplicationstate/static variables to store key information do not support web garden.

 

Because the application pool will be recycled regularly when there is no request, or when an error occurs, a w3wp.exe process is automatically re-established. If the Web garden is not configured, an application pool corresponds to multiple w3wp.exe processes.ArticleThe http://www.eggheadcafe.com/forumarchives/inetserveriis/Feb2006/post25881024.asp mentioned in.

Run the following command to view the w3wp.exe process corresponding to an application pool in IIS 6 (win2003:

C: \ windows \ system32> cscript iisapp. vbs
Microsoft (r) Windows Script Host version 5.6
Copyright (c) Microsoft Corporation 1996-2001. All rights reserved.
W3wp.exe PID: 1172 apppoolid: stsadminapppool
W3wp.exe PID: 2656 apppoolid: ms1_pointapppool
W3wp.exe PID: 2148 apppoolid: WMS app pool
W3wp.exe PID: 3604 apppoolid: defaultwebsite

See this blog: http://blogs.msdn.com/jb/archive/2006/02/22/536693.aspx

 

In IIS 7, the command is as follows. The output result is similar to the following:

C: \ windows \ system32> % WINDIR %/system32/inetsrv/appcmd list WP
WP 5716 (applicationpool: defaappapppool)
WP "968" (applicationpool: mytherapppool)
WP 5836 (applicationpool: thethirdapppool)

See: http://dirk.net/2008/06/01/identify-which-w3wpexe-belongs-to-which-application-pool-in-iis7/

 

References:

Find the "application pool" corresponding to the "w3wp.exe process"
Http://www.cnblogs.com/windpole/archive/2007/11/19/964819.html

Which w3wp.exe process belongs to which app pool in IIS6
Http://weblogs.asp.net/owscott/archive/2004/09/21/Which-w3wp.exe-process-belongs-to-which-App-Pool-in-IIS6.aspx

What application pool does this w3wp. EXE belong?
Http://blogs.msdn.com/jb/archive/2006/02/22/536693.aspx

New in IIS 7-app pool isolation
Http://adopenstatic.com/cs/blogs/ken/archive/2008/01/29/15759.aspx

A bit about w3wp.exe!
Http://www.cnblogs.com/hjh1982/archive/2006/06/28/438032.html

About web garden and web farms
Http://www.cnblogs.com/huashanlin/archive/2007/07/30/836652.html

Does your program support IIS6-web garden?
Http://blog.joycode.com/lostinet/archive/2005/02/02/44017.aspx

Web farm and web Garden
Http://www.cnblogs.com/kingclever/archive/2007/12/13/993152.html

Identify which w3wp.exe belongs to which application pool in iis7
Http://dirk.net/2008/06/01/identify-which-w3wpexe-belongs-to-which-application-pool-in-iis7/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.