性能问答>JVM重启是启动不了的问题>
3回复

JVM重启是启动不了的问题



err_log 如下:

# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 1811939328 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:2640), pid=5049, tid=0x00007fe791f67700
#
# JRE version:  (8.0_152-b16) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.152-b16 mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#

---------------  T H R E A D  ---------------

Current thread (0x00007fe78c009800):  JavaThread "Unknown thread" [_thread_in_vm, id=5051, stack(0x00007fe791e68000,0x00007fe791f68000)]

Stack: [0x00007fe791e68000,0x00007fe791f68000],  sp=0x00007fe791f66330,  free space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xacf62a]  VMError::report_and_die()+0x2ba
V  [libjvm.so+0x5008bb]  report_vm_out_of_memory(char const*, int, unsigned long, VMErrorType, char const*)+0x8b
V  [libjvm.so+0x92afe3]  os::Linux::commit_memory_impl(char*, unsigned long, bool)+0x103
V  [libjvm.so+0x92b479]  os::pd_commit_memory(char*, unsigned long, unsigned long, bool)+0x29
V  [libjvm.so+0x924aba]  os::commit_memory(char*, unsigned long, unsigned long, bool)+0x2a
V  [libjvm.so+0xacb339]  VirtualSpace::expand_by(unsigned long, bool)+0x199
V  [libjvm.so+0xacbe8e]  VirtualSpace::initialize(ReservedSpace, unsigned long)+0xee
V  [libjvm.so+0x5ff081]  CardGeneration::CardGeneration(ReservedSpace, unsigned long, int, GenRemSet*)+0xf1
V  [libjvm.so+0x4ea8ce]  ConcurrentMarkSweepGeneration::ConcurrentMarkSweepGeneration(ReservedSpace, unsigned long, int, CardTableRS*, bool, FreeBlockDictionary<FreeChunk>::DictionaryChoice)+0x4e
V  [libjvm.so+0x600142]  GenerationSpec::init(ReservedSpace, int, GenRemSet*)+0xf2
V  [libjvm.so+0x5eef1e]  GenCollectedHeap::initialize()+0x1de
V  [libjvm.so+0xa97673]  Universe::initialize_heap()+0xf3
V  [libjvm.so+0xa97bde]  universe_init()+0x3e
V  [libjvm.so+0x6423e5]  init_globals()+0x65
V  [libjvm.so+0xa7b14e]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x23e
V  [libjvm.so+0x6d6ec4]  JNI_CreateJavaVM+0x74
C  [libjli.so+0x797e]  JavaMain+0x9e
C  [libpthread.so.0+0x7e25]  start_thread+0xc5


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )

Other Threads:

=>0x00007fe78c009800 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=5051, stack(0x00007fe791e68000,0x00007fe791f68000)]

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

Classes redefined (0 events):
No events

Internal exceptions (0 events):
No events

Events (0 events):
No events


Dynamic libraries:
00400000-00401000 r-xp 00000000 fd:01 1313702                            /usr/java/jdk1.8.0_152/jre/bin/java
00600000-00601000 rw-p 00000000 fd:01 1313702                            /usr/java/jdk1.8.0_152/jre/bin/java
013d0000-013f1000 rw-p 00000000 00:00 0                                  [heap]
718000000-754000000 rw-p 00000000 00:00 0 
7fe76c000000-7fe76c021000 rw-p 00000000 00:00 0 
7fe76c021000-7fe770000000 ---p 00000000 00:00 0 
7fe774000000-7fe774021000 rw-p 00000000 00:00 0 
7fe774021000-7fe778000000 ---p 00000000 00:00 0 
7fe77b601000-7fe77bc6b000 rw-p 00000000 00:00 0 
7fe77bc6b000-7fe77bfcb000 ---p 00000000 00:00 0 
7fe77bfcb000-7fe77bfcc000 rw-p 00000000 00:00 0 
7fe77bfcc000-7fe77bfcd000 ---p 00000000 00:00 0 
7fe77bfcd000-7fe77c0cd000 rw-p 00000000 00:00 0                          [stack:5053]
7fe77c0cd000-7fe77c0ce000 ---p 00000000 00:00 0 
7fe77c0ce000-7fe77c1d8000 rw-p 00000000 00:00 0                          [stack:5052]
7fe77c1d8000-7fe77c58e000 ---p 00000000 00:00 0 
7fe77c58e000-7fe77c7fe000 rwxp 00000000 00:00 0 
7fe77c7fe000-7fe78b58e000 ---p 00000000 00:00 0 
7fe78b58e000-7fe78b5a9000 r-xp 00000000 fd:01 1313780                    /usr/java/jdk1.8.0_152/jre/lib/amd64/libzip.so
7fe78b5a9000-7fe78b7a9000 ---p 0001b000 fd:01 1313780                    /usr/java/jdk1.8.0_152/jre/lib/amd64/libzip.so
7fe78b7a9000-7fe78b7aa000 rw-p 0001b000 fd:01 1313780                    /usr/java/jdk1.8.0_152/jre/lib/amd64/libzip.so
7fe78b7aa000-7fe78b7b6000 r-xp 00000000 fd:01 1050006                    /usr/lib64/libnss_files-2.17.so
7fe78b7b6000-7fe78b9b5000 ---p 0000c000 fd:01 1050006                    /usr/lib64/libnss_files-2.17.so
7fe78b9b5000-7fe78b9b6000 r--p 0000b000 fd:01 1050006                    /usr/lib64/libnss_files-2.17.so
7fe78b9b6000-7fe78b9b7000 rw-p 0000c000 fd:01 1050006                    /usr/lib64/libnss_files-2.17.so
7fe78b9b7000-7fe78b9bd000 rw-p 00000000 00:00 0 
7fe78b9bd000-7fe78b9e8000 r-xp 00000000 fd:01 1313744                    /usr/java/jdk1.8.0_152/jre/lib/amd64/libjava.so
7fe78b9e8000-7fe78bbe7000 ---p 0002b000 fd:01 1313744                    /usr/java/jdk1.8.0_152/jre/lib/amd64/libjava.so
7fe78bbe7000-7fe78bbe9000 rw-p 0002a000 fd:01 1313744                    /usr/java/jdk1.8.0_152/jre/lib/amd64/libjava.so
7fe78bbe9000-7fe78bbf6000 r-xp 00000000 fd:01 1313779                    /usr/java/jdk1.8.0_152/jre/lib/amd64/libverify.so
7fe78bbf6000-7fe78bdf6000 ---p 0000d000 fd:01 1313779                    /usr/java/jdk1.8.0_152/jre/lib/amd64/libverify.so
7fe78bdf6000-7fe78bdf8000 rw-p 0000d000 fd:01 1313779                    /usr/java/jdk1.8.0_152/jre/lib/amd64/libverify.so
7fe78bdf8000-7fe78bdff000 r-xp 00000000 fd:01 1050018                    /usr/lib64/librt-2.17.so
7fe78bdff000-7fe78bffe000 ---p 00007000 fd:01 1050018                    /usr/lib64/librt-2.17.so
7fe78bffe000-7fe78bfff000 r--p 00006000 fd:01 1050018                    /usr/lib64/librt-2.17.so
7fe78bfff000-7fe78c000000 rw-p 00007000 fd:01 1050018                    /usr/lib64/librt-2.17.so
7fe78c000000-7fe78c039000 rw-p 00000000 00:00 0 
7fe78c039000-7fe790000000 ---p 00000000 00:00 0 
7fe790051000-7fe790152000 r-xp 00000000 fd:01 1049996                    /usr/lib64/libm-2.17.so
7fe790152000-7fe790351000 ---p 00101000 fd:01 1049996                    /usr/lib64/libm-2.17.so
7fe790351000-7fe790352000 r--p 00100000 fd:01 1049996                    /usr/lib64/libm-2.17.so
7fe790352000-7fe790353000 rw-p 00101000 fd:01 1049996                    /usr/lib64/libm-2.17.so
7fe790353000-7fe79102b000 r-xp 00000000 fd:01 1313784                    /usr/java/jdk1.8.0_152/jre/lib/amd64/server/libjvm.so
7fe79102b000-7fe79122a000 ---p 00cd8000 fd:01 1313784                    /usr/java/jdk1.8.0_152/jre/lib/amd64/server/libjvm.so
7fe79122a000-7fe791304000 rw-p 00cd7000 fd:01 1313784                    /usr/java/jdk1.8.0_152/jre/lib/amd64/server/libjvm.so
7fe791304000-7fe79134f000 rw-p 00000000 00:00 0 
7fe79134f000-7fe791512000 r-xp 00000000 fd:01 1049988                    /usr/lib64/libc-2.17.so
7fe791512000-7fe791711000 ---p 001c3000 fd:01 1049988                    /usr/lib64/libc-2.17.so
7fe791711000-7fe791715000 r--p 001c2000 fd:01 1049988                    /usr/lib64/libc-2.17.so
7fe791715000-7fe791717000 rw-p 001c6000 fd:01 1049988                    /usr/lib64/libc-2.17.so
7fe791717000-7fe79171c000 rw-p 00000000 00:00 0 
7fe79171c000-7fe79171e000 r-xp 00000000 fd:01 1049994                    /usr/lib64/libdl-2.17.so
7fe79171e000-7fe79191e000 ---p 00002000 fd:01 1049994                    /usr/lib64/libdl-2.17.so
7fe79191e000-7fe79191f000 r--p 00002000 fd:01 1049994                    /usr/lib64/libdl-2.17.so
7fe79191f000-7fe791920000 rw-p 00003000 fd:01 1049994                    /usr/lib64/libdl-2.17.so
7fe791920000-7fe791936000 r-xp 00000000 fd:01 1313718                    /usr/java/jdk1.8.0_152/jre/lib/amd64/jli/libjli.so
7fe791936000-7fe791b35000 ---p 00016000 fd:01 1313718                    /usr/java/jdk1.8.0_152/jre/lib/amd64/jli/libjli.so
7fe791b35000-7fe791b36000 rw-p 00015000 fd:01 1313718                    /usr/java/jdk1.8.0_152/jre/lib/amd64/jli/libjli.so
7fe791b36000-7fe791b4d000 r-xp 00000000 fd:01 1050014                    /usr/lib64/libpthread-2.17.so
7fe791b4d000-7fe791d4c000 ---p 00017000 fd:01 1050014                    /usr/lib64/libpthread-2.17.so
7fe791d4c000-7fe791d4d000 r--p 00016000 fd:01 1050014                    /usr/lib64/libpthread-2.17.so
7fe791d4d000-7fe791d4e000 rw-p 00017000 fd:01 1050014                    /usr/lib64/libpthread-2.17.so
7fe791d4e000-7fe791d52000 rw-p 00000000 00:00 0 
7fe791d52000-7fe791d74000 r-xp 00000000 fd:01 1049977                    /usr/lib64/ld-2.17.so
7fe791e5f000-7fe791e67000 rw-s 00000000 fd:01 393256                     /tmp/hsperfdata_webuser/5049
7fe791e67000-7fe791e6b000 ---p 00000000 00:00 0 
7fe791e6b000-7fe791f6c000 rw-p 00000000 00:00 0                          [stack:5051]
7fe791f6d000-7fe791f71000 rw-p 00000000 00:00 0 
7fe791f71000-7fe791f72000 r--p 00000000 00:00 0 
7fe791f72000-7fe791f73000 rw-p 00000000 00:00 0 
7fe791f73000-7fe791f74000 r--p 00021000 fd:01 1049977                    /usr/lib64/ld-2.17.so
7fe791f74000-7fe791f75000 rw-p 00022000 fd:01 1049977                    /usr/lib64/ld-2.17.so
7fe791f75000-7fe791f76000 rw-p 00000000 00:00 0 
7ffe51e56000-7ffe51e77000 rw-p 00000000 00:00 0                          [stack]
7ffe51e9c000-7ffe51e9e000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

VM Arguments:
jvm_args: -Xmx2688M -Xms2688M -Xmn960M -XX:+UseConcMarkSweepGC -XX:-UseAdaptiveSizePolicy -XX:+UseFastAccessorMethods -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses -XX:CMSInitiatingOccupancyFraction=70 -XX:MaxMetaspaceSize=512M -XX:MetaspaceSize=512M -Dserver.port=8010 
java_command: workstation.jar
java_class_path (initial): workstation.jar
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/usr/local/bin:/usr/bin
SHELL=/bin/bash

Signal Handlers:
SIGSEGV: [libjvm.so+0xacfec0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGBUS: [libjvm.so+0xacfec0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGFPE: [libjvm.so+0x927e60], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGPIPE: [libjvm.so+0x927e60], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGXFSZ: [libjvm.so+0x927e60], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGILL: [libjvm.so+0x927e60], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGUSR2: [libjvm.so+0x9296a0], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
SIGHUP: SIG_IGN, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGINT: SIG_IGN, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGTERM: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGQUIT: SIG_IGN, sa_mask[0]=00000000000000000000000000000000, sa_flags=none


---------------  S Y S T E M  ---------------

OS:CentOS Linux release 7.5.1804 (Core) 

uname:Linux 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64
libc:glibc 2.17 NPTL 2.17 
rlimit: STACK 8192k, CORE 0k, NPROC 4096, NOFILE 65535, AS infinity
load average:0.28 0.41 0.43

/proc/meminfo:
MemTotal:        3881692 kB
MemFree:         1121236 kB
MemAvailable:    1450652 kB
Buffers:           34176 kB
Cached:           465536 kB
SwapCached:            0 kB
Active:          2345428 kB
Inactive:         268288 kB
Active(anon):    2114620 kB
Inactive(anon):      240 kB
Active(file):     230808 kB
Inactive(file):   268048 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:             25600 kB
Writeback:            44 kB
AnonPages:       2099100 kB
Mapped:            39160 kB
Shmem:               568 kB
Slab:              88876 kB
SReclaimable:      70648 kB
SUnreclaim:        18228 kB
KernelStack:        3776 kB
PageTables:        11044 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     1940844 kB
Committed_AS:    5481640 kB
VmallocTotal:   34359738367 kB
VmallocUsed:       14216 kB
VmallocChunk:   34359715580 kB
HardwareCorrupted:     0 kB
AnonHugePages:    131072 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       69504 kB
DirectMap2M:     4124672 kB
DirectMap1G:     2097152 kB


CPU:total 2 (initial active 2) (1 cores per cpu, 2 threads per core) family 6 model 79 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, 3dnowpref, lzcnt, ht, tsc, bmi1, bmi2, adx

/proc/cpuinfo:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 79
model name      : Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz
stepping        : 1
microcode       : 0x1
cpu MHz         : 2499.996
cache size      : 40960 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
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 rep_good nopl 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 fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt
bogomips        : 4999.99
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 79
model name      : Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz
stepping        : 1
microcode       : 0x1
cpu MHz         : 2499.996
cache size      : 40960 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
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 rep_good nopl 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 fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt
bogomips        : 4999.99
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:



Memory: 4k page, physical 3881692k(1121236k free), swap 0k(0k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.152-b16) for linux-amd64 JRE (1.8.0_152-b16), built on Sep 14 2017 02:16:14 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)

time: Wed Jul 15 19:07:23 2020
elapsed time: 0 seconds (0d 0h 0m 0s)

启动的时候启动不了

3081 阅读
请先登录,查看3条精彩评论吧
快去登录吧,你将获得
  • 浏览更多精彩评论
  • 和开发者讨论交流,共同进步