Administer > System Configuration Parameters > System performance parameters > Startup parameter: shared_memory_address

Startup parameter: shared_memory_address

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

Note You should only use this parameter when instructed to do so by HPE Customer Support.

Parameter

shared_memory_address

Description

This parameter can be used on all operating systems to ensure that shared memory allocation is kept in an area that will not interfere with shared libraries, stacks, heaps or other memory related data structures. You can use this parameter to specify a new address that has enough contiguous memory for the HPE Service Manager process.

If you encounter a shared memory allocation failure, the address that the HPE Service Manager process is using does not have enough contiguous memory. On Windows, the sm.log file lists recommendations for possible shared_memory_address parameter values. If the debugvmmap parameter is active, the log also contains a map of virtual memory at the time of the failure.

Valid if set from

Server's operating system command prompt

Initialization file (sm.ini)

Requires restart of the Service Manager server?

Yes

Default value

On Linux: 0x50000000

On Windows: Dynamically determined

Possible values

A memory address in a decimal, hexadecimal, or octal format.

Example usage

Command line: sm -httpPort:13080 -shared_memory_address:0x80000000

Initialization file: shared_memory_address:0x80000000

Example sm.log file that is generated when you encounter a shared memory allocation failure

6116(  2716) 03/05/2010 11:06:41  RTE E shmat: MapViewOfFileEx failed
6116(  2716) 03/05/2010 11:06:41  RTE E Error 487 in call MapViewOfFileEx - Attempt to access invalid address.
6116(  2716) 03/05/2010 11:06:41  RTE E sm_init: shmat( 516, 0x73000000, 0 ) failed for size 67108864 and key 0x2A02E500
6116(  2716) 03/05/2010 11:06:41  RTE I List of possible shared_memory_address parameter settings for a shared memory size of 67108864 (64 MB)
6116(  2716) 03/05/2010 11:06:41  RTE I # Free range 0x7FFF0000-0xFFFAD000 size=2147209216 (2047 MB)
6116(  2716) 03/05/2010 11:06:41  RTE I Preferred        : shared_memory_address:0x80000000
6116(  2716) 03/05/2010 11:06:41  RTE I Lowest available : shared_memory_address:0x80000000
6116(  2716) 03/05/2010 11:06:41  RTE I Highest available: shared_memory_address:0xFBFA0000
6116(  2716) 03/05/2010 11:06:41  RTE I For a complete list of available shared_mempory_address settings, run with the debugvmmap parameter.
6116(  2716) 03/05/2010 11:06:41  RTE W !!! Use the preferred shared_memory_address parameter above
6116(  2716) 03/05/2010 11:06:41  RTE W !!! or remove the shared_memory_address parameter completely.
6116(  2716) 03/05/2010 11:06:41  RTE E HP Service Manager is unable to start. Failed to initialize or attach to shared memory environment