Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

IIS Application problem

Posted on 2002-04-11
3
Medium Priority
?
173 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 600 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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

916 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