Skip to content

Instantly share code, notes, and snippets.

@carlosjgp
Created March 12, 2020 10:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlosjgp/92b0b152a29e3b1880873e8d09db73f6 to your computer and use it in GitHub Desktop.
Save carlosjgp/92b0b152a29e3b1880873e8d09db73f6 to your computer and use it in GitHub Desktop.
Strimzi Topic Operator 0.16.2 with -Xmx
+ shift
+ . /opt/strimzi/bin/dynamic_resources.sh
++ get_heap_size
+++ cat /sys/fs/cgroup/memory/memory.limit_in_bytes
++ CONTAINER_MEMORY_IN_BYTES=536870912
++ DEFAULT_MEMORY_CEILING=32505856
++ '[' 536870912 -lt 32505856 ']'
+ MAX_HEAP=
+ '[' -n '' ']'
+ export MALLOC_ARENA_MAX=2
+ MALLOC_ARENA_MAX=2
+ JAVA_OPTS='-Xmx480m -Dvertx.cacheDirBase=/tmp -Djava.security.egd=file:/dev/./urandom'
++ get_gc_opts
++ '[' true == true ']'
+++ sed -E -n 's/.* version "([0-9]*).*$/\1/p'
+++ java -version
++ JAVA_MAJOR_VERSION=1
++ '[' 1 -ge 9 ']'
++ echo '-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:NativeMemoryTracking=summary'
+ JAVA_OPTS='-Xmx480m -Dvertx.cacheDirBase=/tmp -Djava.security.egd=file:/dev/./urandom -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:NativeMemoryTracking=summary'
+ exec /usr/bin/tini -w -e 143 -- java -Xmx480m -Dvertx.cacheDirBase=/tmp -Djava.security.egd=file:/dev/./urandom -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:NativeMemoryTracking=summary -classpath lib/io.strimzi.topic-operator-0.16.2.jar:lib/io.netty.netty-codec-http2-4.1.42.Final.jar:lib/com.squareup.okhttp3.okhttp-3.12.0.jar:lib/com.101tec.zkclient-0.11.jar:lib/com.squareup.okio.okio-1.15.0.jar:lib/io.netty.netty-common-4.1.42.Final.jar:lib/org.junit.platform.junit-platform-engine-1.5.1.jar:lib/org.apache.zookeeper.zookeeper-3.4.14.jar:lib/org.opentest4j.opentest4j-1.2.0.jar:lib/org.xerial.snappy.snappy-java-1.1.7.3.jar:lib/com.fasterxml.jackson.core.jackson-annotations-2.9.10.jar:lib/com.fasterxml.jackson.core.jackson-core-2.9.10.jar:lib/org.apache.yetus.audience-annotations-0.5.0.jar:lib/io.netty.netty-codec-socks-4.1.42.Final.jar:lib/io.netty.netty-transport-4.1.42.Final.jar:lib/com.fasterxml.jackson.core.jackson-databind-2.9.10.1.jar:lib/io.fabric8.kubernetes-model-common-4.6.2.jar:lib/com.fasterxml.jackson.module.jackson-module-jaxb-annotations-2.9.10.jar:lib/io.strimzi.certificate-manager-0.16.2.jar:lib/org.apache.logging.log4j.log4j-slf4j-impl-2.11.1.jar:lib/io.fabric8.kubernetes-client-4.6.2.jar:lib/com.github.mifmif.generex-1.0.2.jar:lib/io.netty.netty-codec-dns-4.1.42.Final.jar:lib/io.netty.netty-handler-proxy-4.1.42.Final.jar:lib/io.netty.netty-resolver-4.1.42.Final.jar:lib/org.apache.logging.log4j.log4j-api-2.11.1.jar:lib/org.apache.kafka.kafka-clients-2.3.1.jar:lib/com.squareup.okhttp3.logging-interceptor-3.12.6.jar:lib/org.junit.platform.junit-platform-launcher-1.5.1.jar:lib/io.netty.netty-codec-4.1.42.Final.jar:lib/io.strimzi.operator-common-0.16.2.jar:lib/org.apache.logging.log4j.log4j-core-2.11.1.jar:lib/io.fabric8.kubernetes-model-4.6.2.jar:lib/io.netty.netty-resolver-dns-4.1.42.Final.jar:lib/org.junit.jupiter.junit-jupiter-engine-5.5.1.jar:lib/dk.brics.automaton.automaton-1.11-8.jar:lib/com.github.luben.zstd-jni-1.4.0-1.jar:lib/org.apiguardian.apiguardian-api-1.1.0.jar:lib/io.vertx.vertx-core-3.8.4.jar:lib/io.fabric8.openshift-client-4.6.2.jar:lib/io.fabric8.zjsonpatch-0.3.0.jar:lib/org.lz4.lz4-java-1.6.0.jar:lib/io.strimzi.api-0.16.2.jar:lib/io.netty.netty-buffer-4.1.42.Final.jar:lib/io.netty.netty-codec-http-4.1.42.Final.jar:lib/io.strimzi.crd-annotations-0.16.2.jar:lib/org.slf4j.slf4j-api-1.7.25.jar:lib/org.junit.platform.junit-platform-commons-1.5.1.jar:lib/org.yaml.snakeyaml-1.23.jar:lib/io.netty.netty-handler-4.1.42.Final.jar:lib/com.fasterxml.jackson.dataformat.jackson-dataformat-yaml-2.9.10.jar io.strimzi.operator.topic.Main
2020-03-12T09:32:31.756+0000: 0.194: [GC (Allocation Failure) 2020-03-12T09:32:31.756+0000: 0.194: [DefNew: 2168K->256K(2432K), 0.0016476 secs] 2168K->559K(7936K), 0.0016888 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2020-03-12T09:32:31.874+0000: 0.313: [GC (Allocation Failure) 2020-03-12T09:32:31.874+0000: 0.313: [DefNew: 2432K->256K(2432K), 0.0014583 secs] 2735K->950K(7936K), 0.0014941 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
2020-03-12T09:32:31.965+0000: 0.403: [GC (Allocation Failure) 2020-03-12T09:32:31.965+0000: 0.404: [DefNew: 2432K->152K(2432K), 0.0012722 secs] 3126K->1068K(7936K), 0.0013148 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
2020-03-12T09:32:32.070+0000: 0.508: [GC (Allocation Failure) 2020-03-12T09:32:32.070+0000: 0.508: [DefNew: 2328K->255K(2432K), 0.0009111 secs] 3244K->1363K(7936K), 0.0009539 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
2020-03-12T09:32:32.172+0000: 0.610: [GC (Allocation Failure) 2020-03-12T09:32:32.172+0000: 0.610: [DefNew: 2431K->256K(2432K), 0.0011097 secs] 3539K->1606K(7936K), 0.0011445 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2020-03-12T09:32:32.268+0000: 0.706: [GC (Allocation Failure) 2020-03-12T09:32:32.268+0000: 0.706: [DefNew: 2431K->255K(2432K), 0.0008449 secs] 3781K->1821K(7936K), 0.0008839 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
2020-03-12T09:32:32.362+0000: 0.800: [GC (Allocation Failure) 2020-03-12T09:32:32.362+0000: 0.800: [DefNew: 2431K->255K(2432K), 0.0006646 secs] 3997K->1945K(7936K), 0.0007058 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2020-03-12T09:32:32.376+0000: 0.814: [GC (Allocation Failure) 2020-03-12T09:32:32.376+0000: 0.814: [DefNew: 2431K->255K(2432K), 0.0008079 secs] 4121K->2029K(7936K), 0.0008516 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
2020-03-12T09:32:32.563+0000: 1.001: [GC (Allocation Failure) 2020-03-12T09:32:32.563+0000: 1.001: [DefNew: 2431K->256K(2432K), 0.0013297 secs] 4205K->2165K(7936K), 0.0013734 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2020-03-12T09:32:32.662+0000: 1.100: [GC (Allocation Failure) 2020-03-12T09:32:32.662+0000: 1.101: [DefNew: 2378K->256K(2432K), 0.0019835 secs] 4287K->2620K(7936K), 0.0020295 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2020-03-12T09:32:32.755+0000: 1.193: [GC (Allocation Failure) 2020-03-12T09:32:32.755+0000: 1.193: [DefNew: 2432K->235K(2432K), 0.0011543 secs] 4796K->2792K(7936K), 0.0011929 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2020-03-12T09:32:32.955+0000: 1.393: [GC (Allocation Failure) 2020-03-12T09:32:32.955+0000: 1.393: [DefNew: 2411K->255K(2432K), 0.0020071 secs] 4968K->2952K(7936K), 0.0020523 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2020-03-12T09:32:33.069+0000: 1.507: [GC (Allocation Failure) 2020-03-12T09:32:33.069+0000: 1.507: [DefNew: 2431K->255K(2432K), 0.0018338 secs] 5128K->3156K(7936K), 0.0018801 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
2020-03-12 09:32:33 INFO Main:27 - TopicOperator 0.16.2 is starting
2020-03-12T09:32:33.274+0000: 1.712: [GC (Allocation Failure) 2020-03-12T09:32:33.274+0000: 1.712: [DefNew: 2427K->256K(2432K), 0.0020122 secs] 5327K->3588K(7936K), 0.0020507 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2020-03-12T09:32:33.370+0000: 1.809: [GC (Allocation Failure) 2020-03-12T09:32:33.370+0000: 1.809: [DefNew: 2432K->255K(2432K), 0.0015019 secs] 5764K->3896K(7936K), 0.0015427 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2020-03-12T09:32:33.753+0000: 2.191: [GC (Allocation Failure) 2020-03-12T09:32:33.753+0000: 2.191: [DefNew: 2431K->255K(2432K), 0.0018840 secs] 6072K->4086K(7936K), 0.0019303 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2020-03-12T09:32:33.876+0000: 2.314: [GC (Allocation Failure) 2020-03-12T09:32:33.876+0000: 2.314: [DefNew: 2431K->256K(2432K), 0.0027303 secs] 6262K->4665K(7936K), 0.0027695 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
2020-03-12T09:32:33.964+0000: 2.403: [GC (Allocation Failure) 2020-03-12T09:32:33.964+0000: 2.403: [DefNew: 2304K->256K(2432K), 0.0024506 secs] 6714K->5107K(7936K), 0.0024950 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2020-03-12T09:32:34.068+0000: 2.506: [GC (Allocation Failure) 2020-03-12T09:32:34.068+0000: 2.506: [DefNew: 2432K->255K(2432K), 0.0017796 secs] 7283K->5578K(7936K), 0.0018209 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
2020-03-12T09:32:34.258+0000: 2.696: [GC (Allocation Failure) 2020-03-12T09:32:34.258+0000: 2.696: [DefNew: 2431K->255K(2432K), 0.0019894 secs]2020-03-12T09:32:34.260+0000: 2.698: [Tenured: 5802K->4911K(5956K), 0.0133636 secs] 7754K->4911K(8388K), [Metaspace: 14078K->14078K(1062912K)], 0.0154571 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
2020-03-12T09:32:34.561+0000: 2.999: [GC (Allocation Failure) 2020-03-12T09:32:34.561+0000: 2.999: [DefNew: 3392K->383K(3776K), 0.0025455 secs] 8303K->5714K(11964K), 0.0025855 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
2020-03-12T09:32:34.660+0000: 3.098: [GC (Allocation Failure) 2020-03-12T09:32:34.660+0000: 3.098: [DefNew: 3775K->384K(3776K), 0.0022809 secs] 9106K->6321K(11964K), 0.0023214 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
2020-03-12T09:32:34.766+0000: 3.204: [GC (Allocation Failure) 2020-03-12T09:32:34.766+0000: 3.204: [DefNew: 3776K->384K(3776K), 0.0019507 secs] 9713K->6736K(11964K), 0.0019883 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2020-03-12T09:32:34.954+0000: 3.392: [GC (Allocation Failure) 2020-03-12T09:32:34.954+0000: 3.392: [DefNew: 3776K->384K(3776K), 0.0020687 secs] 10128K->7248K(11964K), 0.0021118 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2020-03-12 09:32:34 INFO Session:59 - Using config:
STRIMZI_TRUSTSTORE_LOCATION:
STRIMZI_RESOURCE_LABELS: strimzi.io/cluster=msk
STRIMZI_KAFKA_BOOTSTRAP_SERVERS: xxx
STRIMZI_NAMESPACE: strimzi
STRIMZI_ZOOKEEPER_SESSION_TIMEOUT_MS: 20000
STRIMZI_FULL_RECONCILIATION_INTERVAL_MS: 90000
STRIMZI_ZOOKEEPER_CONNECT: yyyyy
STRIMZI_TLS_ENABLED: false
STRIMZI_KEYSTORE_PASSWORD:
STRIMZI_TOPIC_METADATA_MAX_ATTEMPTS: 6
STRIMZI_REASSIGN_VERIFY_INTERVAL_MS: 120000
STRIMZI_KEYSTORE_LOCATION:
TC_ZK_CONNECTION_TIMEOUT_MS: 20000
STRIMZI_TRUSTSTORE_PASSWORD:
STRIMZI_REASSIGN_THROTTLE: 9223372036854775807
2020-03-12 09:32:34 INFO Session:129 - Starting
2020-03-12 09:32:34 INFO AdminClientConfig:347 - AdminClientConfig values:
bootstrap.servers = [xxxx]
client.dns.lookup = default
client.id =
connections.max.idle.ms = 300000
metadata.max.age.ms = 300000
metric.reporters = []
metrics.num.samples = 2
metrics.recording.level = INFO
metrics.sample.window.ms = 30000
receive.buffer.bytes = 65536
reconnect.backoff.max.ms = 1000
reconnect.backoff.ms = 50
request.timeout.ms = 120000
retries = 5
retry.backoff.ms = 100
sasl.client.callback.handler.class = null
sasl.jaas.config = null
sasl.kerberos.kinit.cmd = /usr/bin/kinit
sasl.kerberos.min.time.before.relogin = 60000
sasl.kerberos.service.name = null
sasl.kerberos.ticket.renew.jitter = 0.05
sasl.kerberos.ticket.renew.window.factor = 0.8
sasl.login.callback.handler.class = null
sasl.login.class = null
sasl.login.refresh.buffer.seconds = 300
sasl.login.refresh.min.period.seconds = 60
sasl.login.refresh.window.factor = 0.8
sasl.login.refresh.window.jitter = 0.05
sasl.mechanism = GSSAPI
security.protocol = PLAINTEXT
send.buffer.bytes = 131072
ssl.cipher.suites = null
ssl.enabled.protocols = [TLSv1.2, TLSv1.1, TLSv1]
ssl.endpoint.identification.algorithm = https
ssl.key.password = null
ssl.keymanager.algorithm = SunX509
ssl.keystore.location = null
ssl.keystore.password = null
ssl.keystore.type = JKS
ssl.protocol = TLS
ssl.provider = null
ssl.secure.random.implementation = null
ssl.trustmanager.algorithm = PKIX
ssl.truststore.location = null
ssl.truststore.password = null
ssl.truststore.type = JKS
2020-03-12T09:32:35.056+0000: 3.494: [GC (Allocation Failure) 2020-03-12T09:32:35.056+0000: 3.494: [DefNew: 3776K->383K(3776K), 0.0023261 secs] 10640K->7854K(11964K), 0.0023725 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
2020-03-12 09:32:35 INFO AppInfoParser:117 - Kafka version: 2.3.1
2020-03-12 09:32:35 INFO AppInfoParser:118 - Kafka commitId: 18a913733fb71c01
2020-03-12 09:32:35 INFO AppInfoParser:119 - Kafka startTimeMs: 1584005555161
2020-03-12T09:32:35.164+0000: 3.603: [GC (Allocation Failure) 2020-03-12T09:32:35.164+0000: 3.603: [DefNew: 3775K->383K(3776K), 0.0019675 secs] 11246K->8254K(11964K), 0.0020074 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2020-03-12 09:32:35 INFO ZkEventThread:65 - Starting ZkClient event thread.
2020-03-12T09:32:35.265+0000: 3.703: [GC (Allocation Failure) 2020-03-12T09:32:35.265+0000: 3.703: [DefNew: 3775K->384K(3776K), 0.0024041 secs]2020-03-12T09:32:35.267+0000: 3.705: [Tenured: 8329K->6583K(8380K), 0.0947594 secs] 11646K->6583K(12156K), [Metaspace: 19031K->19031K(1067008K)], 0.0972634 secs] [Times: user=0.02 sys=0.00, real=0.10 secs]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment