473,322 Members | 1,345 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,322 software developers and data experts.

W3WP at 100% CPU

I'm developing a web site with asp.net, mainly vb on a Windows 2003 server.
Quite often the web site stops responding for 15-20 seconds.
A web page that usually take 2 seconds to produce takes forever.
During this time,the w3wp process takes 100% of the CPU time.

I'm using only asp.net, no extra stuff like Commerce server or anything.

Please? Any clues or help would be much appreciated!

Helge
Nov 21 '05 #1
3 10348
This type of issue really takes being there at the console to track down
the cause. First places to look:

1) Any loops in your code that do not use the foreach() construct. Is
there an infinite loop problem?

2) Does the page consistently take 15-20 seconds to come up on each
view? If so, what is the page doing during this time? Are you
performing "expensive" parsing of strings, XML, serializing datasets, etc.?

3) If the slowness happens intermittently, when does it seem to happen
most often? During peak usage? Are there resource contention issues
between pages trying to read/write to the same data on the drive?

4) Are you performing XSLT transformations on the web server that are
transforming large sets of XML? This recursion can appear like an
infinite loop problem but ultimately the server recovers after the XSLT
completes.

5) Are you performing any sort of resource intensive encrypts/decrypts
of data on the server?

6) If the above fails to reveal the problem, you might try wiring up
WMI in your ASP.NET page to write instrumentation data to a logfile so
you can capture which method call is consistently causing the CPU spike.
That will give you a great place to look but takes the up front time
to set this up and roll to production. In some shops, that process can
be more arduous than chasing down the issue ad hoc in prod when the
problem occurs.

Hope this helps.

Jason

Helge wrote:
I'm developing a web site with asp.net, mainly vb on a Windows 2003 server.
Quite often the web site stops responding for 15-20 seconds.
A web page that usually take 2 seconds to produce takes forever.
During this time,the w3wp process takes 100% of the CPU time.

I'm using only asp.net, no extra stuff like Commerce server or anything.

Please? Any clues or help would be much appreciated!

Helge

Nov 21 '05 #2
Roy
Bump...

This exact same thing happens to me consistantly with the exact same
equipment/software. Has a hotfix been developed for this? I've trimmed my
page down to barebones and still the issue occurs.

"Helge" wrote:
I'm developing a web site with asp.net, mainly vb on a Windows 2003 server.
Quite often the web site stops responding for 15-20 seconds.
A web page that usually take 2 seconds to produce takes forever.
During this time,the w3wp process takes 100% of the CPU time.

I'm using only asp.net, no extra stuff like Commerce server or anything.

Please? Any clues or help would be much appreciated!

Helge

Nov 23 '05 #3
Hot fix for what? Having the same symptoms as someone else doesn't mean you
have the same disease. Generally speaking, this doesn't happen. Thereofre,
it must be caused by something else (other than ASP.Net). If, indeed, you
have "trimmed my page down to barebones and still the issue occurs" you
might want to check other software and/or services running on the machine.
The most likely candidate would be anti-virus software. But it might also be
some other security-related software, or even something else altogether,
such as a hack attack (give me a few hours and I might be able to think of a
half-dozen alternatives).

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Roy" <Ro*@discussions.microsoft.com> wrote in message
news:4B**********************************@microsof t.com...
Bump...

This exact same thing happens to me consistantly with the exact same
equipment/software. Has a hotfix been developed for this? I've trimmed my
page down to barebones and still the issue occurs.

"Helge" wrote:
I'm developing a web site with asp.net, mainly vb on a Windows 2003
server.
Quite often the web site stops responding for 15-20 seconds.
A web page that usually take 2 seconds to produce takes forever.
During this time,the w3wp process takes 100% of the CPU time.

I'm using only asp.net, no extra stuff like Commerce server or anything.

Please? Any clues or help would be much appreciated!

Helge

Nov 23 '05 #4

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

Similar topics

3
by: Helge | last post by:
I'm developing a web site with asp.net, mainly vb on a Windows 2003 server. Quite often the web site stops responding for 15-20 seconds. A web page that usually take 2 seconds to produce takes...
3
by: Tod Birdsall | last post by:
Hi All, The organization I am working for has created a new corporate website that used Microsoft's Pet Shop website as their coding model, and dynamically served up content, but cached each...
3
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...
4
by: AN | last post by:
Greetings, We make an ASP.NET web application and we host it for our customers. We have provisioned hardware and hope to be able to service around 200 customers on this hardware. The web...
3
by: James Hunter Ross | last post by:
Friends, We are preparing for Beta release of a new ASP.NET project, but our initial in-house tests are not going well. We have had W3WP.exe (and aspnet_wp.exe) die, and we feel we can monitor...
0
by: Mark A. Ziesemer | last post by:
I've seen a few other postings that looked similar to this, but most appear to have died without any working solutions, and lacked any helpful level of information to see if they might be related. ...
1
by: ahmnasa | last post by:
Hi all, OK so I have windows 2003 server that's has been running for over 2 years now without a problem. I have over 20 ASP.NET and ASP 3.0 websites running on it with most using the SQL Server...
6
by: Anand Saha | last post by:
Machine: 32 bit Intel Xeon 2.93 GHz, 16 CPUs, 32 GB RAM OS: Windows Server 2003 R2 Ent Edition, SP2 Web Server: IIS 6 ASP.NET ver: 2.0 I made a simple ASP.NET application, with only this code...
10
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.