It is possible that the number of monitoring tree elements (MTEs) in the Alert Monitor and the consequent number of alerts can become so large that the monitoring segment of the shared memory is not large enough to hold them all. This is especially the case if too many alerts are generated because of incorrect settings for the threshold values of the MTEs, or if the complete alerts function is not executed often enough.
To check whether there is still sufficient space in the monitoring segment of the shared memory, start the CCMS Selfmonitoring monitor of the SAP CCMS Technical Expert Monitorsmonitor. Check the Space subtree for 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.
A dialog box appears, showing the utilization in the monitoring segment. If the space available for the various areas is too small, the monitoring segment may be too small. In this case, you need to increase the size of the shared memory area for one or more application servers so that there is sufficient space for all MTEs, attributes, and alerts in the tree.
Follow the appropriate procedure, depending on whether the space problem is affecting the alerts or the MTEs/attributes:
Permanently Reduce the Number of Alerts in Shared Memory
The best setting for the storing of alerts is to store only the newest alerts for each MTE, rather than any number of alerts. It would be extremely laborious to manually change this setting for every MTE. To set this value for all MTEs of a system, start the report RSAL_KEEPALTYPE_MODIFY.
Execute the report once in each affected system and repeat this procedure after every upgrade of the system.
You can use the method CCMS_Segment_Space_Collect to set up an automatic completion of active alerts. To do this, follow the procedure below:
To view or change the specified values, select the Properties Assigned to Attribute Groups radio button in the Properties group box on the initial screen of transaction RZ21 and choose Display Overview. On the Overview of Attribute Groups screen, select the CCMSSelfMoni-FreeAlertSlots by double-clicking it. The values are displayed in the Threshold Values group box.
Increasing the 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 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 a large enough paging-out area on the application server.
You should not change the size of the shared memory area in production systems. As far as possible, increase the shared memory area only in the central monitoring system. You should also ensure that you increase the memory area by as little as possible.
SAP Note 135503
SAP Note 414029