Configuring the Memory Monitor Service
To configure the content that the tool displays
1. Log on as a system administrator on My webMethods Server.
2. In My webMethods Server: Folders > Administrative Folders > Administration Dashboard > Configuration > CAF Application Runtime Configuration.
3. On the Keyword tab, type wm_mws_diagnostics in the Keywords field.
4. Click Search.
5. In the results list, click the wm_mws_diagnostics entry.
6. Click Web Application > Environment Entries
7. On the Web Application - Environment Entries area that opens on the right hand side, configure the following settings:
Important: When you configure the following thresholds, make sure that the WARNING threshold has the greatest memory amount, followed by the ERROR threshold, and finally the FATAL threshold that has the smallest memory amount.
thresholdWarn Specify the amount of free memory of the JVM (in MB) that triggers a warning message notification to the configured e-mail accounts. The default is 150 MB.
thresholdError Specify the amount of free memory of the JVM (in MB) that triggers an error message notification to the configured e-mail accounts. The default is 100 MB.
thresholdFatal Specify the amount of free memory of the JVM (in MB) that triggers a fatal message notification to the configured e-mail accounts. The default is 50 MB.
restartServer In the text field, type true to enable server restart when the thresholdFatal setting is reached. Set to false by default. In addition, heap dumps and thread dumps are generated in Software AG_directory \MWS\server\ServerInstance\logs\snapshots for threaddump-date_EDT.hprof.
enabled Accept the default value of true to enable the Memory Monitor tool, or set this field to false to disable the tool. This setting is not affected by the Start and Stop buttons on the portlet’s Properties tab in My webMethods, which control only the display of memory information.
email Type the e-mail accounts that will receive e-mail notifications. Use a comma (,) to separate multiple addresses.
thresholdPercent Set this field to true to interpret the thresholdWarn, thresholdError, and thresholdFatal setting values as percentages; set this field to false to interpret the threshold setting values as megabytes. When set to true, the thresholdWarn, thresholdError, and thresholdFatal values must be between 1 and 100. The default setting is false.
8. Click Apply.