实例服务器 jvm参数信息

1、请求多的 大jvm 类型:实例规格计算型3 (4C5G -Xmx=4096M 堆外1024M #大流量业务、大JVM)  10台+ 能抗住每秒1000 请求,tp99:500ms 内 

2、请求少的后台管理jvm类型:基础型2 (2C2G -Xmx=1024M 堆外1024M #man端、管理端 )

一、请求多的 大jvm 类型

MACHINE-NAME 1@open-private-gateway-gz01a-blue-86c6565dfc-2tnpb
JVM-START-TIME 2024-02-09 00:03:27
MANAGEMENT-SPEC-VERSION 1.2
SPEC-NAME Java Virtual Machine Specification
SPEC-VENDOR Oracle Corporation
SPEC-VERSION 1.8
VM-NAME OpenJDK 64-Bit Server VM
VM-VENDOR Oracle Corporation
VM-VERSION 25.322-b06
INPUT-ARGUMENTS -javaagent:/web/servers/dsw-agent/dsw-agent.jar
-Xms4096M
-Xmx4096M
-Xmn1536M
-Xss256K
-Dfile.encoding=UTF8
-XX:MaxDirectMemorySize=512M
-XX:ReservedCodeCacheSize=256M
-XX:+UseConcMarkSweepGC
-XX:+UseCMSCompactAtFullCollection
-XX:CMSInitiatingOccupancyFraction=70
-XX:+CMSParallelRemarkEnabled
-XX:SoftRefLRUPolicyMSPerMB=500
-XX:+CMSClassUnloadingEnabled
-XX:ParallelGCThreads=4
-XX:ConcGCThreads=1
-XX:SurvivorRatio=8
-Djava.awt.headless=true
-Djava.net.preferIPv4Stack=true
-Dsun.net.client.defaultConnectTimeout=60000
-Dsun.net.client.defaultReadTimeout=60000
-Ddubbo.protocol.port=20880
-Ddubbo.application.flag=blue
-Ddubbo.application.shared=true
-Ddubbo.application.region=gz01a
-Ddmall.traffic.group.code=blue
-Ddmall.zone.code=gz01a
-Dcom.dmall.zone=gz01
-Dcom.dmall.group=blue
-Dcom.dmall.physical.dc=a
-XX:MaxMetaspaceSize=256M
-Dsun.net.inetaddr.ttl=30
-Dnetworkaddress.cache.ttl=30
-Ddump.directory=/web/logs/jvm/open-private-gateway/10.28.100.136_4bc3dfe5b0
-XX:+PrintGCDetails
-XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=10
-XX:GCLogFileSize=20M
-XX:+PrintGCDateStamps
-Xloggc:/web/logs/jvm/open-private-gateway/10.28.100.136_4bc3dfe5b0/gc.log
-XX:+HeapDumpOnOutOfMemoryError
-XX:ErrorFile=/web/logs/jvm/open-private-gateway/10.28.100.136_4bc3dfe5b0/jvm_error.log
-XX:HeapDumpPath=/web/logs/jvm/open-private-gateway/10.28.100.136_4bc3dfe5b0/jvm_dump.hprof
CLASS-PATH app.jar:/web/servers/dsw-agent/dsw-agent.jar
BOOT-CLASS-PATH /usr/java/openjdk1.8.0_322/jre/lib/resources.jar:/usr/java/openjdk1.8.0_322/jre/lib/rt.jar:/usr/java/openjdk1.8.0_322/jre/lib/sunrsasign.jar:/us
r/java/openjdk1.8.0_322/jre/lib/jsse.jar:/usr/java/openjdk1.8.0_322/jre/lib/jce.jar:/usr/java/openjdk1.8.0_322/jre/lib/charsets.jar:/usr/java/op
enjdk1.8.0_322/jre/lib/jfr.jar:/usr/java/openjdk1.8.0_322/jre/classes
LIBRARY-PATH /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

 

二、请求少的后台管理jvm类型

[arthas@1]$ jvm
RUNTIME
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MACHINE-NAME 1@open-private-admin-gz01a-blue-6644594c99-m8bd2
JVM-START-TIME 2024-02-01 19:49:08
MANAGEMENT-SPEC-VERSION 1.2
SPEC-NAME Java Virtual Machine Specification
SPEC-VENDOR Oracle Corporation
SPEC-VERSION 1.8
VM-NAME OpenJDK 64-Bit Server VM
VM-VENDOR Oracle Corporation
VM-VERSION 25.322-b06
INPUT-ARGUMENTS -javaagent:/web/servers/dsw-agent/dsw-agent.jar
-Xms1024M
-Xmx1024M
-Xmn384M
-Xss256K
-Dfile.encoding=UTF8
-XX:MaxDirectMemorySize=512M
-XX:ReservedCodeCacheSize=256M
-XX:+UseConcMarkSweepGC
-XX:+UseCMSCompactAtFullCollection
-XX:CMSInitiatingOccupancyFraction=70
-XX:+CMSParallelRemarkEnabled
-XX:SoftRefLRUPolicyMSPerMB=500
-XX:+CMSClassUnloadingEnabled
-XX:ParallelGCThreads=2
-XX:ConcGCThreads=1
-XX:SurvivorRatio=8
-Djava.awt.headless=true
-Djava.net.preferIPv4Stack=true
-Dsun.net.client.defaultConnectTimeout=60000
-Dsun.net.client.defaultReadTimeout=60000
-Ddubbo.protocol.port=20880
-Ddubbo.application.flag=blue
-Ddubbo.application.shared=true
-Ddubbo.application.region=gz01a
-Ddmall.traffic.group.code=blue
-Ddmall.zone.code=gz01a
-Dcom.dmall.zone=gz01
-Dcom.dmall.group=blue
-Dcom.dmall.physical.dc=a
-XX:MaxMetaspaceSize=256M
-Dsun.net.inetaddr.ttl=30
-Dnetworkaddress.cache.ttl=30
-Ddump.directory=/web/logs/jvm/open-private-admin/10.28.69.6_11c276fbac
-XX:+PrintGCDetails
-XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=10
-XX:GCLogFileSize=20M
-XX:+PrintGCDateStamps
-Xloggc:/web/logs/jvm/open-private-admin/10.28.69.6_11c276fbac/gc.log
-XX:+HeapDumpOnOutOfMemoryError
-XX:ErrorFile=/web/logs/jvm/open-private-admin/10.28.69.6_11c276fbac/jvm_error.log
-XX:HeapDumpPath=/web/logs/jvm/open-private-admin/10.28.69.6_11c276fbac/jvm_dump.hprof
CLASS-PATH app.jar:/web/servers/dsw-agent/dsw-agent.jar
BOOT-CLASS-PATH /usr/java/openjdk1.8.0_322/jre/lib/resources.jar:/usr/java/openjdk1.8.0_322/jre/lib/rt.jar:/usr/java/openjdk1.8.0_322/jre/lib/sunrsasign.jar:/us
r/java/openjdk1.8.0_322/jre/lib/jsse.jar:/usr/java/openjdk1.8.0_322/jre/lib/jce.jar:/usr/java/openjdk1.8.0_322/jre/lib/charsets.jar:/usr/java/op
enjdk1.8.0_322/jre/lib/jfr.jar:/usr/java/openjdk1.8.0_322/jre/classes
LIBRARY-PATH /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CLASS-LOADING
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LOADED-CLASS-COUNT 23660
TOTAL-LOADED-CLASS-COUNT 23892
UNLOADED-CLASS-COUNT 232
IS-VERBOSE false

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COMPILATION
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NAME HotSpot 64-Bit Tiered Compilers
TOTAL-COMPILE-TIME 181342
[time (ms)]

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
GARBAGE-COLLECTORS
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ParNew name : ParNew
[count/time (ms)] collectionCount : 3421
collectionTime : 56677
ConcurrentMarkSweep name : ConcurrentMarkSweep
[count/time (ms)] collectionCount : 4
collectionTime : 431

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MEMORY-MANAGERS
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CodeCacheManager Code Cache
Metaspace Manager Metaspace
Compressed Class Space
ParNew Par Eden Space
Par Survivor Space
ConcurrentMarkSweep Par Eden Space
Par Survivor Space
CMS Old Gen

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MEMORY
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HEAP-MEMORY-USAGE init : 1073741824(1.0 GiB)
[memory in bytes] used : 359380992(342.7 MiB)
committed : 1033502720(985.6 MiB)
max : 1033502720(985.6 MiB)
NO-HEAP-MEMORY-USAGE init : 2555904(2.4 MiB)
[memory in bytes] used : 219033144(208.9 MiB)
committed : 226291712(215.8 MiB)
max : 796917760(760.0 MiB)
PENDING-FINALIZE-COUNT 0

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
OPERATING-SYSTEM
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
OS Linux
ARCH amd64
PROCESSORS-COUNT 2
LOAD-AVERAGE 1.84
VERSION 4.19.12-1.el7.elrepo.x86_64

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
THREAD
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COUNT 134
DAEMON-COUNT 104
PEAK-COUNT 184
STARTED-COUNT 19576
DEADLOCK-COUNT 0

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE-DESCRIPTOR
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MAX-FILE-DESCRIPTOR-COUNT 1048576
OPEN-FILE-DESCRIPTOR-COUNT 309

 

posted @ 2024-02-19 06:17  xiaoBai1001  阅读(21)  评论(0编辑  收藏  举报