on 06-08-2015 9:50 AM
Hi,
I cannot start my SAP HANA database:
HDB version info:
version: 1.00.090.00.1416514886
___________________________________________________________________________________________
:~> HDB start
StartService
Impromptu CCC initialization by 'rscpCInit'.
See SAP note 1266393.
OK
OK
Starting instance using: /usr/sap/HDB/SYS/exe/hdb/sapcontrol -prot NI_HTTP -nr 00 -function StartWait 2700 2
06.06.2015 12:31:54
Start
OK
06.06.2015 12:32:24
StartWait
FAIL: process hdbstatisticsserver HDB Statisticsserver not running
_____________________________________________________________________________________________
When I start the statisticsserver, I get this error:
:~> hdbstatisticsserver
service startup...
accepting requests at 127.0.0.1:30005; 127.0.0.2:30005
assigning to volume 2 ...
run as transaction slave
Out of memory occured. Writing runtime dump!
Finished writing oom runtime dump!
assign failed with persistence startup error. exception 1: no.1000002 (ltt/impl/memory.cpp:134)
________________________________________________________________________________________________
The only thing I think that changed on this box is that Netbackup was installed
Probably you temporarily have to set
statisticsserver.ini -> [memorymanager] -> allocationlimit
to a higher value (e.g. "20%"). In general please have a look at SAP Note 2147247 ("How can the memory requirements of the statistics server be minimized?") in order to minimize the memory requirements of the SAP HANA statistics server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The allocationlimit of statisticsserver.ini was still at 5% default. I increased it to 20%, then to 50%, but still exacly the same issue on startup.
I cannot execute the "Memory requirements Minimized" steps while the service is down.
May I try to change to Embedded statistics server while the statisticsserver service is unable to start?
If the statistics server doesn't start, you won't be able to migrate to ESS. The original OOM dump (with 5% allocation limit, so 6 GB) showed that
Pool/PersistenceManager/LogRecovery
is mainly responsible for the OOM. So it looks like you had a crash before?
Can you provide the new OOM dump with 50% allocation limit? You might have to set oom_dump_time_delta as described in SAP Note 1999997 in order to make sure that a new OOM dump is triggered after less than 24 hours.
Hi,
I'm trying to bring the system up from a crash, so there was a crash before.
hdbstatisticsserver started again, please see trace location and dump attached
😆 hdbstatisticsserver
service startup...
accepting requests at 127.0.0.1:30005; 127.0.0.2:30005
assigning to volume 2 ...
run as transaction slave
Out of memory occured. Writing runtime dump!
Finished writing oom runtime dump!
assign failed with persistence startup error. exception 1: no.1000002 (ltt/impl/memory.cpp:134)
Allocation failed ; $size$=4294967296; $name$=LogRecovery; $type$=pool; $inuse_count$=2; $allocated_size$=544; $alignment$=4096
Thanks
Hi,
Output is the following:
SELECT * FROM M_INIFILE_CONTENTS WHERE KEY = 'allocationlimit'
FILE_NAME,LAYER_NAME,TENANT_NAME,HOST,SECTION,KEY,VALUE
"statisticsserver.ini","DEFAULT","","","memorymanager","allocationlimit","5%"
"statisticsserver.ini","SYSTEM","","","memorymanager","allocationlimit","50"
"global.ini","DEFAULT","","","memorymanager","allocationlimit",""
I tried to change the:
global.ini [memorymanager] allocationlimit to 117760 (value from oom dump)
but get a error:
[129]: transaction rolled back by an internal error: exception 1000002: Allocation failed; $size$=1048567; $name$=QueryCompilation; $type$=pool; $inuse_count$=2; $allocated_size$=352, $allignment$=16
Should I also include a <global_allocation_limit> in the indexserver.ini file? What value, from oom dump is 32650 the correct value?
Thanks
The originally critical allocator Pool/PersistenceManager/LogRecovery is used to store 4 log segments in memory during recovery. A size of 4 GB indicates that you have increased the default statistics server log segment size of 64 MB to 1 GB. Is this correct? What is the output of the following command?
SELECT * FROM M_INIFILE_CONTENTS WHERE KEY = 'log_segment_size_mb'
Hi,
Apologies, I tried to fix the allocationlimit to "20%", and noticed hdbstudio had disconnected from the database [same 129 as above]. When I tried reconnecting it asked for the <sid>adm username and password, so I bounced HANA.
Now I cannot start HANA and is getting this error:
😆 HDB start
StartService
Impromptu CCC initialization by 'rscpCInit'.
See SAP note 1266393.
OK
OK
Starting instance using: /usr/sap/HDB/SYS/exe/hdb/sapcontrol -prot NI_HTTP -nr 00 -function StartWait 2700 2
08.06.2015 16:48:24
Start
OK
08.06.2015 16:48:34
StartWait
FAIL: process hdbdaemon HDB Daemon not running
😆 hdbdaemon
Environment variable IQDIR16 must be set before using HDB configured with DT
Environment variable STREAMING_HOME must be set before using HDB configured with Streaming Server
Yes, I did change the log_segment_size_mb to 64 mb previously - tried to get the log backups to run only every 30 min.
I notice error in oom:
[MEMORY_OOM] Information about current out of memory situation: (2015-06-08 16:41:29 169 Local)
OUT OF MEMORY occurred.
Host: S4ZAJ1SYLX16
Executable: hdbnameserver
PID: 14119
Failed to allocate 33024 byte.
Hi,
I believe applying to latest revision(96) can help you.
Thanks,
Mofizur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.