KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

XP PRO SP1 / Performance Counters

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor
View previous topic :: View next topic  
Author Message
Mike P



Joined: 17 Feb 2003
Posts: 6

PostPosted: Tue May 13, 2003 2:14 pm    Post subject: Reply with quote

All the performance counter tests I run are in an unknown or checking status.

The tests worked when there were one or two but now that we have 350 Performance tests running against 35 servers they are no longer working.

Also if I open an existing test and attempt to edit it or get current value Host Monitor will lock up and I end task to close program.

I do not have this problem on 2000

The account I am logged on with has administrative rights on all remote servers

The same problem happens if I run Host Monitor as a service or stand alone. At the time of this posting I am not running Host Monitor as a service

Version 3.68

Maybe there is a simple settings I am overlooking please advise

Thank you
Back to top
View user's profile Send private message Send e-mail MSN Messenger
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue May 13, 2003 9:30 pm    Post subject: Reply with quote

>Maybe there is a simple settings I am overlooking please advise

Unfortunately problem is deeper.
Quote from the manual:
------------------------
Note #2 (bugs): Windows implementation of performance counters has bugs. E.g., Windows 2000 (Professional, Server, and Advanced Server editions) can produce memory leak in Pdh.dll when user (application) querying performance counter that does not exist. This bug fixed in SP2. Also pdh.dll does not work correctly with multithread applications.
That's why in HostMonitor we have implemented several different methods to work with pdh.dll:

MultiThread mode: HostMonitor works almost according to Microsoft documentation with some workaround to avoid most likely problems. HM loads pdh.dll at once and uses it all the time. This method fast because HM can start several tests simultaneously. If everything will work correctly on your system, use this method (by default HostMonitor uses this method).

OneByOne mode: Using this method HM will start Performance Counter tests one by one and reload pdh.dll every time. This method slow (when you setup Performance Counter test using Test Properties dialog program even can hang for 1-2 min) but using this method you will avoid some problems due to a buggy pdh.dll

Smart mode: With this method HM will try to detect when pdh.dll need to be reloaded.

To change mode, add line "PerfWorkMode=N" to hostmon.ini file into [Misc] section and restart HostMonitor. N is number of the mode: 0 - MultiThread mode, 1 - OneByOne mode, 2 - Smart mode
-------------------------

Try to set PerfWorkMode to 1 (OneByOne mode). It was helped to several customers, hope it will help in your case as well.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index