Find the "application pool" corresponding to the "w3wp.exe process"

Source: Internet
Author: User
In the system iis6, the memory usage of w3wp.exe is often found to be insufficient to be released in time and the CPU usage remains high, resulting in slow server response. How can we find out which site has a problem?

First, create an application for each site Program Pool to find out which site the problem is located!

The next step is simple.

1. Add the PID field to the task manager. You can see the process PID with the highest memory usage or CPU usage!

2. Run iisapp-A at the command prompt. Note: during the first running, the system will prompt "this script cannot work with wscript". Click "OK". A dialog box will pop up, in English, prompting you to install a script, forget, it doesn't matter. Just click OK. Then run iisapp-A again. In this way, you can see the name of the application pool corresponding to the PID!

3. Check the website corresponding to the application pool in IIS! Then, the website will be troubleshooting!
(By the way, if a prompt such as error-no results appears after running, it means that your site has not been enabled or has not been accessed !)


The following describes the iisapp syntax in detail!
Syntax
Iisapp [A/apppoolname |/P apppoolid]

Parameters
/A apppoolname

Specifies the name of a specific application pool. (Optional)

/P apppoolid

Specify the application pool by ID. (Optional)

note
• If the application pool name or ID is not specified, iisapp lists all running applications.
• The/U and/p command line options are available only when/s is used. You must use both/P and/u to provide the user password.
• iisext. vbs performs the same operations available in the IIS manager. You can use any tool to manage IIS websites.
• the computer that sends the command must be running Windows XP or Windows Server 2003. The user must be a member of the Administrators group on the computer affected by the command.
• The computer affected by the command must be a server running Windows Server 6.0 with Internet Information Service (IIS) 2003

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.