This is an automated email from the ASF dual-hosted git repository.

wtt40122 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozhera.git


The following commit(s) were added to refs/heads/master by this push:
     new cb3978e2 docs: fix broken JVM flags/path in best-practices deployment 
yaml (EN) (#686)
cb3978e2 is described below

commit cb3978e2f7afa27dd036b57cf10408df0b86fbe0
Author: EricDing <[email protected]>
AuthorDate: Fri Aug 28 16:34:52 2026 +0800

    docs: fix broken JVM flags/path in best-practices deployment yaml (EN) 
(#686)
    
    Co-authored-by: wtt <[email protected]>
---
 readme/best-practices/deployment.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/readme/best-practices/deployment.md 
b/readme/best-practices/deployment.md
index e48e1e1b..08539da1 100644
--- a/readme/best-practices/deployment.md
+++ b/readme/best-practices/deployment.md
@@ -41,7 +41,7 @@
 ```yaml
    containers:
      - name: trace-etl-es-container
-       command: 
["java","-Xms512M","-Xmx512M","-Xss512k","-XX:MetaspaceSize=128m","-XX:MaxMetaspaceSize=256m","-XX:MaxDirectMemorySize=512M","
 
-XX:+PrintReferenceGC","-XX:+PrintGCDetails","-XX:+PrintGCDateStamps","-XX:+PrintHeapAtGC","-Xloggc:/home/work/log/gc.log","-Duser
 
.timezone=Asia/Shanghai","-XX:+HeapDumpOnOutOfMemoryError","-XX:HeapDumpPath=/home/rocksdb/dum/oom.dump","-jar","/home/work/trace-etl-es
 /trace-etl-es-1.0.0-SNAPSHOT.jar","&&","tail","-f","/dev/null"]
+       command: 
["java","-Xms512M","-Xmx512M","-Xss512k","-XX:MetaspaceSize=128m","-XX:MaxMetaspaceSize=256m","-XX:MaxDirectMemorySize=512M","
 
-XX:+PrintReferenceGC","-XX:+PrintGCDetails","-XX:+PrintGCDateStamps","-XX:+PrintHeapAtGC","-Xloggc:/home/work/log/gc.log","-Duser.timezone=Asia/Shanghai","-XX:+HeapDumpOnOutOfMemoryError","-XX:HeapDumpPath=/home/rocksdb/dum/oom.dump","-jar","/home/work/trace-etl-es/trace-etl-es-1.0.0-SNAPSHOT.jar","&&","tail","-f","/dev/null"]
 ```
 
 ### nacos
@@ -49,7 +49,7 @@
 ```yaml
    containers:
      - name: nacos-container
-       command: ["java", "-Xms512m", "-Xmx512m", "-XX:MetaspaceSize=512M", 
"-XX:+UseG1GC", "-XX:+PrintReferenceGC", "-XX:+PrintGCDetails", 
"-XX:+PrintGCDateStamps", "-XX:+PrintHeapAtGC", "-verbose:gc", 
"-Xloggc:/home/work/log/nacos/gc.log", "-jar", "-Dnacos. standalone=true", 
"/home/work/nacos/nacos-server.jar", "--server.port=80"]
+       command: ["java", "-Xms512m", "-Xmx512m", "-XX:MetaspaceSize=512M", 
"-XX:+UseG1GC", "-XX:+PrintReferenceGC", "-XX:+PrintGCDetails", 
"-XX:+PrintGCDateStamps", "-XX:+PrintHeapAtGC", "-verbose:gc", 
"-Xloggc:/home/work/log/nacos/gc.log", "-jar", "-Dnacos.standalone=true", 
"/home/work/nacos/nacos-server.jar", "--server.port=80"]
 ```
 
 ## Steps to redeploy


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to