Skip to content

Commit

Permalink
Adding jute.maxBuffer in java opts as an example (#15047)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangfu0 authored Feb 12, 2025
1 parent 7fcb82c commit 09a7ab5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions helm/pinot/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ controller:
host: pinot-controller
port: 9000

jvmOpts: "-XX:ActiveProcessorCount=2 -Xms256M -Xmx1G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xlog:gc*:file=/opt/pinot/gc-pinot-controller.log"
jvmOpts: "-XX:ActiveProcessorCount=2 -Xms256M -Xmx1G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xlog:gc*:file=/opt/pinot/gc-pinot-controller.log -Djute.maxbuffer=4000000"

log4j2ConfFile: /opt/pinot/etc/conf/pinot-controller-log4j2.xml
pluginsDir: /opt/pinot/plugins
Expand Down Expand Up @@ -241,7 +241,7 @@ broker:
securityContext: {}
startCommand: "StartBroker"

jvmOpts: "-XX:ActiveProcessorCount=2 -Xms256M -Xmx1G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xlog:gc*:file=/opt/pinot/gc-pinot-broker.log"
jvmOpts: "-XX:ActiveProcessorCount=2 -Xms256M -Xmx1G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xlog:gc*:file=/opt/pinot/gc-pinot-broker.log -Djute.maxbuffer=4000000"

log4j2ConfFile: /opt/pinot/etc/conf/pinot-broker-log4j2.xml
pluginsDir: /opt/pinot/plugins
Expand Down Expand Up @@ -419,7 +419,7 @@ server:
extraVolumes: []
extraVolumeMounts: []

jvmOpts: "-Xms512M -Xmx1G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xlog:gc*:file=/opt/pinot/gc-pinot-server.log"
jvmOpts: "-Xms512M -Xmx1G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xlog:gc*:file=/opt/pinot/gc-pinot-server.log -Djute.maxbuffer=4000000"

log4j2ConfFile: /opt/pinot/etc/conf/pinot-server-log4j2.xml
pluginsDir: /opt/pinot/plugins
Expand Down Expand Up @@ -532,7 +532,7 @@ minion:
periodSeconds: 10

dataDir: /var/pinot/minion/data
jvmOpts: "-XX:ActiveProcessorCount=2 -Xms256M -Xmx1G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xlog:gc*:file=/opt/pinot/gc-pinot-minion.log"
jvmOpts: "-XX:ActiveProcessorCount=2 -Xms256M -Xmx1G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xlog:gc*:file=/opt/pinot/gc-pinot-minion.log -Djute.maxbuffer=4000000"

log4j2ConfFile: /opt/pinot/etc/conf/pinot-minion-log4j2.xml
pluginsDir: /opt/pinot/plugins
Expand Down Expand Up @@ -643,7 +643,7 @@ minionStateless:
periodSeconds: 10

dataDir: /var/pinot/minion/data
jvmOpts: "-XX:ActiveProcessorCount=2 -Xms256M -Xmx1G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xlog:gc*:file=/opt/pinot/gc-pinot-minion.log"
jvmOpts: "-XX:ActiveProcessorCount=2 -Xms256M -Xmx1G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xlog:gc*:file=/opt/pinot/gc-pinot-minion.log -Djute.maxbuffer=4000000"

log4j2ConfFile: /opt/pinot/etc/conf/pinot-minion-log4j2.xml
pluginsDir: /opt/pinot/plugins
Expand Down Expand Up @@ -742,6 +742,9 @@ zookeeper:
## This env var is ignored if Xmx an Xms are configured via `zookeeper.jvmFlags`
heapSize: "1024"

## Extra JVM Flags for Zookeeper
jvmFlags: "-Djute.maxbuffer=4000000"

persistence:
enabled: true
## The amount of PV storage allocated to each Zookeeper pod in the statefulset
Expand Down

0 comments on commit 09a7ab5

Please sign in to comment.