w3wp.exe CPU 100 %

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
antonellocorboAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Greg RowlandConnect With a Mentor Software Designer, SysDBA, WebMaster OwnerCommented:
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
 
Timbo87Commented:
I had something similar to that happen and it ended up being an infinite for loop that caused it.
0
 
antonellocorboAuthor Commented:
Sampe app works on other servers
0
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
antonellocorboAuthor Commented:
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
 
antonellocorboAuthor Commented:
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
 
FirewaterCommented:
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
 
fadiskyCommented:
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
 
fadiskyCommented:
Mom2005-rtm-kb883925-x86-enu.exe
0
 
jcwitcherCommented:
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
 
kvanapalCommented:
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
 
praveenviswanathCommented:
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
 
Praveen DMInfra Team LeadCommented:
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
All Courses

From novice to tech pro — start learning today.