Solved

IIS Application problem

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

679 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