Background Services Monitor
The PPM Background Service monitor is controlled using the ENABLE_BACKGROUND_SERVICE_MONITOR
and BACKGROUND_SERVICE_MONITOR_THRESHOLD
server configuration parameters. The ENABLE_BACKGROUND_SERVICE_MONITOR
parameter turns the monitor on (the default). The BACKGROUND_SERVICE_MONITOR_THRESHOLD
parameter controls the threshold value (in milliseconds) for the monitor. If the runtime of a background service exceeds the threshold value, this is recorded in the thresholdLog.txt
file. The following is an example of the thresholdLog.txt
file contents:
Note: For information on all of the background services in PPM, see PPM Background Services.

You can change the values of the ENABLE_BACKGROUND_SERVICE_MONITOR
and BACKGROUND_SERVICE_MONITOR_THRESHOLD
parameters using the kConfig.sh
script, or you can change them through the JMX console without having to stop and start the PPM Server. However, keep in mind that if you change them through the JMX console, your changes do not persist. The next time you start the PPM Server, the values for these parameters revert to the values specified for them in the server.conf
file.
To enable or disable the Background Services Monitor through the JMX console:
-
Go to the JMX MBean agent view in the JMX console.
-
In the ppm.monitor section, access the BackgroundServiceMonitorAspect MBean.
-
Use the
EnableMonitor
parameter to enable or disable the UI monitor.
To change the UI_MONITOR_THRESHOLD value:
-
Go to the JMX MBean view in the JMX console.
-
In the ppm.monitor section, access the Action Monitor Trigger MBean.
-
Change the value of the
Threshold
parameter.Note: You can also use the
PersistState
parameter in the JMX console to enable or disable persisting the captured information to the log file.

Administrators can view the Background Services Monitors in real time through the JMX console, and use the information to isolate performance issues in the field. To see the information captured by the Background Services Monitor in real time, go to JMX console and access the BackgroundServiceMonitor MBean in the ppm.monitor section. Here, all of the background services that have been executed on the system are listed. Information about the background service runs that most affect performance are listed, as are the minimum, maximum, and average execution times for these services.

If background services activity exceeds the configured threshold value, the captured information is saved to the thresholdLog.txt
file, which resides in the <PPM_Home>/server/<PPM Server>/logs
directory.
The logged information has the following format:
Format is ["BackgroundService",<Background_Service_Name>,"Execution Time - <Execution_Time>(ms)","Execution End Time - <Time_Service_Run_Finished>","Entity Type - <Entity_Type>","Entity Id - <Entity_ID>"]
The information resembles the following:
BackgroundServiceMonitorLogger:2009/01/11-23:26:07.992 PST: "BackgroundService",Workflow Timeout Reaper,"Execution Time- 31(ms)","Execution End Time - Sun Jan 11 23:26:07 PST 2009","Entity Type - 0","Entity Id - 0" ;

When the parameter ENABLE_ALL_PERFORMANCE_MONITOR
is set to true
, and if a background services activity exceeds the threshold value specified in the BACKGROUND_SERVICE_MONITOR_THRESHOLD
parameter, the SQLs that have been executed when running the activity are recorded in the table PPM_PERFORMANCE_LOG.
Note: Only the top five SQLs that take the longest time when running an activity are recorded.