Solved

Any ability to monitor DCOM

Posted on 2002-06-29
5
1,539 Views
Last Modified: 2010-10-05
We've got an ASP application we took over support for from a vendor.  One who did an especially poor job.

It's scripted in VBScript running on Win2K/IIS 5.  It makes heavy use of COM components running under MTS on another server.

The components were really, really poorly designed and written in VB.  They put hundreds of components in a total of 3 DLLs.  The net result is that even with a really hefty server this application can only support about 20-25 users at a time.  Everything gets all queued up on the MTS box.

We would really like to know the "health" of the MTS system.  We would like to know if the components are stuck or actually doing work.  There has got to be some way of telling if the MTS is "working" or "waiting".

Is there any API or other data that we can check in on to see if the components are really working?  On UNIX we might register an alarm signal with a call back to a function in the component and have it write out a "heart beat" timestamp to a file.  Is there any alarming in the Win2K OS that could do a call back like this?  Is there some way to "find" the COM thread and then check on the amount of CPU it's using?

Right now, we really have a "black box" and don't know if our application is getting into trouble.  We can get the vendor to modify the component if we can tell them how.
0
Comment
Question by:klamerus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
jsmckenzie earned 200 total points
ID: 7121046
Some good monitoring tools here:

http://www.sysinternals.com/
0
 
LVL 2

Expert Comment

by:jsmckenzie
ID: 7121075
You might ask them to add a logging mechanism, where internal workings of the dll and its classes, successes and failures, are recorded in a text file or database.  Seems to me they need to prove to you that the components are working, rather than you do their work for them...sigh.  There's also something called MTSSpy which is located in previous versions of the Platform SDK, though I've never used it.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8451609
Upon review of the comments here, I am recommending this disposition:

        points to jsmckenzie

Please post a comment if you disagree.

DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 8492635
per recommendation.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

733 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