service manager cannot start due to memory issues

Good day,

I have tried to sovle my memory problems on my local machine and i'm unable to find a way.

 

The ini file is set to

shared_memory:134217728 but the system fails to start.I have read countless blogs but i just cant seem to find a solution. Please assist.

 

7232(  5808) 09/15/2017 15:49:40  RTE I smservice: start service event received for service smservice
  7232(  5808) 09/15/2017 15:49:43  RTE I smservice: starting process sm
  8640(  8644) 09/15/2017 15:49:50  RTE I Using "utalloc" memory manager, mode [0]
  8640(  8644) 09/15/2017 15:49:50  RTE I Command line: sm
  8640(  8644) 09/15/2017 15:49:51  RTE I Process sm 9.50.0025 () System: 13080 (0x784DFB00) on PC (x64 64-bit) running Windows 7 SP1 (6.1 Build 7601) Timezone GMT 02:00 Locale en_US from EOHL
  8640(  8644) 09/15/2017 15:49:51  RTE I Creating resources for system '13080' with key 0x784DFB00
  8640(  8644) 09/15/2017 15:49:51  RTE I Created shared memory of size 134217728 using key 0x784DFB00 and attached to it at address 0x80000000
  8640(  8644) 09/15/2017 15:49:51  RTE I C:\PROGRA~2\HPE\SERVIC~1.50\Server\RUN\jre\bin\client\jvm.dll is used.
  7232(  5808) 09/15/2017 15:49:53  RTE I smservice: starting process sm system.start
  8836(  8840) 09/15/2017 15:49:53  RTE I Using "utalloc" memory manager, mode [0]
  8836(  8840) 09/15/2017 15:49:53  RTE I Command line: sm system.start

 

  8640(  8644) 09/15/2017 15:53:50  RTE I
  8640(  8644) 09/15/2017 15:53:50  RTE I Shared Memory Type  Allocations    Frees     Allocated
  8640(  8644) 09/15/2017 15:53:50  RTE I ------------------  ----------- ----------- -----------
  8640(  8644) 09/15/2017 15:53:50  RTE I Not named                    15           6      320000
  8640(  8644) 09/15/2017 15:53:50  RTE I User blocks                   3           2        2048
  8640(  8644) 09/15/2017 15:53:50  RTE I Messages                      0           0           0
  8640(  8644) 09/15/2017 15:53:50  RTE I Database Services             2           0        2080
  8640(  8644) 09/15/2017 15:53:50  RTE I Cache overhead                2           0       39968
  8640(  8644) 09/15/2017 15:53:50  RTE I Application cache            35          34          16
  8640(  8644) 09/15/2017 15:53:50  RTE I DBDICT cache                158         132      408448
  8640(  8644) 09/15/2017 15:53:50  RTE I SQL descriptor cache         84          80        2816
  8640(  8644) 09/15/2017 15:53:50  RTE I Join/ERD/Type cache        7532           0   132960896
  8640(  8644) 09/15/2017 15:53:50  RTE I String Type cache           168         138        6528
  8640(  8644) 09/15/2017 15:53:50  RTE I Global cache                  0           0           0
  8640(  8644) 09/15/2017 15:53:50  RTE I IR Expert cache             367           0       90720
  8640(  8644) 09/15/2017 15:53:50  RTE I Diagnostic Services           0           0           0
  8640(  8644) 09/15/2017 15:53:50  RTE E Cache suppport is out of shared memory

  8836(  8840) 09/15/2017 15:49:53  RTE I Process sm 9.50.0025 () System: 13080 (0x784DFB00) on PC (x64 64-bit) running Windows 7 SP1 (6.1 Build 7601) Timezone GMT 02:00 Locale en_US from EOHL
  8640(  8644) 09/15/2017 15:49:54  RTE I JVM successfully created
  7232(  5808) 09/15/2017 15:49:58  RTE I smservice: initialization complete
  8640(  8644) 09/15/2017 15:50:01 JRTE I Java version: 1.8.0-internal
  8640(  8700) 09/15/2017 15:50:05 JRTE I Starting Memory Monitoring thread to check for memory every 15 seconds.
  8640(  8700) 09/15/2017 15:50:05  RTE I Using "utalloc" memory manager, mode [0]
  8640(  8644) 09/15/2017 15:50:33 StringEncrypter [ isUseEncryption = false] : One or any of configuration files is not provided ...
  8640(  8644) 09/15/2017 15:50:33 Building of configuration completed in 336 milliseconds.
  8640(  8644) 09/15/2017 15:50:33  RTE I Host network address: 192.168.52.1
  8836(  8840) 09/15/2017 15:50:33  RTE I Process attaching to resources with key 0x784DFB00
  8836(  8840) 09/15/2017 15:50:33  RTE I C:\PROGRA~2\HPE\SERVIC~1.50\Server\RUN\jre\bin\client\jvm.dll is used.
  8836(  8840) 09/15/2017 15:50:33  RTE I JVM successfully created
  8836(  8840) 09/15/2017 15:50:33 JRTE I Java version: 1.8.0-internal
  8640(  8644) 09/15/2017 15:50:34  RTE I Connection established to dbtype 'sqlserver' database 'service manager' user 'servicemanager'
  8640(  8644) 09/15/2017 15:50:34  RTE I Connected to Data source 'service manager' SQL server 'EOHL\SQLEXPRESS' version: 11.0.2100 through SQL driver version: 6.1.7601 using database 'SM' as user 'dbo'
  8640(  8644) 09/15/2017 15:50:34  RTE I MS SQL Server collation 'SQL_Latin1_General_CP1_CI_AS', varchar codepage 1252, comparison 196609: case insensitive, accent sensitive
  8640(  8644) 09/15/2017 15:50:34  RTE I Application Version: 9.50.0025

 

sm.zip
  • How you came up with a setting "shared_memory:134217728"? Probably stupid question, but have you tried larger values than that? Or another way, tried to limit the amount of memory IR process takes - by setting a parameter " ir_max_shared" to your sm.ini. As per HPE/MF instructiosn, shared memory free space should be never below 25% an perhaps that's the issue in your case.

    Could you post your sm.ini/sm.cfg configs as well?

  • Morning,

    shared_memory:134217728 of is the preferred configuration as seen when SM starts.

     

    10208(  6164) 09/18/2017 09:13:29  RTE W The shared memory size 24000000 is less than the recommended size 134217728

     

    I have tried commenting out the share memory parameter so that the system auto allocates but this fails too.

     

    I have attached the requested files to the case.

     

    Regards,

    Patrick.

    files.zip
  • At least following looks faulty in sm.ini: system:1308 --> should be system:13080, I assume? Don't know if it changes anything, but worth checking.

    I don't know why to tried value 24 000 000, because it's definitely less than 134 217 728. As the sm.log states, free shared memory is constantly below 25%. I'd say trying 240000000 as a shared memory size sound more reasonable?