记两次未解决的jvmCrash事件日志

2024-06-04 08:38

本文主要是介绍记两次未解决的jvmCrash事件日志,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

同一个应用的两个实例,在某次发版后相隔7天相继crash,这次发版在正常启动后,其中一台机器,过几分钟突然连接池关闭,无法获取jdbc Connection,半小时后又自动恢复,另一台机器在四个小时后突然挂掉,此时无高负载任务。目前已知的一个可能原因是xss不够,这个结论是因为重启一直起不来,启动时报重复引用,并且会导致内存不断飙高,甚至飙满jvm分配的内存。后来调整xss384k到512k后,启动正常且后续服务正常。应用日志在crash的时候没有任何打印,只是jvm崩溃时打印了一个err文件。目前无法确定的是,xss不够是否会导致系统内存不足,导致无法分配内存。PS:不是OOM或StackOverFlow。
是否是xss不够导致spring(或者某个其他依赖)不断创建新对象(启动的时候就这样),导致系统内存被占满?还是别的原因?
循环引用的日志:


23:53:35.745 [localhost-startStop-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'UserMapper'
23:53:35.745 [localhost-startStop-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'UserMapper'
23:53:35.745 [localhost-startStop-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'UserMapper' to allow for resolving potential circular references
23:53:35.746 [localhost-startStop-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0'
23:53:35.747 [localhost-startStop-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0'
23:53:35.747 [localhost-startStop-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
23:53:35.747 [localhost-startStop-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0'
23:53:35.747 [localhost-startStop-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0'
23:53:35.747 [localhost-startStop-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
23:53:35.749 [localhost-startStop-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning eagerly cached instance of singleton bean 'UserMapper' that is not fully initialized yet - a consequence of a circular reference
23:53:35.750 [localhost-startStop-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0'
23:53:35.750 [localhost-startStop-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0'
23:53:35.750 [localhost-startStop-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'

无法获取jdbc Connection的堆栈:

... ...
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is com.alibaba.druid.pool.DataSourceClosedException: dataSource already closed at Tue Mar 27 15:28:27 CST 2018
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80)
at org.mybatis.spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:80)
at org.mybatis.spring.transaction.SpringManagedTransaction.getConnection(SpringManagedTransaction.java:66)
at org.apache.ibatis.executor.BaseExecutor.getConnection(BaseExecutor.java:279)
at org.apache.ibatis.executor.SimpleExecutor.prepareStatement(SimpleExecutor.java:72)
at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:59)
at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:267)
at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:137)
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:96)
at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:77)
... 68 more
Caused by: com.alibaba.druid.pool.DataSourceClosedException: dataSource already closed at Tue Mar 27 15:28:27 CST 2018
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1057)
at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:960)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:4544)
at com.alibaba.druid.filter.stat.StatFilter.dataSource_getConnection(StatFilter.java:661)
at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:4540)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:938)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:930)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:102)
at org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource.getConnection(AbstractRoutingDataSource.java:162)
at sun.reflect.GeneratedMethodAccessor212.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at com.alibaba.druid.support.spring.stat.DruidStatInterceptor.invoke(DruidStatInterceptor.java:72)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy27.getConnection(Unknown Source)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
... 77 more

其中一次crash打印的errorlog

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 1073741824 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=9995, tid=0x00007f771f774700
#
# JRE version:  (8.0_151-b12) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.151-b12 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 (0x00007f7718009800):  JavaThread "Unknown thread" [_thread_in_vm, id=9996, stack(0x00007f771f714000,0x00007f771f775000)]Stack: [0x00007f771f714000,0x00007f771f775000],  sp=0x00007f771f7732d0,  free space=380k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0xacb58a]  VMError::report_and_die()+0x2ba
V  [libjvm.so+0x4ff4ab]  report_vm_out_of_memory(char const*, int, unsigned long, VMErrorType, char const*)+0x8b
V  [libjvm.so+0x928113]  os::Linux::commit_memory_impl(char*, unsigned long, bool)+0x103
V  [libjvm.so+0x928669]  os::pd_commit_memory(char*, unsigned long, unsigned long, bool)+0x29
V  [libjvm.so+0x92288a]  os::commit_memory(char*, unsigned long, unsigned long, bool)+0x2a
V  [libjvm.so+0xac72e9]  VirtualSpace::expand_by(unsigned long, bool)+0x199
V  [libjvm.so+0xac7e3e]  VirtualSpace::initialize(ReservedSpace, unsigned long)+0xee
V  [libjvm.so+0x5fda81]  CardGeneration::CardGeneration(ReservedSpace, unsigned long, int, GenRemSet*)+0xf1
V  [libjvm.so+0x4e8b7e]  ConcurrentMarkSweepGeneration::ConcurrentMarkSweepGeneration(ReservedSpace, unsigned long, int, CardTableRS*, bool, FreeBlockDictionary<FreeChunk>::DictionaryChoice)+0x4e
V  [libjvm.so+0x5feb42]  GenerationSpec::init(ReservedSpace, int, GenRemSet*)+0xf2
V  [libjvm.so+0x5ed97e]  GenCollectedHeap::initialize()+0x1de
V  [libjvm.so+0xa93603]  Universe::initialize_heap()+0xf3
V  [libjvm.so+0xa93b6e]  universe_init()+0x3e
V  [libjvm.so+0x640545]  init_globals()+0x65
V  [libjvm.so+0xa7725e]  Threads::create_vm(JavaVMInitArgs*, bool*)+0x23e
V  [libjvm.so+0x6d4e44]  JNI_CreateJavaVM+0x74
C  [libjli.so+0x797e]  JavaMain+0x9e
C  [libpthread.so.0+0x7aa1]---------------  P R O C E S S  ---------------Java Threads: ( => current thread )Other Threads:=>0x00007f7718009800 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=9996, stack(0x00007f771f714000,0x00007f771f775000)]VM state:not at safepoint (not fully initialized)VM Mutex/Monitor currently owned by a thread: NoneGC Heap History (0 events):
No eventsDeoptimization events (0 events):
No eventsInternal exceptions (0 events):
No eventsEvents (0 events):
No eventsDynamic libraries:
00400000-00401000 r-xp 00000000 ca:11 9199643                            /server/java/jdk1.8.0_151/bin/java
00600000-00601000 rw-p 00000000 ca:11 9199643                            /server/java/jdk1.8.0_151/bin/java
00c62000-00c83000 rw-p 00000000 00:00 0                                  [heap]
a0000000-c0000000 rw-p 00000000 00:00 0 
30cea00000-30cea20000 r-xp 00000000 ca:01 262269                         /lib64/ld-2.12.so
30cec1f000-30cec20000 r--p 0001f000 ca:01 262269                         /lib64/ld-2.12.so
30cec20000-30cec21000 rw-p 00020000 ca:01 262269                         /lib64/ld-2.12.so
30cec21000-30cec22000 rw-p 00000000 00:00 0 
30cf200000-30cf38a000 r-xp 00000000 ca:01 262271                         /lib64/libc-2.12.so
30cf38a000-30cf58a000 ---p 0018a000 ca:01 262271                         /lib64/libc-2.12.so
30cf58a000-30cf58e000 r--p 0018a000 ca:01 262271                         /lib64/libc-2.12.so
30cf58e000-30cf590000 rw-p 0018e000 ca:01 262271                         /lib64/libc-2.12.so
30cf590000-30cf594000 rw-p 00000000 00:00 0 
30cf600000-30cf617000 r-xp 00000000 ca:01 262164                         /lib64/libpthread-2.12.so
30cf617000-30cf817000 ---p 00017000 ca:01 262164                         /lib64/libpthread-2.12.so
30cf817000-30cf818000 r--p 00017000 ca:01 262164                         /lib64/libpthread-2.12.so
30cf818000-30cf819000 rw-p 00018000 ca:01 262164                         /lib64/libpthread-2.12.so
30cf819000-30cf81d000 rw-p 00000000 00:00 0 
30cfa00000-30cfa02000 r-xp 00000000 ca:01 267606                         /lib64/libdl-2.12.so
30cfa02000-30cfc02000 ---p 00002000 ca:01 267606                         /lib64/libdl-2.12.so
30cfc02000-30cfc03000 r--p 00002000 ca:01 267606                         /lib64/libdl-2.12.so
30cfc03000-30cfc04000 rw-p 00003000 ca:01 267606                         /lib64/libdl-2.12.so
30cfe00000-30cfe07000 r-xp 00000000 ca:01 267611                         /lib64/librt-2.12.so
30cfe07000-30d0006000 ---p 00007000 ca:01 267611                         /lib64/librt-2.12.so
30d0006000-30d0007000 r--p 00006000 ca:01 267611                         /lib64/librt-2.12.so
30d0007000-30d0008000 rw-p 00007000 ca:01 267611                         /lib64/librt-2.12.so
30d0200000-30d0283000 r-xp 00000000 ca:01 267616                         /lib64/libm-2.12.so
30d0283000-30d0482000 ---p 00083000 ca:01 267616                         /lib64/libm-2.12.so
30d0482000-30d0483000 r--p 00082000 ca:01 267616                         /lib64/libm-2.12.so
30d0483000-30d0484000 rw-p 00083000 ca:01 267616                         /lib64/libm-2.12.so
7f76f4000000-7f76f4021000 rw-p 00000000 00:00 0 
7f76f4021000-7f76f8000000 ---p 00000000 00:00 0 
7f76fc000000-7f76fc021000 rw-p 00000000 00:00 0 
7f76fc021000-7f7700000000 ---p 00000000 00:00 0 
7f7700000000-7f7700021000 rw-p 00000000 00:00 0 
7f7700021000-7f7704000000 ---p 00000000 00:00 0 
7f7704000000-7f7704021000 rw-p 00000000 00:00 0 
7f7704021000-7f7708000000 ---p 00000000 00:00 0 
7f7709000000-7f7709270000 rwxp 00000000 00:00 0 
7f7709270000-7f7718000000 ---p 00000000 00:00 0 
7f7718000000-7f771803c000 rw-p 00000000 00:00 0 
7f771803c000-7f771c000000 ---p 00000000 00:00 0 
7f771dd55000-7f771e4e2000 rw-p 00000000 00:00 0 
7f771e4e2000-7f771e6e2000 ---p 00000000 00:00 0 
7f771e6e2000-7f771e6e3000 rw-p 00000000 00:00 0 
7f771e6e3000-7f771e6e4000 ---p 00000000 00:00 0 
7f771e6e4000-7f771e7e4000 rw-p 00000000 00:00 0 
7f771e7e4000-7f771e7e5000 ---p 00000000 00:00 0 
7f771e7e5000-7f771e8e5000 rw-p 00000000 00:00 0 
7f771e8e5000-7f771e8e6000 ---p 00000000 00:00 0 
7f771e8e6000-7f771e9e6000 rw-p 00000000 00:00 0 
7f771e9e6000-7f771e9e7000 ---p 00000000 00:00 0 
7f771e9e7000-7f771eaf1000 rw-p 00000000 00:00 0 
7f771eaf1000-7f771eea7000 ---p 00000000 00:00 0 
7f771eea7000-7f771eec2000 r-xp 00000000 ca:11 9200014                    /server/java/jdk1.8.0_151/jre/lib/amd64/libzip.so
7f771eec2000-7f771f0c2000 ---p 0001b000 ca:11 9200014                    /server/java/jdk1.8.0_151/jre/lib/amd64/libzip.so
7f771f0c2000-7f771f0c3000 rw-p 0001b000 ca:11 9200014                    /server/java/jdk1.8.0_151/jre/lib/amd64/libzip.so
7f771f0c3000-7f771f0d0000 r-xp 00000000 ca:01 268862                     /lib64/libnss_files-2.12.so
7f771f0d0000-7f771f2cf000 ---p 0000d000 ca:01 268862                     /lib64/libnss_files-2.12.so
7f771f2cf000-7f771f2d0000 r--p 0000c000 ca:01 268862                     /lib64/libnss_files-2.12.so
7f771f2d0000-7f771f2d1000 rw-p 0000d000 ca:01 268862                     /lib64/libnss_files-2.12.so
7f771f2d1000-7f771f2d9000 rw-s 00000000 ca:01 533639                     /tmp/hsperfdata_tomcat/9995
7f771f2d9000-7f771f304000 r-xp 00000000 ca:11 9199980                    /server/java/jdk1.8.0_151/jre/lib/amd64/libjava.so
7f771f304000-7f771f503000 ---p 0002b000 ca:11 9199980                    /server/java/jdk1.8.0_151/jre/lib/amd64/libjava.so
7f771f503000-7f771f505000 rw-p 0002a000 ca:11 9199980                    /server/java/jdk1.8.0_151/jre/lib/amd64/libjava.so
7f771f505000-7f771f512000 r-xp 00000000 ca:11 9200024                    /server/java/jdk1.8.0_151/jre/lib/amd64/libverify.so
7f771f512000-7f771f712000 ---p 0000d000 ca:11 9200024                    /server/java/jdk1.8.0_151/jre/lib/amd64/libverify.so
7f771f712000-7f771f714000 rw-p 0000d000 ca:11 9200024                    /server/java/jdk1.8.0_151/jre/lib/amd64/libverify.so
7f771f714000-7f771f717000 ---p 00000000 00:00 0 
7f771f717000-7f771f775000 rw-p 00000000 00:00 0 
7f771f775000-7f7720448000 r-xp 00000000 ca:11 9200001                    /server/java/jdk1.8.0_151/jre/lib/amd64/server/libjvm.so
7f7720448000-7f7720647000 ---p 00cd3000 ca:11 9200001                    /server/java/jdk1.8.0_151/jre/lib/amd64/server/libjvm.so
7f7720647000-7f7720721000 rw-p 00cd2000 ca:11 9200001                    /server/java/jdk1.8.0_151/jre/lib/amd64/server/libjvm.so
7f7720721000-7f772076f000 rw-p 00000000 00:00 0 
7f772076f000-7f7720785000 r-xp 00000000 ca:11 9200666                    /server/java/jdk1.8.0_151/lib/amd64/jli/libjli.so
7f7720785000-7f7720984000 ---p 00016000 ca:11 9200666                    /server/java/jdk1.8.0_151/lib/amd64/jli/libjli.so
7f7720984000-7f7720985000 rw-p 00015000 ca:11 9200666                    /server/java/jdk1.8.0_151/lib/amd64/jli/libjli.so
7f7720985000-7f7720986000 rw-p 00000000 00:00 0 
7f772098a000-7f772098d000 rw-p 00000000 00:00 0 
7f772098d000-7f772098e000 r--p 00000000 00:00 0 
7f772098e000-7f772098f000 rw-p 00000000 00:00 0 
7ffeaea39000-7ffeaea4e000 rw-p 00000000 00:00 0                          [stack]
7ffeaeaf4000-7ffeaeaf5000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]VM Arguments:
jvm_args: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xmx1536M -Xms1536M -Xmn512M -XX:MetaspaceSize=256M -XX:MaxMetaspaceSize=512M -Xss384k -XX:+DisableExplicitGC -XX:SurvivorRatio=8 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSCompactAtFullCollection -XX:CMSFullGCsBeforeCompaction=0 -XX:+CMSClassUnloadingEnabled -XX:LargePageSizeInBytes=128M -XX:+UseFastAccessorMethods -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+PrintHeapAtGC -Xloggc:/server/tomcat/logs/gc.log -XX:+PrintGCDateStamps -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/server/tomcat/logs/dumplog -Djava.endorsed.dirs=/server/tomcat/endorsed -Dcatalina.base=/server/tomcat -Dcatalina.home=/server/tomcat -Djava.io.tmpdir=/server/tomcat/temp 
java_command: org.apache.catalina.startup.Bootstrap stop
java_class_path (initial): /server/tomcat/bin/bootstrap.jar:/server/tomcat/bin/tomcat-juli.jar
Launcher Type: SUN_STANDARDEnvironment Variables:
JAVA_HOME=/server/java/default
PATH=/server/java/default/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/tomcat/bin
SHELL=/bin/bashSignal Handlers:
SIGSEGV: [libjvm.so+0xacbe10], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGBUS: [libjvm.so+0xacbe10], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGFPE: [libjvm.so+0x924f90], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGPIPE: [libjvm.so+0x924f90], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGXFSZ: [libjvm.so+0x924f90], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGILL: [libjvm.so+0x924f90], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGUSR2: [libjvm.so+0x9267d0], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
SIGHUP: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGINT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGTERM: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGQUIT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none---------------  S Y S T E M  ---------------OS:CentOS release 6.8 (Final)uname:Linux 2.6.32-642.1.1.el6.x86_64 #1 SMP Tue May 31 21:57:07 UTC 2016 x86_64
libc:glibc 2.12 NPTL 2.12 
rlimit: STACK 10240k, CORE 0k, NPROC 4096, NOFILE 65535, AS infinity
load average:0.18 0.32 0.38/proc/meminfo:
MemTotal:        3920848 kB
MemFree:          166992 kB
Buffers:          224100 kB
Cached:           435552 kB
SwapCached:            0 kB
Active:          3355272 kB
Inactive:         183636 kB
Active(anon):    2879408 kB
Inactive(anon):      440 kB
Active(file):     475864 kB
Inactive(file):   183196 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:               432 kB
Writeback:             0 kB
AnonPages:       2877276 kB
Mapped:            30332 kB
Shmem:               472 kB
Slab:             120064 kB
SReclaimable:      84352 kB
SUnreclaim:        35712 kB
KernelStack:       14720 kB
PageTables:        33848 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     1960424 kB
Committed_AS:    4651124 kB
VmallocTotal:   34359738367 kB
VmallocUsed:       19024 kB
VmallocChunk:   34359717244 kB
HardwareCorrupted:     0 kB
AnonHugePages:   2234368 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:        6144 kB
DirectMap2M:     4188160 kBCPU:total 4 (initial active 4) (32 cores per cpu, 2 threads per core) family 6 model 62 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, aes, ht, tsc/proc/cpuinfo:
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 62
model name  : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
stepping    : 4
microcode   : 1064
cpu MHz     : 2593.844
cache size  : 20480 KB
physical id : 0
siblings    : 1
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 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good unfair_spinlock pni ssse3 cx16 sse4_1 sse4_2 popcnt aes hypervisor lahf_lm
bogomips    : 5187.68
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       : 62
model name  : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
stepping    : 4
microcode   : 1064
cpu MHz     : 2593.844
cache size  : 20480 KB
physical id : 2
siblings    : 1
core id     : 0
cpu cores   : 1
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 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good unfair_spinlock pni ssse3 cx16 sse4_1 sse4_2 popcnt aes hypervisor lahf_lm
bogomips    : 537.62
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:processor   : 2
vendor_id   : GenuineIntel
cpu family  : 6
model       : 62
model name  : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
stepping    : 4
microcode   : 1064
cpu MHz     : 2593.844
cache size  : 20480 KB
physical id : 4
siblings    : 1
core id     : 0
cpu cores   : 1
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 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good unfair_spinlock pni ssse3 cx16 sse4_1 sse4_2 popcnt aes hypervisor lahf_lm
bogomips    : 533.37
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:processor   : 3
vendor_id   : GenuineIntel
cpu family  : 6
model       : 62
model name  : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
stepping    : 4
microcode   : 1064
cpu MHz     : 2593.844
cache size  : 20480 KB
physical id : 6
siblings    : 1
core id     : 0
cpu cores   : 1
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 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good unfair_spinlock pni ssse3 cx16 sse4_1 sse4_2 popcnt aes hypervisor lahf_lm
bogomips    : 537.68
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:Memory: 4k page, physical 3920848k(166992k free), swap 0k(0k free)vm_info: Java HotSpot(TM) 64-Bit Server VM (25.151-b12) for linux-amd64 JRE (1.8.0_151-b12), built on Sep  5 2017 19:20:58 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)time: Sun Apr  1 23:34:47 2018
elapsed time: 0 seconds (0d 0h 0m 0s)

A服务器3月27日当天句柄、线程数、old堆、metaspace有明显异常,内存高到90%多。
这里写图片描述
这里写图片描述
这里写图片描述

这篇关于记两次未解决的jvmCrash事件日志的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1029588

相关文章

hdu1254(嵌套bfs,两次bfs)

/*第一次做这种题感觉很有压力,思路还是有点混乱,总是wa,改了好多次才ac的思路:把箱子的移动当做第一层bfs,队列节点要用到当前箱子坐标(x,y),走的次数step,当前人的weizhi(man_x,man_y),要判断人能否将箱子推到某点时要嵌套第二层bfs(人的移动);代码如下:

禁止平板,iPad长按弹出默认菜单事件

通过监控按下抬起时间差来禁止弹出事件,把以下代码写在要禁止的页面的页面加载事件里面即可     var date;document.addEventListener('touchstart', event => {date = new Date().getTime();});document.addEventListener('touchend', event => {if (new

如何解决线上平台抽佣高 线下门店客流少的痛点!

目前,许多传统零售店铺正遭遇客源下降的难题。尽管广告推广能带来一定的客流,但其费用昂贵。鉴于此,众多零售商纷纷选择加入像美团、饿了么和抖音这样的大型在线平台,但这些平台的高佣金率导致了利润的大幅缩水。在这样的市场环境下,商家之间的合作网络逐渐成为一种有效的解决方案,通过资源和客户基础的共享,实现共同的利益增长。 以最近在上海兴起的一个跨行业合作平台为例,该平台融合了环保消费积分系统,在短

pip-tools:打造可重复、可控的 Python 开发环境,解决依赖关系,让代码更稳定

在 Python 开发中,管理依赖关系是一项繁琐且容易出错的任务。手动更新依赖版本、处理冲突、确保一致性等等,都可能让开发者感到头疼。而 pip-tools 为开发者提供了一套稳定可靠的解决方案。 什么是 pip-tools? pip-tools 是一组命令行工具,旨在简化 Python 依赖关系的管理,确保项目环境的稳定性和可重复性。它主要包含两个核心工具:pip-compile 和 pip

flume系列之:查看flume系统日志、查看统计flume日志类型、查看flume日志

遍历指定目录下多个文件查找指定内容 服务器系统日志会记录flume相关日志 cat /var/log/messages |grep -i oom 查找系统日志中关于flume的指定日志 import osdef search_string_in_files(directory, search_string):count = 0

我在移动打工的日志

客户:给我搞一下录音 我:不会。不在服务范围。 客户:是不想吧 我:笑嘻嘻(气笑) 客户:小姑娘明明会,却欺负老人 我:笑嘻嘻 客户:那我交话费 我:手机号 客户:给我搞录音 我:不会。不懂。没搞过。 客户:那我交话费 我:手机号。这是电信的啊!!我这是中国移动!! 客户:我不管,我要充话费,充话费是你们的 我:可是这是移动!!中国移动!! 客户:我这是手机号 我:那又如何,这是移动!你是电信!!

【VUE】跨域问题的概念,以及解决方法。

目录 1.跨域概念 2.解决方法 2.1 配置网络请求代理 2.2 使用@CrossOrigin 注解 2.3 通过配置文件实现跨域 2.4 添加 CorsWebFilter 来解决跨域问题 1.跨域概念 跨域问题是由于浏览器实施了同源策略,该策略要求请求的域名、协议和端口必须与提供资源的服务相同。如果不相同,则需要服务器显式地允许这种跨域请求。一般在springbo

速盾高防cdn是怎么解决网站攻击的?

速盾高防CDN是一种基于云计算技术的网络安全解决方案,可以有效地保护网站免受各种网络攻击的威胁。它通过在全球多个节点部署服务器,将网站内容缓存到这些服务器上,并通过智能路由技术将用户的请求引导到最近的服务器上,以提供更快的访问速度和更好的网络性能。 速盾高防CDN主要采用以下几种方式来解决网站攻击: 分布式拒绝服务攻击(DDoS)防护:DDoS攻击是一种常见的网络攻击手段,攻击者通过向目标网

Jenkins 插件 地址证书报错问题解决思路

问题提示摘要: SunCertPathBuilderException: unable to find valid certification path to requested target...... 网上很多的解决方式是更新站点的地址,我这里修改了一个日本的地址(清华镜像也好),其实发现是解决不了上述的报错问题的,其实,最终拉去插件的时候,会提示证书的问题,几经周折找到了其中一遍博文

Redis中使用布隆过滤器解决缓存穿透问题

一、缓存穿透(失效)问题 缓存穿透是指查询一个一定不存在的数据,由于缓存中没有命中,会去数据库中查询,而数据库中也没有该数据,并且每次查询都不会命中缓存,从而每次请求都直接打到了数据库上,这会给数据库带来巨大压力。 二、布隆过滤器原理 布隆过滤器(Bloom Filter)是一种空间效率很高的随机数据结构,它利用多个不同的哈希函数将一个元素映射到一个位数组中的多个位置,并将这些位置的值置