Entering content frameProcedure documentation Extending Shared Memory Locate the document in its SAP Library structure

Use

The number of monitoring tree elements (MTEs) in the Alert Monitor and, consqeuntly, the number of alerts, can be so large that the monitoring segment of the shared memory is not large enough. This is, above all, the case if too many alerts are generated due to incorrect settings for threshold values for the MTEs, or the Complete alerts function is chosen too seldom.

Prerequisites

To check whether there is still enough space in the monitoring segment of the shared memory, start the CCMS Selfmonitoring monitor in the SAP CCMS Technical Expert Monitors monitor set. Check the subtree Spacefor every application server. To do this, select one of the attributes of the Space subtree and then choose Start Analysis Method.

Note

The same analysis method is assigned to the three attributes available in the Space subtree: Messages, FreeAlertSlots, and AlertsFrequency.

The system shows a dialog window in which the usage in the monitoring segment is displayed. If the available space for the various areas is too small, the monitoring segment may be too small. In this case, you must increase the shared memory area for one or more application servers, so that there is enough space for all MTEs, attributes and alerts in the tree.

Procedure

Follow the appropriate procedure below, depending on whether the space problem affects the alerts of the MTEs/attributes:

Permanently Reduce the Number of Alerts in Shared Memory

The least resource-intensive setting for storing alerts is to store only the newest alerts for each MTE, rather than any number. It would be extremely tedious to change this setting manually for all MTEs. To set the setting to this value for all MTEs in a system, start the report RSAL_KEEPALTYPE_MODIFY.

Note

Run the report once in every affected system and repeat this procedure after every upgrade of the system.

You can set automatic completion of active alerts using the method CCMS_Segment_Space_Collect. To do this, proceed as follows:

  1. Choose CCMS ® Configuration ® Alert Monitor, or call transaction RZ21.
  2. In the Methods group box, choose the Method Definition radio box and then the Display Overview pushbutton.
  3. The system displays an overview of the method definitions. Choose the method CCMS_Segment_Space_Collect by double-clicking it.
  4. The system displays the Monitoring: Methods screen. Choose the Parameters tab page.
  5. If the system should automatically complete alerts after a certain number of days, enter the corresponding value for the parameter CMPL_ALERT_AFTER_DAY. The default value is 31. This means that alerts that have not been completed are saved to the alert database after around a month to create space in the shared memory for new active alerts.
  6. If the system should automatically complete alerts if the space in shared memory falls below a threshold value, enter the value X for the parameter CMPL_ALERT_IF_QUOTA. The threshold value is the value at which the MTE FreeAlertSlots changes from green to yellow, and the system completes a sufficient number of alerts so that there are enough free slots to change the color back from yellow to green.

Note

To display or change the specified values, choose the Properties Assigned to Customizing Groups radio button in the initial screen of transaction RZ21, and then choose Display Overview. On the Overview of Attribute Groups screen, choose the CCMSSelfMoni-FreeAlertSlots group by double clicking it. The system displays the values in the Threshold values group box.

Increasing Shared Memory

You can set the size of the monitoring segment in shared memory using the profile parameter
alert/MONI_SEGM_SIZE. The default value depends on the SAP Basis or SAP Web Application Server (SAP Web AS) release. For SAP Web AS 6.20, the value is 16,000,000 bytes. Increase the value only in whole number multiples of 2,000,000 bytes. Ensure that there is sufficient main memory and that the paging area is large enough on the application server.

Caution

You should not change the size of the shared memory in production systems. If possible, you should only change the size of the shared memory in the central monitoring system. Ensure that you increase the shared memory by as small an amount as possible.

See Also:

SAP Note 135503

SAP Note 414029

Leaving content frame