Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6888929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:05:26+00:00 2026-05-27T06:05:26+00:00

I am creating performance counters for the running websites on windows 2008 and IIS

  • 0

I am creating performance counters for the running websites on windows 2008 and IIS 7, so the processes are on the form of (i.e. W3WP for the first application pool, W3WP#1 for the second application pool, W3WP#2 for the third application pool, etc.)

The question is: What will happen if the application pools were recycled, or the machine was restarted? Will the same processes instances be mapped to the same app pools or they will change? (i.e. will w3wp be assigned to the first application pool, w3wp#1 for the second pool, w3wp#2 for the third application pool, etc.)

And, if the pool-process association will change, how can we keep monitoring the same application pool without having to reconfigure the performance counters every time the system recycles?

To clarify:
The performance counters I am referring to are not the ASP.Net counters, these have the app pool name associated with the counter.

Here, I am referring to counters like the “Process”, and .Net framework counters such as the “.Net CLR Memory” and “.Net CLR Exception” counters, these don’t use the app pool, they use the process name, here is an example “\Process(w3wp)\Thread Count” is a performance counter that tells the # of threads in the process w3wp. This process is the worker process for one of the app pools. “\Process(w3wp#1)\Thread Count” does the same but for the worker process of another pool.

The question is: if the pools recycle or the machine recycles, will w3wp and w3wp#1 represent the same pools or not, and if not, how can we guarantee that we continue monitoring the pools that we want without the need to reconfigure the performance counters?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:05:27+00:00Added an answer on May 27, 2026 at 6:05 am

    The process counters (which have nothing at all to do with ASP.NET, BTW) naturally only live for the lifetime of the process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anybody know of a method for creating custom Performance Counters using ordinary unmanaged
I am adding some performance counters to my c# project and am creating a
We have some unit tests which work with performance counters (specifically creating new categories)
I am creating and setting up the performance counters correctly but when I delete
I am creating an application that tracks some specific performance-related statistics from SQL Server
I am creating an application which generates statistical information for a pupil's performance over
I have a IIS server running on Windows Server 2003. The server hosts multiple
I'm creating a performance-critical application that implements image manipulation. I'm using some pixel pointers
I am creating some custom performance counters. I will be creating tasks on a
I am creating an application that will make heavy use of Ajax and performance

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.