Changing a Memory Option for an SAP ASE Cockpit UNIX Service

To change a memory setting for an SAP ASE Cockpit UNIX service, add the appropriate environment variable (<COCKPIT_MEM_MAX> or <COCKPIT_MEM_PERM>) to the cockpit.sh script.

Context

When you use this method to set memory options, your changes are permanent—SAP ASE Cockpit uses them every time it starts as a service.

Procedure

  1. If SAP ASE Cockpit is running, shut it down.
  2. Navigate to $SYBASE/COCKPIT-4/bin and open cockpitd.
  3. Add the environment variable at the top of the file (after the comments). Specify a size in megabytes but do not indicate the units in the command.
    For example:
    COCKPIT_MEM_MAX=512
  4. Save the file and start the SAP ASE Cockpit UNIX service.