反复启动(down了又起,没起成功down了又起,反复操作了三遍)应用服务(有多个netty服务端)的时候报这个错误:
RealServer Start OK
2018-10-30 15:46:52 INFO:2018-10-30 15:46:52 Server begin start
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f3652f90000, 32430817280, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32430817280 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /opt/Home/bin/hs_err_pid11381.log
问题原因:
在网上查询了一些资料,其原因就是服务器的物理内存太小,当前要启动的服务运行脚本里面配置的所需的内存也不大,而当前服务器上运行的进程太多,甚至是当前这个服务没有起成功,down这个服务的时候,启动服务的进程仍然存在,并没有被kill掉,导致内存更加紧张,从而导致Java程序启动需要的内存,linux给不了。
解决方法:
1、减小服务中对JVM的内存配置。
2、关必一些不必要的且占用内存大的进程。{linux上利用top命令查看所有进程,看哪些进程占用的内存太大,选择性的kill,释放内存,注意:安歇进程是不需要的。}
3、扩展内存。
目前,为了尽快解决问题,选择了第二种方案。查看所有的进程(只是列出了部分占用内存高的进程):
[root@0002 bin]# top
top - 16:33:35 up 21 days, 53 min, 2 users, load average: 0.00, 0.01, 0.05
Tasks: 223 total, 1 running, 222 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.3 us, 0.1 sy, 0.0 ni, 99.6 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 32779788 total, 21343784 free, 8999636 used, 2436368 buff/cache
KiB Swap: 4194300 total, 4194300 free, 0 used. 23287064 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
27076 root 20 0 238996 15932 1884 S 1.7 0.0 4:51.84 python
512 root 20 0 4380 676 520 S 0.3 0.0 2:05.48 rngd
1324 root 20 0 17.376g 1.498g 20384 S 0.3 4.8 121:17.07 java
30360 root 20 0 7083100 206492 14060 S 0.3 0.6 82:12.53 java
30461 root 20 0 11.500g 1.138g 19800 S 0.3 3.6 17:25.63 java
32403 root 20 0 13.038g 1.416g 20404 S 0.3 4.5 37:00.19 java
然后,kill掉占用内存高的java进程。
最后,重启服务,重启成功。
也可以这个样操作,查看有多少个java进程:
ps -ef|grep java
如果很多的话使用
pkill -9 java 杀死掉所有进程
启动失败日志hs_err_pid11381.log信息:
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32430817280 bytes for committing reserved memory.
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Use 64 bit Java on a 64 bit OS
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
# Out of Memory Error (os_linux.cpp:2756), pid=11381, tid=139905500460800
#
# JRE version: (7.0_79-b15) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.79-b02 mixed mode linux-amd64 compressed oops)
# Core dump written. Default location: /opt/IEMSHome/bin/core or core.11381
#
--------------- T H R E A D ---------------
Current thread (0x00007f3e40013000): JavaThread "Unknown thread" [_thread_in_vm, id=11408, stack(0x00007f3e49983000,0x00007f3e49a84000)]
Stack: [0x00007f3e49983000,0x00007f3e49a84000], sp=0x00007f3e49a82360, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x9a32da] VMError::report_and_die()+0x2ea
V [libjvm.so+0x497f7b] report_vm_out_of_memory(char const*, int, unsigned long, char const*)+0x9b
V [libjvm.so+0x81fcce] os::Linux::commit_memory_impl(char*, unsigned long, bool)+0xfe
V [libjvm.so+0x820219] os::pd_commit_memory(char*, unsigned long, unsigned long, bool)+0x29
V [libjvm.so+0x819faa] os::commit_memory(char*, unsigned long, unsigned long, bool)+0x2a
V [libjvm.so+0x99eae9] VirtualSpace::expand_by(unsigned long, bool)+0x1c9
V [libjvm.so+0x99ec6d] VirtualSpace::initialize(ReservedSpace, unsigned long)+0xcd
V [libjvm.so+0x57962f] CardGeneration::CardGeneration(ReservedSpace, unsigned long, int, GenRemSet*)+0x11f
V [libjvm.so+0x46ceed] ConcurrentMarkSweepGeneration::ConcurrentMarkSweepGeneration(ReservedSpace, unsigned long, int, CardTableRS*, bool, FreeBlockDictionary::DictionaryChoice)+0x5d
V [libjvm.so+0x57a906] GenerationSpec::init(ReservedSpace, int, GenRemSet*)+0x106
V [libjvm.so+0x56afe4] GenCollectedHeap::initialize()+0x344
V [libjvm.so+0x9751aa] Universe::initialize_heap()+0xca
V [libjvm.so+0x976379] universe_init()+0x79
V [libjvm.so+0x5b1d25] init_globals()+0x65
V [libjvm.so+0x95dc6d] Threads::create_vm(JavaVMInitArgs*, bool*)+0x1ed
V [libjvm.so+0x639fe4] JNI_CreateJavaVM+0x74
C [libjli.so+0x2f8e] JavaMain+0x9e
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
Other Threads:
=>0x00007f3e40013000 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=11408, stack(0x00007f3e49983000,0x00007f3e49a84000)]
VM state:not at safepoint (not fully initialized)
VM Mutex/Monitor currently owned by a thread: None
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Internal exceptions (0 events):
No events
Events (0 events):
No events
Dynamic libraries:
00400000-00401000 r-xp 00000000 fd:02 1557508 /usr/java/jre/bin/java
00600000-00601000 rw-p 00000000 fd:02 1557508 /usr/java/jre/bin/java
00ba3000-00bc4000 rw-p 00000000 00:00 0 [heap]
7f360b47a000-7f360b697000 rw-p 00000000 00:00 0
7f360b697000-7f360f3ff000 rw-p 00000000 00:00 0
7f360f3ff000-7f360f400000 rw-p 00000000 00:00 0
7f360f400000-7f360f600000 ---p 00000000 00:00 0
7f360f600000-7f3652f90000 rw-p 00000000 00:00 0
7f3de0000000-7f3e00021000 rw-p 00000000 00:00 0
7f3e00021000-7f3e04000000 ---p 00000000 00:00 0
7f3e04000000-7f3e04021000 rw-p 00000000 00:00 0
7f3e04021000-7f3e08000000 ---p 00000000 00:00 0
7f3e08000000-7f3e08021000 rw-p 00000000 00:00 0
7f3e08021000-7f3e0c000000 ---p 00000000 00:00 0
7f3e0c000000-7f3e0c021000 rw-p 00000000 00:00 0
7f3e0c021000-7f3e10000000 ---p 00000000 00:00 0
7f3e10000000-7f3e10021000 rw-p 00000000 00:00 0
7f3e10021000-7f3e14000000 ---p 00000000 00:00 0
7f3e14000000-7f3e14021000 rw-p 00000000 00:00 0
7f3e14021000-7f3e18000000 ---p 00000000 00:00 0
7f3e18000000-7f3e18021000 rw-p 00000000 00:00 0
7f3e18021000-7f3e1c000000 ---p 00000000 00:00 0
7f3e1c000000-7f3e1c021000 rw-p 00000000 00:00 0
7f3e1c021000-7f3e20000000 ---p 00000000 00:00 0
7f3e20000000-7f3e20021000 rw-p 00000000 00:00 0
7f3e20021000-7f3e24000000 ---p 00000000 00:00 0
7f3e24000000-7f3e24021000 rw-p 00000000 00:00 0
7f3e24021000-7f3e28000000 ---p 00000000 00:00 0
7f3e28000000-7f3e28021000 rw-p 00000000 00:00 0
7f3e28021000-7f3e2c000000 ---p 00000000 00:00 0
7f3e2c000000-7f3e2c021000 rw-p 00000000 00:00 0
7f3e2c021000-7f3e30000000 ---p 00000000 00:00 0
7f3e30000000-7f3e30021000 rw-p 00000000 00:00 0
7f3e30021000-7f3e34000000 ---p 00000000 00:00 0
7f3e36ad7000-7f3e36d47000 rwxp 00000000 00:00 0
7f3e36d47000-7f3e39ad7000 rw-p 00000000 00:00 0
7f3e39ad7000-7f3e40000000 r--p 00000000 fd:02 1468570 /usr/lib/locale/locale-archive
7f3e40000000-7f3e4004b000 rw-p 00000000 00:00 0
7f3e4004b000-7f3e44000000 ---p 00000000 00:00 0
7f3e451eb000-7f3e46140000 rw-p 00000000 00:00 0
7f3e46140000-7f3e46141000 ---p 00000000 00:00 0
7f3e46141000-7f3e46241000 rw-p 00000000 00:00 0 [stack:11421]
7f3e46241000-7f3e46242000 ---p 00000000 00:00 0
7f3e46242000-7f3e46342000 rw-p 00000000 00:00 0 [stack:11420]
7f3e46342000-7f3e46343000 ---p 00000000 00:00 0
7f3e46343000-7f3e46443000 rw-p 00000000 00:00 0 [stack:11419]
7f3e46443000-7f3e46444000 ---p 00000000 00:00 0
7f3e46444000-7f3e46544000 rw-p 00000000 00:00 0 [stack:11418]
7f3e46544000-7f3e46545000 ---p 00000000 00:00 0
7f3e46545000-7f3e46645000 rw-p 00000000 00:00 0 [stack:11417]
7f3e46645000-7f3e46646000 ---p 00000000 00:00 0
7f3e46646000-7f3e46746000 rw-p 00000000 00:00 0 [stack:11416]
7f3e46746000-7f3e46747000 ---p 00000000 00:00 0
7f3e46747000-7f3e46847000 rw-p 00000000 00:00 0 [stack:11415]
7f3e46847000-7f3e46848000 ---p 00000000 00:00 0
7f3e46848000-7f3e46948000 rw-p 00000000 00:00 0 [stack:11414]
7f3e46948000-7f3e46949000 ---p 00000000 00:00 0
7f3e46949000-7f3e46a49000 rw-p 00000000 00:00 0 [stack:11413]
7f3e46a49000-7f3e46a4a000 ---p 00000000 00:00 0
7f3e46a4a000-7f3e46b4a000 rw-p 00000000 00:00 0 [stack:11412]
7f3e46b4a000-7f3e46b4b000 ---p 00000000 00:00 0
7f3e46b4b000-7f3e46c4b000 rw-p 00000000 00:00 0 [stack:11411]
7f3e46c4b000-7f3e46c4c000 ---p 00000000 00:00 0
7f3e46c4c000-7f3e46d4c000 rw-p 00000000 00:00 0 [stack:11410]
7f3e46d4c000-7f3e46d4d000 ---p 00000000 00:00 0
7f3e46d4d000-7f3e46e4d000 rw-p 00000000 00:00 0 [stack:11409]
7f3e46e4d000-7f3e46e67000 r-xp 00000000 fd:02 1556578 /usr/java/jre/lib/amd64/libzip.so
7f3e46e67000-7f3e47067000 ---p 0001a000 fd:02 1556578 /usr/java/jre/lib/amd64/libzip.so
7f3e47067000-7f3e47068000 rw-p 0001a000 fd:02 1556578 /usr/java/jre/lib/amd64/libzip.so
7f3e47068000-7f3e47074000 r-xp 00000000 fd:02 1446668 /usr/lib64/libnss_files-2.17.so
7f3e47074000-7f3e47273000 ---p 0000c000 fd:02 1446668 /usr/lib64/libnss_files-2.17.so
7f3e47273000-7f3e47274000 r--p 0000b000 fd:02 1446668 /usr/lib64/libnss_files-2.17.so
7f3e47274000-7f3e47275000 rw-p 0000c000 fd:02 1446668 /usr/lib64/libnss_files-2.17.so
7f3e47275000-7f3e4727b000 rw-p 00000000 00:00 0
7f3e4727b000-7f3e4727d000 r-xp 00000000 fd:02 1556581 /usr/java/jre/lib/amd64/libnpt.so
7f3e4727d000-7f3e4747d000 ---p 00002000 fd:02 1556581 /usr/java/jre/lib/amd64/libnpt.so
7f3e4747d000-7f3e4747e000 rw-p 00002000 fd:02 1556581 /usr/java/jre/lib/amd64/libnpt.so
7f3e4747e000-7f3e474b7000 r-xp 00000000 fd:02 1556583 /usr/java/jre/lib/amd64/libjdwp.so
7f3e474b7000-7f3e476b7000 ---p 00039000 fd:02 1556583 /usr/java/jre/lib/amd64/libjdwp.so
7f3e476b7000-7f3e476b8000 rw-p 00039000 fd:02 1556583 /usr/java/jre/lib/amd64/libjdwp.so
7f3e476b8000-7f3e476b9000 rw-p 00000000 00:00 0
7f3e476b9000-7f3e476e2000 r-xp 00000000 fd:02 1556590 /usr/java/jre/lib/amd64/libjava.so
7f3e476e2000-7f3e478e2000 ---p 00029000 fd:02 1556590 /usr/java/jre/lib/amd64/libjava.so
7f3e478e2000-7f3e478e4000 rw-p 00029000 fd:02 1556590 /usr/java/jre/lib/amd64/libjava.so
7f3e478e4000-7f3e478f1000 r-xp 00000000 fd:02 1556594 /usr/java/jre/lib/amd64/libverify.so
7f3e478f1000-7f3e47af0000 ---p 0000d000 fd:02 1556594 /usr/java/jre/lib/amd64/libverify.so
7f3e47af0000-7f3e47af2000 rw-p 0000c000 fd:02 1556594 /usr/java/jre/lib/amd64/libverify.so
7f3e47af2000-7f3e47af9000 r-xp 00000000 fd:02 1446671 /usr/lib64/librt-2.17.so
7f3e47af9000-7f3e47cf8000 ---p 00007000 fd:02 1446671 /usr/lib64/librt-2.17.so
7f3e47cf8000-7f3e47cf9000 r--p 00006000 fd:02 1446671 /usr/lib64/librt-2.17.so
7f3e47cf9000-7f3e47cfa000 rw-p 00007000 fd:02 1446671 /usr/lib64/librt-2.17.so
7f3e47cfa000-7f3e47dfb000 r-xp 00000000 fd:02 1446665 /usr/lib64/libm-2.17.so
7f3e47dfb000-7f3e47ffa000 ---p 00101000 fd:02 1446665 /usr/lib64/libm-2.17.so
7f3e47ffa000-7f3e47ffb000 r--p 00100000 fd:02 1446665 /usr/lib64/libm-2.17.so
7f3e47ffb000-7f3e47ffc000 rw-p 00101000 fd:02 1446665 /usr/lib64/libm-2.17.so
7f3e47ffc000-7f3e48b71000 r-xp 00000000 fd:02 1556600 /usr/java/jre/lib/amd64/server/libjvm.so
7f3e48b71000-7f3e48d71000 ---p 00b75000 fd:02 1556600 /usr/java/jre/lib/amd64/server/libjvm.so
7f3e48d71000-7f3e48e35000 rw-p 00b75000 fd:02 1556600 /usr/java/jre/lib/amd64/server/libjvm.so
7f3e48e35000-7f3e48e76000 rw-p 00000000 00:00 0
7f3e48e76000-7f3e4902e000 r-xp 00000000 fd:02 1442374 /usr/lib64/libc-2.17.so
7f3e4902e000-7f3e4922e000 ---p 001b8000 fd:02 1442374 /usr/lib64/libc-2.17.so
7f3e4922e000-7f3e49232000 r--p 001b8000 fd:02 1442374 /usr/lib64/libc-2.17.so
7f3e49232000-7f3e49234000 rw-p 001bc000 fd:02 1442374 /usr/lib64/libc-2.17.so
7f3e49234000-7f3e49239000 rw-p 00000000 00:00 0
7f3e49239000-7f3e4923b000 r-xp 00000000 fd:02 1446664 /usr/lib64/libdl-2.17.so
7f3e4923b000-7f3e4943b000 ---p 00002000 fd:02 1446664 /usr/lib64/libdl-2.17.so
7f3e4943b000-7f3e4943c000 r--p 00002000 fd:02 1446664 /usr/lib64/libdl-2.17.so
7f3e4943c000-7f3e4943d000 rw-p 00003000 fd:02 1446664 /usr/lib64/libdl-2.17.so
7f3e4943d000-7f3e49453000 r-xp 00000000 fd:02 1556549 /usr/java/jre/lib/amd64/jli/libjli.so
7f3e49453000-7f3e49653000 ---p 00016000 fd:02 1556549 /usr/java/jre/lib/amd64/jli/libjli.so
7f3e49653000-7f3e49654000 rw-p 00016000 fd:02 1556549 /usr/java/jre/lib/amd64/jli/libjli.so
7f3e49654000-7f3e4966b000 r-xp 00000000 fd:02 1442400 /usr/lib64/libpthread-2.17.so
7f3e4966b000-7f3e4986a000 ---p 00017000 fd:02 1442400 /usr/lib64/libpthread-2.17.so
7f3e4986a000-7f3e4986b000 r--p 00016000 fd:02 1442400 /usr/lib64/libpthread-2.17.so
7f3e4986b000-7f3e4986c000 rw-p 00017000 fd:02 1442400 /usr/lib64/libpthread-2.17.so
7f3e4986c000-7f3e49870000 rw-p 00000000 00:00 0
7f3e49870000-7f3e49891000 r-xp 00000000 fd:02 1445540 /usr/lib64/ld-2.17.so
7f3e498bb000-7f3e498c5000 rw-p 00000000 00:00 0
7f3e498c5000-7f3e4997b000 rw-p 00000000 00:00 0
7f3e4997b000-7f3e49983000 rw-p 00000000 00:00 0
7f3e49983000-7f3e49986000 ---p 00000000 00:00 0
7f3e49986000-7f3e49a88000 rw-p 00000000 00:00 0 [stack:11408]
7f3e49a8c000-7f3e49a8f000 rw-p 00000000 00:00 0
7f3e49a8f000-7f3e49a90000 r--p 00000000 00:00 0
7f3e49a90000-7f3e49a91000 rw-p 00000000 00:00 0
7f3e49a91000-7f3e49a92000 r--p 00021000 fd:02 1445540 /usr/lib64/ld-2.17.so
7f3e49a92000-7f3e49a93000 rw-p 00022000 fd:02 1445540 /usr/lib64/ld-2.17.so
7f3e49a93000-7f3e49a94000 rw-p 00000000 00:00 0
7ffd5f4db000-7ffd5f500000 rw-p 00000000 00:00 0 [stack]
7ffd5f5d5000-7ffd5f5d7000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
VM Arguments:
jvm_args: -DProc=IEMSCOLLECTIONSERVER -DFPePMS_HOME=/opt/IEMSHome -DLOG_SOUTHSERVER=/srv/ftpd/log/IEMS/IEMSCollectionServer -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8787 -DFLAG_SOUTHSERVER=/opt/IEMSHome/IEMS-conf/StartCollectionserver.conf -Xms32010m -Xmx32010m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:PermSize=512M -XX:MaxPermSize=512M -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../IEMS-conf/Collection-conf/dump
java_command: com.pinnet.handler.SouthMainStart
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
SHELL=/bin/bash
Signal Handlers:
SIGSEGV: [libjvm.so+0x9a3bf0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x9a3bf0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x81cb60], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x81cb60], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGXFSZ: [libjvm.so+0x81cb60], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x81cb60], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x81e360], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGTERM: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGQUIT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
--------------- S Y S T E M ---------------
OS:CentOS Linux release 7.3.1611 (Core)
uname:Linux 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64
libc:glibc 2.17 NPTL 2.17
rlimit: STACK 8192k, CORE infinity, NPROC 127993, NOFILE 409600, AS infinity
load average:0.05 0.19 0.21
/proc/meminfo:
MemTotal: 32779788 kB
MemFree: 21354280 kB
MemAvailable: 23289280 kB
Buffers: 267632 kB
Cached: 2002960 kB
SwapCached: 0 kB
Active: 10285040 kB
Inactive: 703240 kB
Active(anon): 8718024 kB
Inactive(anon): 73932 kB
Active(file): 1567016 kB
Inactive(file): 629308 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 4194300 kB
SwapFree: 4194300 kB
Dirty: 88 kB
Writeback: 0 kB
AnonPages: 8717152 kB
Mapped: 123164 kB
Shmem: 74284 kB
Slab: 156116 kB
SReclaimable: 109032 kB
SUnreclaim: 47084 kB
KernelStack: 17872 kB
PageTables: 29656 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 20584192 kB
Committed_AS: 37161296 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 63976 kB
VmallocChunk: 34342631164 kB
HardwareCorrupted: 0 kB
AnonHugePages: 8423424 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 192000 kB
DirectMap2M: 12390400 kB
DirectMap1G: 23068672 kB
CPU:total 16 (4 cores per cpu, 2 threads per core) family 6 model 85 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, erms, ht, tsc
/proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 0
siblings : 8
core id : 1
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 0
siblings : 8
core id : 1
cpu cores : 4
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 4
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 0
siblings : 8
core id : 2
cpu cores : 4
apicid : 4
initial apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 5
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 0
siblings : 8
core id : 2
cpu cores : 4
apicid : 5
initial apicid : 5
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 6
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 6
initial apicid : 6
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 7
initial apicid : 7
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 8
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 1
siblings : 8
core id : 0
cpu cores : 4
apicid : 8
initial apicid : 8
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 9
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 1
siblings : 8
core id : 0
cpu cores : 4
apicid : 9
initial apicid : 9
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 10
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 1
siblings : 8
core id : 1
cpu cores : 4
apicid : 10
initial apicid : 10
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 11
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 1
siblings : 8
core id : 1
cpu cores : 4
apicid : 11
initial apicid : 11
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 12
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 1
siblings : 8
core id : 2
cpu cores : 4
apicid : 12
initial apicid : 12
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 13
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 1
siblings : 8
core id : 2
cpu cores : 4
apicid : 13
initial apicid : 13
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 14
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 1
siblings : 8
core id : 3
cpu cores : 4
apicid : 14
initial apicid : 14
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
processor : 15
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6161 CPU @ 2.20GHz
stepping : 4
microcode : 0x1
cpu MHz : 2200.004
cache size : 30976 KB
physical id : 1
siblings : 8
core id : 3
cpu cores : 4
apicid : 15
initial apicid : 15
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch arat fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1
bogomips : 4400.00
clflush size : 64
cache_alignment : 64
address sizes : 42 bits physical, 48 bits virtual
power management:
Memory: 4k page, physical 32779788k(21354280k free), swap 4194300k(4194300k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (24.79-b02) for linux-amd64 JRE (1.7.0_79-b15), built on Apr 10 2015 11:34:48 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)
time: Tue Oct 30 15:46:52 2018
elapsed time: 0 seconds
关于-Xms -Xmx -XX:PermSize -XX:MaxPermSize的理解和区别:https://www.cnblogs.com/fan-yuan/p/7238429.html