Solved

IIS Application problem

Posted on 2002-04-11
3
165 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

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…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

860 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