并发连接数调优

This commit is contained in:
三丙
2024-12-09 10:47:11 +08:00
parent 7dc5b0ea25
commit 5cd8c0a08e
3 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
echo "Starting Server ..."
export JAVA_APP_OPTS="-XX:+UseContainerSupport -XX:InitialRAMPercentage=10 -XX:MaxRAMPercentage=70 \
export JAVA_APP_OPTS="-XX:+UseContainerSupport -XX:InitialRAMPercentage=50 -XX:MaxRAMPercentage=90 \
-Xlog:gc*,heap*,age*,safepoint=debug:file=/home/sanbing/logs/gc/gc.log:time,uptime,level,tags:filecount=10,filesize=10M \
-XX:+HeapDumpOnOutOfMemoryError \
-XX:HeapDumpPath=/home/sanbing/logs/heapdump/ \