Parameter: debugvmmap

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

Parameter

debugvmmap

Description

This parameter causes Service Manager servers running on Windows operating systems to list the following information in the sm.log file:

  • a list of memory address ranges large enough to contain shared memory
  • a map of virtual memory

You can use the list of memory address ranges to specify a value for the shared_memory_address parameter. We recommend you only specify a shared_memory_address value if Service Manager fails to automatically find one.

You can use the virtual memory map to troubleshoot shared memory problems and to identify a potential address for the shared_memory_address parameter. The virtual memory map lists the areas of free and used memory as well as the name of the resource using the address range.

Valid if set from

Server's operating system command prompt

Initialization file (sm.ini)

Requires restart of the Service Manager server?

No

Default value

0

Possible values

0 (Disable)

1 (Enable)

Example usage

Command line: sm -httpPort:13080 -debugvmmap:1

Initialization file: debugvmmap:1

Example excerpt of available shared_memory_address values

2724(  3572) 03/05/2010 11:06:38  RTE I List of all possible shared_memory_address parameter settings for a shared memory size of 67108864 (64 MB)
2724(  3572) 03/05/2010 11:06:38  RTE I # Free range 0x7FFF0000-0xFFFAD000 size=2147209216 (2047 MB)
2724(  3572) 03/05/2010 11:06:38  RTE I Preferred        : shared_memory_address:0x80000000
2724(  3572) 03/05/2010 11:06:38  RTE I Lowest available : shared_memory_address:0x80000000
2724(  3572) 03/05/2010 11:06:38  RTE I Highest available: shared_memory_address:0xFBFA0000
2724(  3572) 03/05/2010 11:06:38  RTE D # Free range 0x122B5000-0x30000000 size= 500477952 ( 477 MB)
2724(  3572) 03/05/2010 11:06:38  RTE D                    shared_memory_address:0x20000000
2724(  3572) 03/05/2010 11:06:38  RTE D Lowest available : shared_memory_address:0x122D0000
2724(  3572) 03/05/2010 11:06:38  RTE D Highest available: shared_memory_address:0x2C000000
...
2724(  3572) 03/05/2010 11:06:38  RTE D # Free range 0x77DF0000-0x7C360000 size=  72810496 (  69 MB)
2724(  3572) 03/05/2010 11:06:38  RTE D                    shared_memory_address:0x77E00000
2724(  3572) 03/05/2010 11:06:38  RTE D Lowest available : shared_memory_address:0x77E00000
2724(  3572) 03/05/2010 11:06:38  RTE D Highest available: shared_memory_address:0x78360000
2724(  3572) 03/05/2010 11:06:38  RTE D # Free range 0x039B0000-0x10000000 size= 207945728 ( 198 MB)
2724(  3572) 03/05/2010 11:06:38  RTE D                    shared_memory_address:0x039C0000
2724(  3572) 03/05/2010 11:06:38  RTE D Lowest available : shared_memory_address:0x039C0000
2724(  3572) 03/05/2010 11:06:38  RTE D Highest available: shared_memory_address:0x0C000000
2724(  3572) 03/05/2010 11:06:38  RTE W !!! Use the preferred shared_memory_address parameter above
2724(  3572) 03/05/2010 11:06:38  RTE W !!! or remove the shared_memory_address parameter completely.
2724(  3572) 03/05/2010 11:06:38  RTE E HP Service Manager is unable to start. Failed to initialize or attach to shared memory environment

Example excerpt of the virtual memory map

2388(  5572) 02/16/2010 15:23:34  RTE D Heap#00 Extension#0 - 0x00580598-0x00680000 (0x000FFA68)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#01 Extension#0 - 0x00940590-0x00950000 (0x0000FA70)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#01 Extension#1 - 0x023C0048-0x024C0000 (0x000FFFB8)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#02 Extension#0 - 0x00B40590-0x00B80000 (0x0003FA70)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#03 Extension#0 - 0x003D0590-0x003E0000 (0x0000FA70)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#03 Extension#1 - 0x007B0048-0x008B0000 (0x000FFFB8)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#04 Extension#0 - 0x02270598-0x02280000 (0x0000FA68)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#04 Extension#1 - 0x02110050-0x02210000 (0x000FFFB0)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#05 Extension#0 - 0x023B0590-0x023C0000 (0x0000FA70)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#05 Extension#1 - 0x02280048-0x02380000 (0x000FFFB8)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#06 Extension#0 - 0x02600598-0x02640000 (0x0003FA68)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#07 Extension#0 - 0x02800590-0x02810000 (0x0000FA70)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#07 Extension#1 - 0x024C0048-0x025C0000 (0x000FFFB8)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#08 Extension#0 - 0x02770578-0x027B0000 (0x0003FA88)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#09 Extension#0 - 0x00500580-0x00540000 (0x0003FA80)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#10 Extension#0 - 0x008F0580-0x00930000 (0x0003FA80)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#11 Extension#0 - 0x026E0580-0x02720000 (0x0003FA80)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#12 Extension#0 - 0x029E0578-0x02A20000 (0x0003FA88)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#13 Extension#0 - 0x02BD0578-0x02C10000 (0x0003FA88)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#14 Extension#0 - 0x02DD0580-0x02E10000 (0x0003FA80)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#15 Extension#0 - 0x02880578-0x028C0000 (0x0003FA88)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#16 Extension#0 - 0x02960578-0x029A0000 (0x0003FA88)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#17 Extension#0 - 0x02680578-0x026C0000 (0x0003FA88)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#18 Extension#0 - 0x03000578-0x03040000 (0x0003FA88)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#19 Extension#0 - 0x035D0590-0x035E0000 (0x0000FA70)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#20 Extension#0 - 0x02950590-0x02960000 (0x0000FA70)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#21 Extension#0 - 0x03540598-0x03580000 (0x0003FA68)
2388(  5572) 02/16/2010 15:23:34  RTE D Heap#22 Extension#0 - 0x02840598-0x02880000 (0x0003FA68)
2388(  5572) 02/16/2010 15:23:34  RTE D **Process Memory Map** - User address space extends from 0x00010000 to 0xFFFEFFFF
2388(  5572) 02/16/2010 15:23:34  RTE D   Start      End        (Size      ) Name
2388(  5572) 02/16/2010 15:23:34  RTE D   0x00010000-0x00020000 (0x00010000) rw-   s [UNKNOWN]
2388(  5572) 02/16/2010 15:23:34  RTE D   0x00020000-0x00030000 (0x00010000) rw-   s [UNKNOWN]
2388(  5572) 02/16/2010 15:23:34  RTE D   0x00030000-0x00031000 (0x00001000) r--   s [UNKNOWN]
2388(  5572) 02/16/2010 15:23:34  RTE D   0x00031000-0x00040000 (0x0000F000)         [FREE]
2388(  5572) 02/16/2010 15:23:34  RTE D   0x00040000-0x00041000 (0x00001000) r--   i \Device\HarddiskVolume2\Windows\System32\apisetschema.dll
2388(  5572) 02/16/2010 15:23:34  RTE D   0x00041000-0x00050000 (0x0000F000)         [FREE]
2388(  5572) 02/16/2010 15:23:34  RTE D   0x00050000-0x00089000 (0x00039000)         [RESERVED]
2388(  5572) 02/16/2010 15:23:34  RTE D   0x00089000-0x0008C000 (0x00003000) rw- g   [UNKNOWN]
2388(  5572) 02/16/2010 15:23:34  RTE D   0x0008C000-0x00090000 (0x00004000) rw-     [UNKNOWN]
2388(  5572) 02/16/2010 15:23:34  RTE D   0x00090000-0x0016D000 (0x000DD000)         *** HP Service Manager stack: thread#5572 ***

Related topics

System parameters
Automatic selection of shared memory address

Related topics

Enter a parameter in the sm.ini file

Related topics

Debugging parameters
Troubleshooting: Failed to initialize or attach to shared memory environment (Windows only)