473,799 Members | 3,005 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 10401
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*@discussion s.microsoft.com > wrote in message
news:4B******** *************** ***********@mic rosoft.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
467
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 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
3
5049
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 page by content ID. The site appears to be working well. It is hosted on a Windows 2003 server with 2 Gigs of RAM. It was built using Visual Studio .NET 2005 and us running under the .NET Framework 2.0 Beta The Issue :
3
3357
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
4
7833
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 servers are in a stateless farm and have 2 GB of RAM. We are using ASP.NET 1.1 when using a dedicated application pool for each virtual directory. Each customer gets their own virtual directory and copy of the ASP.NET dll in their bin folder, which...
3
2827
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 it's death and sometimes get useful information out of the DMP file. But lately, W3WP.exe lives, but appears hung. New request to the application hang unresponsive, existing user sessions are unresponsive, and eventually session timeout and go...
0
5466
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. I'm thinking this is an ASP.Net 2.0 bug, but would like to try to elaborate it further. I'm hoping to see if someone else may be having the same issue. Error: (Popup on the desktop) Title: "w3wp.exe - Application Error"
1
4131
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 Database on the server. Now all of a sudden IIS (w3wp.exe) has started to go to 100% CPU or try to for no apparent reason. I restarted the server but it still does it. I restarted the IIS Services and w3wp disappears but as soon as I click...
6
4802
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 in the Page_Load, to simulate a condition where huge memory is utilized by the app: int i = 0;
10
2995
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
9541
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
10251
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10225
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,...
0
9072
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7564
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
5463
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4139
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
3759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2938
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.