473,406 Members | 2,281 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

IIS6/worker processes/performance counters

Hi...

We're looking at moving an ASP app from IIS 5 to IIS 6. In general things
seem to be working okay, but there are some oddities around the edges. One
of those unanticipated changes has to do with the new process model and the
option to have more than one worker process per web instance.

We found that each worker process has its own Application() state and
anything your app puts there/uses gets a new copy for every worker process.
So depending on how much initialization your app does in Appication() that
expense could get paid over and over as IIS 6 cycles worker processes based
on idleness, load, memory use, etc.

The facet I still have a question about is performance counters. When you
have multiple worker processes for a web instance, are the usual performance
counters like Active Server Pages/Requests Total, Requests Queued, etc
aggregated across worker processes? How are they impacted by worker process
cycling? How about custom performance counters? I assume we'd probably have
to take extra effort to aggregate custom pcounters across worker processes -
is that right?

Are there any faqs on the new IIS 6 process model and/or implementing custom
pcounters for them?

Thanks
_mark

Jul 22 '05 #1
2 4877
Hi Mark,

AS I know, the usual performance counters, like Active Server
Pages/Requests Total, are counted across all worker processes, and will be
cleared/changed while worker process cycling. As for how to develop a
customized performance counter on IIS 6, I suggest you may post the
question on IIS development related group and you may be lucky enough to
find a person there who can answer your question.

Luke

Jul 22 '05 #2
Hi Luke...

Thanks for answering. This may be a nitpick, but ASP/Request Total I assume
would not be cleared by cycling worker processes, would it? I mean, if you
have a max of 4 or 5 processes, some are likely to be spun up or shut down
at various points but I'm assuming the following would hold:
1) you'd never go below 1 worker process

2) the total count would be in some shared memory location that would
persist and move upward, even if worker process #2 shuts down.

I guess Request Total isn't necessarily the most tricky example of how perf
counters change in the new process model. But then, maybe I'm just being
myopic. In the old IIS model, Low or Medium isolation made the concept of
ASP perf counters pretty straightforward, but High isolation would have
similar issues to the IIS 6 process model. Figuring out what each perf
counter means in a High isolation context is probably similar to IIS 6 and
the worker processes.

Thanks
_mark
"[MSFT]" wrote:
Hi Mark,

AS I know, the usual performance counters, like Active Server
Pages/Requests Total, are counted across all worker processes, and will be
cleared/changed while worker process cycling. As for how to develop a
customized performance counter on IIS 6, I suggest you may post the
question on IIS development related group and you may be lucky enough to
find a person there who can answer your question.

Luke

Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: grw | last post by:
Im trying to find why my hosted server won't maintain session state. Its not a web farm (not load balanced), its all the same server An application requires a session to be set and then recalled...
7
by: Adam Short | last post by:
I'm having all sorts of problems with Sessions, I've been using them for years with out a hitch, all of a sudden the last 6 - 12 months since getting our new Win2003 server it's all gone shakey!!!...
15
by: Dirk Reske | last post by:
Hello, why doesn't this code work correctly? private int GetCpuUsage(Process proc) { DateTime time1,time2; TimeSpan timediff; double cpu1,cpu2,cpudiff;
9
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
4
by: scott | last post by:
Hi, I have a aspx (.net) application running on IIS6 pulling data from SQL2000 using XML. The session keeps timing out after a minute and im forced to login again. I have set the following...
1
by: Dominic | last post by:
I'd like to tune the performance of my application in a web garden. Our server has dual processors. Is there any guideline to set this "maximum number of worker processes" for web garden? In my...
0
by: domtam | last post by:
Hi everybody, As far as I understand, each worker process in a web garden (say, in IIS 6.0) has its own copy of Cache objects, static objects and Application(state) objects. In other words, they...
0
by: JamesS | last post by:
Hi all... I am currently running some performance tests on some ASP.NET Web Services. The test is being run on a dual proc machine and we are capturing a number of performance counters in...
1
by: nicerun | last post by:
I'm using the Application_Start event at Global.asax.cs to invoke thread that do some job. I know that Application_Start event occurs when the very first request to Web Application received. -...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.