Solved

IIS Application problem

Posted on 2002-04-11
3
162 Views
Last Modified: 2010-05-02
Hello all,

     We're maintaining a web-based application written with VB 6.0's IIS Application framework. The program executes in a web server and access SQL Server 2000 database on same machine. We meet a problem that the application slows down after execute for some while. We can see multiple instance of DLLHOST.EXE in Task Manager, these processes takes over all CPU time. We try stop and restart IIS Server in Internet Service Manager but DLLHOST.EXE seems cannot be stopped.

     Anyone knows what's the reason of multiple instances of DLLHOST.EXE executed and takes over all CPU time? How can we solve this problem? Any comments are welcome and thanks advanced.

Richard Yu

0
Comment
Question by:Richard_Yu
  • 2
3 Comments
 

Expert Comment

by:load_o_crap
ID: 6933464
Try to double check your code.

Visual Basic is notorious for memory leaks regardless of what microsoft tells you about automatic garbage collection.


Make sure you set all your objects to nothing. Especially those that you have created with the NEW keyword.

And make sure that  you dun have some funny bugs.. that was skipped by On Error Resume Next... and was never flagged... that way skipping the cleanup code altogether.
0
 
LVL 5

Expert Comment

by:rkot2000
ID: 6933995
Separate dllhost.exe files :
one for each com+ package,
plus one system dllhost.exe,
plus one to host pooled websites (sites with Application Protection set to pooled level),
and one for each website with Application Protection set to high.
0
 
LVL 5

Accepted Solution

by:
rkot2000 earned 150 total points
ID: 6934000
try this :

HOWTO: Troubleshoot High CPU Utilization of an MTS or COM+ Process (Q258833)


http://support.microsoft.com/default.aspx?scid=kb;en-us;Q258833
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now