
Extending Shared Memory
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.
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.

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:

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.

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