473,385 Members | 1,185 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,385 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 10353
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.