Adjusting the Operating System Shared Memory Parameters

Adjust shared memory segments if SAP ASE cannot obtain large memory as a single segment, or if Backup Server stripes fail due to insufficient segments.

Depending on the number and types of devices used for backup (dump) and recovery (load), you may need to adjust the shared memory segment parameter in the operating system configuration file to accommodate concurrent Backup Server processes. There are six default shared memory segments available for process attachments.

If any reconfiguration through sp_configure requires additional memory, SAP ASE allocates shared memory segments after start-up. To account for these additional segments, allocate the maximum memory that is available to SAP ASE by using the allocate max shared memory configuration parameter. See the System Administration Guide.

  1. If the installer cannot update to Solaris 10 patch ID 120012-14, edit your /etc/user_attr file with:
    sybase::::type=normal;project=project-sybase
    --------------------
    To confirm that the update to this patch has taken effect, use either of these commands:
    # projects -d sybase
    project-sybase
    # id -p sybase
    uid=204409(sybase) gid=1(other) projid=200(project-sybase)
    This update allows changes to shared-memory parameters within Solaris 10.
  2. Adjust shared memory segments.

    Depending on the number and types of devices used for backup (dump) and recovery (load), you may need to adjust the shared memory segment parameter in the operating system configuration file to accommodate concurrent Backup Server processes. The default number of shared memory segments available for process attachments is 6.

    SAP ASE may allocate shared memory segments after start-up if any reconfiguration through sp_configure requires additional memory. You may need to account for these additional segments. Allocate the maximum memory available to SAP ASE, by using the allocate max shared memory configuration parameter. The default max memory size is 138MB. See the System Administration Guide for more information.

    To adjust shared memory segments of the operating system, add the following line to the configuration file, where x is the number of shared memory segments./etc/system:
    set shmsys:shminfo_shmseg=x