This is an automated email from the ASF dual-hosted git repository.
github-merge-queue[bot] pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 1d0e6509a0 [Improve][Zeta] Harden default JVM options for engine nodes
(#13359)
1d0e6509a0 is described below
commit 1d0e6509a0aba3e34219a1a7ae370913f0150b2a
Author: Jast <[email protected]>
AuthorDate: Thu Nov 19 11:47:09 2026 +0000
[Improve][Zeta] Harden default JVM options for engine nodes (#13359)
---
config/jvm_master_options | 14 ++++++++++++++
config/jvm_options | 14 ++++++++++++++
config/jvm_worker_options | 14 ++++++++++++++
3 files changed, 42 insertions(+)
diff --git a/config/jvm_master_options b/config/jvm_master_options
index cebd38e4b1..06ae1a65ba 100644
--- a/config/jvm_master_options
+++ b/config/jvm_master_options
@@ -60,9 +60,23 @@
# JVM Dump
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/tmp/seatunnel/dump/zeta-server
+# Exit once the dump has been written. A member whose heap is exhausted cannot
serve
+# tasks, but it keeps heartbeating and keeps receiving work, so the cluster
sees a
+# healthy node that never finishes anything. Exiting hands recovery to the
supervisor
+# and to the job failover path instead.
+-XX:+ExitOnOutOfMemoryError
# Metaspace
+# Raise the initial high-water mark. The JVM default is about 20 MB, so the
first
+# class loading burst here (engine startup plus connector plugin loading,
which is
+# amplified by classloader-cache-mode) trips a metadata GC cycle before the
node has
+# done any real work.
+-XX:MetaspaceSize=256m
-XX:MaxMetaspaceSize=2g
# G1GC
-XX:+UseG1GC
+# Netty (direct buffer cleanup), RMI and some JDBC drivers call System.gc()
from time
+# to time. The default reaction is a stop-the-world full GC; on a
multi-gigabyte heap
+# that is a minutes-long pause. Convert those calls into a concurrent cycle
instead.
+-XX:+ExplicitGCInvokesConcurrent
diff --git a/config/jvm_options b/config/jvm_options
index 34c44ad4b0..82d7799481 100644
--- a/config/jvm_options
+++ b/config/jvm_options
@@ -60,12 +60,26 @@
# JVM Dump
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/tmp/seatunnel/dump/zeta-server
+# Exit once the dump has been written. A member whose heap is exhausted cannot
serve
+# tasks, but it keeps heartbeating and keeps receiving work, so the cluster
sees a
+# healthy node that never finishes anything. Exiting hands recovery to the
supervisor
+# and to the job failover path instead.
+-XX:+ExitOnOutOfMemoryError
# Metaspace
+# Raise the initial high-water mark. The JVM default is about 20 MB, so the
first
+# class loading burst here (engine startup plus connector plugin loading,
which is
+# amplified by classloader-cache-mode) trips a metadata GC cycle before the
node has
+# done any real work.
+-XX:MetaspaceSize=256m
-XX:MaxMetaspaceSize=2g
# G1GC
-XX:+UseG1GC
+# Netty (direct buffer cleanup), RMI and some JDBC drivers call System.gc()
from time
+# to time. The default reaction is a stop-the-world full GC; on a
multi-gigabyte heap
+# that is a minutes-long pause. Convert those calls into a concurrent cycle
instead.
+-XX:+ExplicitGCInvokesConcurrent
# GC Logging
# Uncomment the following options to enable GC logging for troubleshooting and
performance analysis.
diff --git a/config/jvm_worker_options b/config/jvm_worker_options
index cebd38e4b1..06ae1a65ba 100644
--- a/config/jvm_worker_options
+++ b/config/jvm_worker_options
@@ -60,9 +60,23 @@
# JVM Dump
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/tmp/seatunnel/dump/zeta-server
+# Exit once the dump has been written. A member whose heap is exhausted cannot
serve
+# tasks, but it keeps heartbeating and keeps receiving work, so the cluster
sees a
+# healthy node that never finishes anything. Exiting hands recovery to the
supervisor
+# and to the job failover path instead.
+-XX:+ExitOnOutOfMemoryError
# Metaspace
+# Raise the initial high-water mark. The JVM default is about 20 MB, so the
first
+# class loading burst here (engine startup plus connector plugin loading,
which is
+# amplified by classloader-cache-mode) trips a metadata GC cycle before the
node has
+# done any real work.
+-XX:MetaspaceSize=256m
-XX:MaxMetaspaceSize=2g
# G1GC
-XX:+UseG1GC
+# Netty (direct buffer cleanup), RMI and some JDBC drivers call System.gc()
from time
+# to time. The default reaction is a stop-the-world full GC; on a
multi-gigabyte heap
+# that is a minutes-long pause. Convert those calls into a concurrent cycle
instead.
+-XX:+ExplicitGCInvokesConcurrent