473,783 Members | 2,269 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

w3wp.exe and high CPU Load

Hello there,

one of my servers is running windows 2003 and IIS 6.0. We have big
performance issues on that server and I found out that a high CPU usage
iniciated by w3wp.exe causes the problem. I couldn't find out what to do on
the server itself. I think it must be the application runnig on IIS. Could a
MVP please confirm that this is mostly something that i caused by an
application. So that I can give it back to our developers.

Thanks
--
tani
Sep 25 '07 #1
8 26779
w3wp.exe is the ASP.Net process, so if it is indeed using a lot of CPU, it
is the ASP.Net application that is causing it. However, this does not
necessarily indicate by itself that there is a problem with the ASP.Net
application. It is, of course, a service that may be serving many clients.
The only real measure is to check the CPU usage against the amount of
traffic being handled by the application.

--
HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"tani" <ta**@discussio ns.microsoft.co mwrote in message
news:5F******** *************** ***********@mic rosoft.com...
Hello there,

one of my servers is running windows 2003 and IIS 6.0. We have big
performance issues on that server and I found out that a high CPU usage
iniciated by w3wp.exe causes the problem. I couldn't find out what to do
on
the server itself. I think it must be the application runnig on IIS. Could
a
MVP please confirm that this is mostly something that i caused by an
application. So that I can give it back to our developers.

Thanks
--
tani

Sep 25 '07 #2
Hello tani,

What u can do i just make a dump of the process when is 100% loaded and inpect
the dump to understand what gone wrong

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
tHello there,
t>
tone of my servers is running windows 2003 and IIS 6.0. We have big
tperformance issues on that server and I found out that a high CPU
tusage iniciated by w3wp.exe causes the problem. I couldn't find out
twhat to do on the server itself. I think it must be the application
trunnig on IIS. Could a MVP please confirm that this is mostly
tsomething that i caused by an application. So that I can give it back
tto our developers.
t>
tThanks
t>
Sep 25 '07 #3
Thank you for your quick answer.
Which performance Counters would you recommend to find out how much traffic
is handled by the application itself.

Thanks again,
--
tani
"Kevin Spencer" wrote:
w3wp.exe is the ASP.Net process, so if it is indeed using a lot of CPU, it
is the ASP.Net application that is causing it. However, this does not
necessarily indicate by itself that there is a problem with the ASP.Net
application. It is, of course, a service that may be serving many clients.
The only real measure is to check the CPU usage against the amount of
traffic being handled by the application.

--
HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"tani" <ta**@discussio ns.microsoft.co mwrote in message
news:5F******** *************** ***********@mic rosoft.com...
Hello there,

one of my servers is running windows 2003 and IIS 6.0. We have big
performance issues on that server and I found out that a high CPU usage
iniciated by w3wp.exe causes the problem. I couldn't find out what to do
on
the server itself. I think it must be the application runnig on IIS. Could
a
MVP please confirm that this is mostly something that i caused by an
application. So that I can give it back to our developers.

Thanks
--
tani


Sep 25 '07 #4
Thank you Michael,

I am a real newbie : how do I do a dump and do i need to install anything on
the server?

I would prefer setting up some perfmon counters if possible.
--
tani
"Michael Nemtsev" <Michael Nemtsev>, "MVP" wrote:
Hello tani,

What u can do i just make a dump of the process when is 100% loaded and inpect
the dump to understand what gone wrong

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
tHello there,
t>
tone of my servers is running windows 2003 and IIS 6.0. We have big
tperformance issues on that server and I found out that a high CPU
tusage iniciated by w3wp.exe causes the problem. I couldn't find out
twhat to do on the server itself. I think it must be the application
trunnig on IIS. Could a MVP please confirm that this is mostly
tsomething that i caused by an application. So that I can give it back
tto our developers.
t>
tThanks
t>
Sep 25 '07 #5
Hello tani,

I recommend u to read these 4 articles
http://www.codeproject.com/debug/windbg_part1.asp

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
tThank you Michael,
t>
tI am a real newbie : how do I do a dump and do i need to install
tanything on the server?
t>
tI would prefer setting up some perfmon counters if possible.
t>
t"Michael Nemtsev" <Michael Nemtsev>, "MVP" wrote:
t>
>Hello tani,

What u can do i just make a dump of the process when is 100% loaded
and inpect the dump to understand what gone wrong

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high
and we miss it, but that it is too low and we reach it" (c)
Michelangelo

tHello there,
t>
tone of my servers is running windows 2003 and IIS 6.0. We have big
tperformance issues on that server and I found out that a high CPU
tusage iniciated by w3wp.exe causes the problem. I couldn't find
out
twhat to do on the server itself. I think it must be the
application
trunnig on IIS. Could a MVP please confirm that this is mostly
tsomething that i caused by an application. So that I can give it
back
tto our developers.
t>
tThanks
t>

Sep 25 '07 #6
Thank you very much for your help.

I found a shareware tool that creates statistics based on IIS logs.
This is enough to pass the problem to our developers as it shows that the
server has a high CPU Utilization without having a high amount of requests.

--
tani
"Michael Nemtsev" <Michael Nemtsev>, "MVP" wrote:
Hello tani,

I recommend u to read these 4 articles
http://www.codeproject.com/debug/windbg_part1.asp

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
tThank you Michael,
t>
tI am a real newbie : how do I do a dump and do i need to install
tanything on the server?
t>
tI would prefer setting up some perfmon counters if possible.
t>
t"Michael Nemtsev" <Michael Nemtsev>, "MVP" wrote:
t>
Hello tani,

What u can do i just make a dump of the process when is 100% loaded
and inpect the dump to understand what gone wrong

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high
and we miss it, but that it is too low and we reach it" (c)
Michelangelo

tHello there,
t>
tone of my servers is running windows 2003 and IIS 6.0. We have big
tperformance issues on that server and I found out that a high CPU
tusage iniciated by w3wp.exe causes the problem. I couldn't find
out
twhat to do on the server itself. I think it must be the
application
trunnig on IIS. Could a MVP please confirm that this is mostly
tsomething that i caused by an application. So that I can give it
back
tto our developers.
t>
tThanks
t>


Sep 26 '07 #7
Sorry about the delay. IIS (Web Service) performance counters can tell you
how much traffic is coming to the site.

--
HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"tani" <ta**@discussio ns.microsoft.co mwrote in message
news:09******** *************** ***********@mic rosoft.com...
Thank you for your quick answer.
Which performance Counters would you recommend to find out how much
traffic
is handled by the application itself.

Thanks again,
--
tani
"Kevin Spencer" wrote:
>w3wp.exe is the ASP.Net process, so if it is indeed using a lot of CPU,
it
is the ASP.Net application that is causing it. However, this does not
necessarily indicate by itself that there is a problem with the ASP.Net
application. It is, of course, a service that may be serving many
clients.
The only real measure is to check the CPU usage against the amount of
traffic being handled by the application.

--
HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"tani" <ta**@discussio ns.microsoft.co mwrote in message
news:5F******* *************** ************@mi crosoft.com...
Hello there,

one of my servers is running windows 2003 and IIS 6.0. We have big
performance issues on that server and I found out that a high CPU usage
iniciated by w3wp.exe causes the problem. I couldn't find out what to
do
on
the server itself. I think it must be the application runnig on IIS.
Could
a
MVP please confirm that this is mostly something that i caused by an
application. So that I can give it back to our developers.

Thanks
--
tani



Sep 26 '07 #8
Hi All !
I am having the same issue as Tani had.
Is possible to use application pool and limit CPU and memory? I don't know
much of application pool but seems that it can recycle worker processes if
they are not in use.

Thanks!

"tani" wrote:
Thank you very much for your help.

I found a shareware tool that creates statistics based on IIS logs.
This is enough to pass the problem to our developers as it shows that the
server has a high CPU Utilization without having a high amount of requests.

--
tani
"Michael Nemtsev" <Michael Nemtsev>, "MVP" wrote:
Hello tani,

I recommend u to read these 4 articles
http://www.codeproject.com/debug/windbg_part1.asp

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
tThank you Michael,
t>
tI am a real newbie : how do I do a dump and do i need to install
tanything on the server?
t>
tI would prefer setting up some perfmon counters if possible.
t>
t"Michael Nemtsev" <Michael Nemtsev>, "MVP" wrote:
t>
>Hello tani,
>>
>What u can do i just make a dump of the process when is 100% loaded
>and inpect the dump to understand what gone wrong
>>
>---
>WBR,
>Michael Nemtsev [.NET/C# MVP] :: blog:
>http://spaces.live.com/laflour
>"The greatest danger for most of us is not that our aim is too high
>and we miss it, but that it is too low and we reach it" (c)
>Michelangelo
>>
>tHello there,
>t>
>tone of my servers is running windows 2003 and IIS 6.0. We have big
>tperformance issues on that server and I found out that a high CPU
>tusage iniciated by w3wp.exe causes the problem. I couldn't find
>out
>twhat to do on the server itself. I think it must be the
>application
>trunnig on IIS. Could a MVP please confirm that this is mostly
>tsomething that i caused by an application. So that I can give it
>back
>tto our developers.
>t>
>tThanks
>t>
Sep 30 '08 #9

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

Similar topics

5
5885
by: Chris Webster | last post by:
I have one process which writes a single float into 300 columns once per second. I then run 4 process, from remote computers, to query a small subset of the latest row. I have even commented out everything in the query programs, all they do is sleep, and the associated postmaster still sucks up 15% - 20% CPU. Computer is a P4 /w 1Gig memory, all disk access is local. RH9 /w stock postgresql-7.3 installed.
0
1626
by: DT | last post by:
We have service oriented architecture that comprises of a number of Win2k/IIS boxes. Some of these web service applications access an AS400 system for data acess (We are using HitSoftware's Ritmo .net native driver). For fail over we route these requests through a hardware based load balancer (BigIP). The BigIP allows us to fail over to a secondary AS400 system in case the primary one fails.
3
3356
by: MattC | last post by:
I have an ASP.NET app that is running at around 60MB for the w3wp.exe. This often jumps very quickly to 100/120 MB before shrinking again. It is also using around 250MB of virtual memory. Is it normal for the memory usage to jump around so much? Also the server is a PIII 730 with 256MB RAM, running Windows 2003 Server. I would appreciate information form other developers memory usage. TIA
5
15213
by: mcollier | last post by:
I am experiencing high CPU utilization with my ASP.NET application. The w3wp.exe process uses 75%-80% CPU for about 10 seconds. I notice this when the application first starts up, which I can partially understand since ASP.NET compiles the application on the first access. However, I also notice the high CPU usage by w3wp.exe after long periods of inactivity. For example, if I stop using the site for 30 minutes, and then come back to the...
0
1175
by: jhonz | last post by:
I have come across a strange circumstance. I have user controls with dropdownlists that interact fine during times where the web server has minimal load. But once things pick up and postbacks take longer, my code behind will error out since I expect "ddlSample.SelectedItem.Value" to have a value for a control that exist. But sometimes it is set to "Nothing". I do think this comes about when the user is a 'quick clicker' and clicks...
19
5256
by: Alex Madon | last post by:
Hello, I am testing a web application (using the DBX PHP function to call a Postgresql backend). I have 375Mb RAM on my test home box. I ran ab (apache benchmark) to test the behaviour of the application under heavy load. When increasing the number of requests, all my memory is filled, and the Linux server begins to cache and remains frozen. ab -n 100 -c 10 http://localsite/testscript
9
3652
by: Denis | last post by:
Hello, Maybe somebody already solved this task. I need to load JS asynchronously without blocking browser. This means that I do not need to block browser to load/render during loading script. The simple construction to do this: jsJSNode = document.createElement(“script”); jsJSNode.type = “text/javascript”; jsJSNode.src = “http:// den-01/Default.aspx“; document.body.appendChild(jsMyNode);
10
2993
by: =?Utf-8?B?U2Vhbg==?= | last post by:
I have two win2003 sp1 servers running iis 6.0 running the same application. When I connected to the first server a W3WP process (application pool is created) whoose size is approax 14MB When I connect to the other machine the size is approx 114MB. Does anyone have any idea what the extra 100 MB is being used for One Thing to note .NEt 1.1 was installed on the server consuming the 100MB. I have removed the extension and uninstalkled the...
0
2647
by: nichele | last post by:
Hi All, I would like to ask to you, how many connections a db server can handle. I know the question is not so easy, and actually I don't want to known a "number" but something like: - up to 100 connections: small load, low entry server is enough - up to 200 connections: the db server starts to sweat, you need a dedicated medium server - up to 300 connections: hard work, dedicated server - up to 500 connections: hard work, dedicated high...
0
9643
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10313
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10081
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7494
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2875
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.