How to toggle and use different performance counters for Statistica's MAS (Monitoring and Alerting Server)?
book
Article ID: KB0071550
calendar_today
Updated On:
Products
Versions
Spotfire Statistica
14.0 and higher
Description
Monitoring and Alerting Server (MAS) implements various performance counters which can be monitored on the system in Windows Performance Monitor. With a MAS installation, it can be easy to overschedule MAS such that it does not keep up, or tasks get skipped.
For example, if multiple long-running tasks are scheduled to run at or near the same time. Similarly, it can be difficult to locate a window of low usage to schedule new tasks. These performance counters can help with monitoring the system to see periods where it is mostly idle, and periods, where it is too heavily scheduled so the load, can be spread out more. And they can give insight into the performance of MAS, how long tasks are taking, if the COM+ Pool size needs to be increased, etc.
Environment
Windows
Resolution
Registering the Performance Counters
The installer should register the MAS Performance Counters so that they show up in the Performance Monitor. If they are not there, they can be registered with the Windows command line system utility lodctr.exe, and unregistered with unlodctr.exe.
Registering
Open a command prompt running as administrator
Change the current directory to the Statistica installation directory where MASMonitorService.exe and MASTaskRunner.exe are located
Run the following commands:
lodctr /m:MASMonitorService.man
lodctr /m:MASTaskRunner.man
Unregistering
Open a command prompt running as administrator
Change the current directory to the Statistica installation directory where MASMonitorService.exe and MASTaskRunner.exe are located
Run the following commands:
unlodctr /m:MASMonitorService.man
unlodctr /m:MASTaskRunner.man
Using the MAS Performance Counters
On the MAS Server, search for/run perfmon or Performance Monitor (also available in Administrative Tools.)
In the tree on the left, select Performance/Monitoring Tools/Performance Monitor to show the graph
Click the green plus sign button in the graph toolbar to add counters
In the Available Counters section, navigate to and expand MAS Monitor Service or MAS Task Runner
Select and add the desired counters. Note that you can enable the Show Description checkbox to see more information about a selected counter.
The counters for MAS Monitor Service are single instance counters, meaning you will not select anything for "Instances of selected object"
The counter for MAS Task Runner is a multiple instance counter, one per MASTaskRunner.exe process. You will need to select one or more of the available instances. They are named Instance_[process-id].
The selected counters will now show in the graph view. You may need to adjust the graph vertical scale or the specific counters' scaling factors to make the graph more readable
Adding performance counters for MAS to Performance Monitor:
Issue/Introduction
How to toggle and use different performance counters for MAS?