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

Miguel Tablado commented on KAFKA-3476:
---------------------------------------

Hi there,

With latest apache kafka 0.10.2.1, scala 2.12 and IBM JDK 8_64 I have been 
facing core dumps after starting the engine.

I have disabled JIT by adding the parameter "-Xint" to the 
KAFKA_JVM_PERFORMANCE_OPTS.

These are the resulting vars that worked for me:
export KAFKA_GC_LOG_OPTS="-Xverbosegclog:$TRACE_DIR/server-gc.log -verbose:gc 
-XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps"
export KAFKA_JVM_PERFORMANCE_OPTS="-server -Djava.awt.headless=true -Xint"

You can find some information about this on: 
https://www.ibm.com/support/knowledgecenter/SSYKE2_7.0.0/com.ibm.java.win.70.doc/diag/tools/jitpd_disable.html#jitpd_disable


>  -Xloggc is not recognised by IBM java
> --------------------------------------
>
>                 Key: KAFKA-3476
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3476
>             Project: Kafka
>          Issue Type: Bug
>          Components: admin, tools
>    Affects Versions: 0.9.0.0
>            Reporter: Khirod Patra
>
> Getting below error on AIX server.
> NOTE : java version is :
> ----------------------------------------------------------------------------------
> java version "1.8.0"
> Java(TM) SE Runtime Environment (build pap6480-20150129_02)
> IBM J9 VM (build 2.8, JRE 1.8.0 AIX ppc64-64 Compressed References 
> 20150116_231420 (JIT enabled, AOT enabled)
> J9VM - R28_Java8_GA_20150116_2030_B231420
> JIT  - tr.r14.java_20150109_82886.02
> GC   - R28_Java8_GA_20150116_2030_B231420_CMPRSS
> J9CL - 20150116_231420)
> JCL - 20150123_01 based on Oracle jdk8u31-b12
> Error :
> -------------------------------------------------------------------------------
> kafka-run-class.sh -name zookeeper -loggc  
> org.apache.zookeeper.server.quorum.QuorumPeerMain 
> ../config/zookeeper.properties
> <?xml version="1.0" ?>
> <verbosegc xmlns="http://www.ibm.com/j9/verbosegc"; 
> version="R28_Java8_GA_20150116_2030_B231420_CMPRSS">
> JVMJ9VM007E Command-line option unrecognised: 
> -Xloggc:/home/test_user/containers/kafka_2.11-0.9.0.0/bin/../logs/zookeeper-gc.log
> </verbosegc>
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to