Startup parameter: shared_memory

Startup parameters change the behavior of the HPE Service Manager server. You can always set a startup parameter from the server's OS command prompt.




This parameter defines the amount of memory the Service Manager server sets aside for system caches and lock tables. The Service Manager add-on product, IR Expert, also relies heavily upon shared memory. You can set this parameter from the Configure server utility.


  • We recommend that you set this parameter to 134,217,728 (128 MB) or greater. If this parameter has a value less than 128 MB, a warning message occurs in the server log file (sm.log). To remove this warning, change the value to 128 MB or greater.
  • On a Linux or UNIX server, after you increase this value, the Service Manager server will fail to start with the following messages:

    2522(  2522) 03/26/2014 15:33:45  RTE E sm_init: shmget( 0x784DFB00, 134217728 ) failed, errno=22 (Invalid argument)
    2522(  2522) 03/26/2014 15:33:45  RTE E sm_init: shared memory kernel parameters may not be sufficient
    2522(  2522) 03/26/2014 15:33:45  RTE E HP Service Manager is unable to start. Failed to initialize or attach to shared memory environment
    2522(  2522) 03/26/2014 15:33:45  RTE E Could not create shared memory

    When this happens, you should adjust, as root, the kernel parameter for shared memory size limit. For example, on Linux , you can do so by executing the following command:

    echo 134217728 > /proc/sys/kernel/shmmax

Valid if set from

Server's operating system command prompt

Initialization file (sm.ini)

Requires restart of HPE Service Manager server?


Default value

24,000,000 bytes

Possible values

Number of bytes

Example usage

Command line: sm -httpPort:13080 -shared_memory:134217728

Initialization file: shared_memory:134217728