Solved

w3wp.exe CPU 100 %

Posted on 2004-03-21
12
168,235 Views
Last Modified: 2012-05-04
I manage a web site. It was made with asp and a dll com object in vb6. This dll and asp site work on a a lot of win 2k server. I put it on a windows 2003 server standard edition and cpu after some minutes go 100% and statica page works, asp page doesn't. With a IISRESET I solve the problem but only for few minutes. I tried to configure IIS in IIS 5.0 compatibility mode, but now dllhost.exe cause cpu to 100%.
I checked all asp files and after the createObject I set to nothing the object. I saw the propeties of the dll project (retained in memory and  unattended excecution are both true).
I don't know what to do!!!
Help me
If you want take a look http://217.45.141.177
0
Comment
Question by:antonellocorbo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
12 Comments
 
LVL 15

Expert Comment

by:Timbo87
ID: 10644620
I had something similar to that happen and it ended up being an infinite for loop that caused it.
0
 

Author Comment

by:antonellocorbo
ID: 10644870
Sampe app works on other servers
0
 

Author Comment

by:antonellocorbo
ID: 10644887
and, another strange thing i noticed. I put the app on one server and it wen fine for some days, than the problem began. I put today on another server (win 2003 also) and in the morning with a lot of user task manager was fine :
System idle process 99 % and w3wp 2/10 %. In the afternoon the disaster, few users and cpu 100% with w3wp consuming all cpu resources. I Also rebboted the server but without any good result
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 4

Accepted Solution

by:
Greg Rowland earned 500 total points
ID: 10649310
Is your virus protection up to date?

A Google search on w3wp.exe returned a bunch of interesting information. My guess, there are programming implications that have been overlooked by the suspect web sites developers.

0
 

Author Comment

by:antonellocorbo
ID: 10653111
i think that the problem was solved. It seems really strange. I will explain.  I noticed that when a user logged in , cpu increased about od 10/15 % , than i tried with some iis debugging utilities, and i suspected that there was something wrong in the login verify procedure. No loop, only a stored procedure that  was not working, because it tried to insert data on a Sql server Database that was not on that server. I corrected this Stored procedure. And today i got  no problem. But to be sure i will wait tomorrow!!!  
0
 

Expert Comment

by:Firewater
ID: 11567132
Similiar situation but there are 70+ websites running on a win2003 server and it is nearly impossible to go through each site to pinpoint which one is causing it. All seemed to be fine with win2k.

I have tried installing MS's IIS Debug Tools - but that just kills my web services (but is runs succesfully on another win2k server box).

My crude solution for now to keep things stable is to run Server Alive to check one of the sites and when it is non-responsive it issues an IIS restart.
0
 

Expert Comment

by:fadisky
ID: 13119744
the proplem resides within ms W2003 server, that some updates should be applyed, unfortionatly the updates should be obtained from ms no direct download is avalable
0
 

Expert Comment

by:fadisky
ID: 13119750
Mom2005-rtm-kb883925-x86-enu.exe
0
 

Expert Comment

by:jcwitcher
ID: 13622558
We had a similar problem with our web services running on  both IIS 5 and IIS6. The problem was cured when we set up the application pools parameters. We set the the recycling parameters to something more suitable for our needs. If you are running IIS in native mode, look in the Application Pools Properties and reduce the setting to cause a recycle before the 100% cpu utilization is realized. If you have multiple processors setting the web garden will increase performance and have additional service instances available while recycling is in process.

Hope this helps
0
 

Expert Comment

by:kvanapal
ID: 13738191
We had a very similiar problem with the w3wp.exe when we were running into  infinite loop while building an Active Report with dynamic controls. We are actually lookin thru a DataReader and for some strange reason we landed into an infinite loop while readin the data reader.

There is one more problem tht I cud see with the w3wp.exe file, the memory usage keeps growing as the application runs for a while. this file approx consumes 70 to 80 Meg of Ram on the server and it never comes down. We hav a reporting Web appl on line and we only build reports. Max clients cub be between 15 to 20 and Max size of any file cud be between 3Meg to 15Meg ( worst case senario). Can anyone tell me wht cud be the problem.
0
 

Expert Comment

by:praveenviswanath
ID: 14423011
W3Wp.exe is an executable, which comes into action whenever the server runs an application that sends data to / from the server.
Lets say you make an application which scrapes out all the pages on another domain, or scrapes out the websites coming up in Google rsults.(The various extensions which may be used by people to make such applications are MSXml, Winhttp, ASP Tear etc). An application using these extensions are used by some one for the purpose of making transactions of mass amounts of data to / from the internet and w3wp moves into action. The problem with this little executable is that it starts squeezing out the CPU.

0
 
LVL 13

Expert Comment

by:Praveen DM
ID: 22972181
Goto cmd prompt..type ( iisapp and enter...U will get a list of application pools and the PID nr in cmd window.Now open the task bar and see the PID of the w3wp.exe file idenify the same in cmd prompt u can pind down te site if its a multisite server...Most its the cause of an infinate loop and some heavy download or execution of files in that site ( Sometimes even downloading Mp3 or A/V files might cause this issue... IF you have Coldfusion plz check the logs too and see if any infinate loop is on its way causing this trouble.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question