You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "radu marias (JIRA)" <ji...@apache.org> on 2015/09/18 13:04:04 UTC

[jira] [Commented] (TRAFODION-1492) tdm_arkesp doesn't handle missing Committed_AS

    [ https://issues.apache.org/jira/browse/TRAFODION-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14824519#comment-14824519 ] 

radu marias commented on TRAFODION-1492:
----------------------------------------

When running hammerdb I got again a crash on 2 nodes. I noticed that before the crash for about one minute I'm getting errors for java -version and about 30 seconds after the crash the java -version worked again. So these issues might be related. Didn't yet found the problem and how to fix the java -version issue.

# java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit

# file core.5813
core.5813: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from 'tdm_udrserv SQMON1.1 00000 00000 005813 $Z0004R3 188.138.61.175:48357 00004 000'

#0  0x00007f6920ba0625 in raise () from /lib64/libc.so.6
#1  0x00007f6920ba1e05 in abort () from /lib64/libc.so.6
#2  0x0000000000424369 in comTFDS (msg1=0x43c070 "Trafodion UDR Server Internal Error", msg2=<value optimized out>, msg3=0x7fff119787f0 "Source file information unavailable", 
    msg4=0x7fff11977ff0 "User routine being processed : TRAFODION.TPCC.NEWORDER, Routine Type : Stored Procedure, Language Type : JAVA, Error occurred outside the user routine code", msg5=0x43ddc3 "", dialOut=<value optimized out>, writeToSeaLog=1) at ../udrserv/UdrFFDC.cpp:191
#3  0x00000000004245d7 in makeTFDSCall (msg=0x7f692324b310 "The Java virtual machine aborted", file=<value optimized out>, line=<value optimized out>, dialOut=1, writeToSeaLog=1) at ../udrserv/UdrFFDC.cpp:219
#4  0x00007f69232316b8 in LmJavaHooks::abortHookJVM () at ../langman/LmJavaHooks.cpp:54
#5  0x00007f69229cbbc6 in ParallelScavengeHeap::initialize() () from /usr/jdk64/jdk1.7.0_67/jre/lib/amd64/server/libjvm.so
#6  0x00007f6922afedba in Universe::initialize_heap() () from /usr/jdk64/jdk1.7.0_67/jre/lib/amd64/server/libjvm.so
#7  0x00007f6922afff89 in universe_init() () from /usr/jdk64/jdk1.7.0_67/jre/lib/amd64/server/libjvm.so
#8  0x00007f692273d9f5 in init_globals() () from /usr/jdk64/jdk1.7.0_67/jre/lib/amd64/server/libjvm.so
#9  0x00007f6922ae78ed in Threads::create_vm(JavaVMInitArgs*, bool*) () from /usr/jdk64/jdk1.7.0_67/jre/lib/amd64/server/libjvm.so
#10 0x00007f69227c5a34 in JNI_CreateJavaVM () from /usr/jdk64/jdk1.7.0_67/jre/lib/amd64/server/libjvm.so
#11 0x00007f692322de51 in LmLanguageManagerJava::initialize (this=<value optimized out>, result=<value optimized out>, maxLMJava=<value optimized out>, userOptions=0x7f69239ba418, diagsArea=<value optimized out>) at ../langman/LmLangManagerJava.cpp:379
#12 0x00007f692322f564 in LmLanguageManagerJava::LmLanguageManagerJava (this=0x7f69239bec38, result=@0x7fff1197e19c, commandLineMode=<value optimized out>, maxLMJava=1, userOptions=0x7f69239ba418, diagsArea=0x7f6923991780) at ../langman/LmLangManagerJava.cpp:155
#13 0x0000000000425619 in UdrGlobals::getOrCreateJavaLM (this=0x7f69239ba040, result=@0x7fff1197e19c, diags=<value optimized out>) at ../udrserv/udrglobals.cpp:322
#14 0x0000000000427328 in processALoadMessage (UdrGlob=0x7f69239ba040, msgStream=..., request=..., env=<value optimized out>) at ../udrserv/udrload.cpp:163
#15 0x000000000042fbfd in processARequest (UdrGlob=0x7f69239ba040, msgStream=..., env=...) at ../udrserv/udrserv.cpp:660
#16 0x000000000043269c in runServer (argc=2, argv=0x7fff1197e528) at ../udrserv/udrserv.cpp:520
#17 0x000000000043294e in main (argc=2, argv=0x7fff1197e528) at ../udrserv/udrserv.cpp:356

> tdm_arkesp doesn't handle missing Committed_AS
> ----------------------------------------------
>
>                 Key: TRAFODION-1492
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1492
>             Project: Apache Trafodion
>          Issue Type: Bug
>            Reporter: radu marias
>
> Core dumped by tdm_arkesp processes. Trafodion engine has assumed the entity /proc/meminfo/Committed_AS is available in all flavors of linux. The
> absence of this entity is not handled correctly by the trafodion tdm_arkesp
> process and hence it dumped core.
> I think another fix was made related to Committed_AS in sql/cli/memmonitor.cpp.
> This is a response from Narendra in a previous thread where the issue was fixed to start the trafodion:
> "I updated the code: sql/cli/memmonitor.cpp, so that if /proc/meminfo does not have the 'Committed_AS' entry, it will ignore it.
>  
> Built it and put the binary: libcli.so on the veracity box (in the $MY_SQROOT/export/lib64 directory - on all the nodes).
>  
> Restarted the env and 'sqlci' worked fine. Was able to 'initialize trafodion' and create a table."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)