Show TOC

 Extending the Shared Memory AreaLocate this document in the navigation structure


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.

  • Set Automatic Completion of the Alerts

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:

  1. Choose CCMS → Configuration → Alert Monitor, or call transaction RZ21.
  2. In the Methods group box, select Method Definitionsand choose Display Overview.
  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 is to automatically complete alerts after a certain number of days, enter the relevant value for the parameter CMPL_ALERT_AFTER_DAY. The default value is 31. Uncompleted alerts are therefore saved to the alert database after approximately a month, to create space for new active alerts in the limited shared memory.
  6. If the system is to automatically complete alerts if the space in shared memory falls below a threshold value, specify the value X for the parameter CMPL_ALERT_IF_QUOTA. The value at which the MTE FreeAlertSlots switches from green to yellow is used as the threshold value. The system completes the number of alerts required to reduce the number of alerts to the value at which the color switches from yellow to green.

    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.

See also:

SAP Note 135503

SAP Note 414029