Remote Performance Counters Unknown

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
jricha34
Posts: 59
Joined: Sun Jul 07, 2002 6:00 pm
Location: USA

Post by jricha34 »

Occasionally most of the remote performance counters start returning as unknown after taking a long time to try and pull them (set to pull on a 120 second cycle) while trying to pull them through perfmon in the same logon session will pull them right away even if perfmon is set to update once per second.

Is there any way to turn on enhanced logging to see if there is an error message when trying to get the counters or some tool you have to test at the command line the same way you test in host monitor?

Host Mon: V3.44
OS: Windows 2000 SP2
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Problem is implementation of Performance Counters is not releable :sad: When performance DLL stops work properly it has effect for all threads of the application, but does not have effect for another applications because each application loads DLL in its own address space. So, external tools for diagnostics will not show any error.
HostMonitor has several different methods to work with pdh.dll (I think you already read documentation), and it can try to reload pdh library in case of the problem. Unfortunatelly it helps not every time because sometimes pdh library does not want to unload. In this case the only way to fix problem is HostMonitor restarting.

BTW It looks like many customers does not have this problem. Could everyone who uses Performance Counter test and does not have problems, provide here information about Windows version? In this case we will know what version of Windows does not have bugs (or has minimum bugs :smile:. I know in W2K SP2 Microsoft fixed some bugs in pdh library.

Regards
Alex
Guest

Post by Guest »

I have the same issue.
Perf Mon tests are unreliable. Sporadically returning Unknown.
bokusogu
Posts: 44
Joined: Sat Dec 14, 2002 6:00 pm

Post by bokusogu »

I have similar problem. The server I am attempting to get a performance counter on is a W2k Advanced server.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

>I have the same issue.
Perf Mon tests are unreliable. Sporadically returning Unknown.


This problem described in the manual. Also there are discribed methods those can help (sometimes).
http://www.ks-soft.net/hostmon.eng/mfra ... #perfnotes

Sometime ago I asked "Could everyone who uses Performance Counter test and does not have problems, provide here information about Windows version?". In this case we will know what version of Windows does not have bugs (or has minimum bugs) but it looks like most of customers (who don't have problems) don't read the forum.
Ok, lets report about systems those have the problem. Please, provide version of Windows and SP. Not just "I have problem"

Regards
Alex
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

I did use performance counters, but due to the fact it was not stable enough I turned them off.

System: Windows 2000 (SP3) + SQL 2000 (SP2)
Installed as a member server.
Guest

Post by Guest »

Win2K Pro SP2 has the problem.
BHarvey
Posts: 33
Joined: Sun Oct 27, 2002 6:00 pm

Post by BHarvey »

I noticed that if I used different accounts for testing the same folder/server (I use one folder per server), that some of the connections would always reflect unknown even though I could attach to perf counters via perfmon using the same account/pwd causing the unknown. After setting all tests in the folder to use the same account, things worked (still occasional unk but service restart usually fixes this).

Possibly not initializing credentials for each call?? Hope this helps

<font size=-1>[ This Message was edited by: BHarvey on 2003-01-14 09:17 ]</font>
Guest

Post by Guest »

I wrote this:
"I have the same issue.
Perf Mon tests are unreliable. Sporadically returning Unknown."

I'm running w2k pro with sp2.
Remote servers are running w2k server with sp3.

The problem really is sporadic. It will work fine for a server then an hour later return unknown then work fine again...

Barry
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Probably it starts work again because HostMonitor tries to reload pgh.dll when error detected.
We still searching for solution... eh

Regards
Alex
Wooltown
Posts: 115
Joined: Wed May 22, 2002 6:00 pm
Location: Sweden

Post by Wooltown »

I use W2k SP3 on Windows Server, all servers being tested are W2k SP3 or NT4 with SP6, it works just fine !

Some program doesnt't work well on all hardware, i'm using a Dell PowerEdge 1300 with the latest firmware.

Sven
Locked