Solved

IIS Application problem

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…

776 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