当前位置: 代码迷 >> J2EE >> tomcat启动一段时间后自动挂掉。该怎么处理
  详细解决方案

tomcat启动一段时间后自动挂掉。该怎么处理

热度:25   发布时间:2016-04-22 02:15:24.0
tomcat启动一段时间后自动挂掉。。。
系统:CentOS5.5 x86
jdk :jdk6-30 x86
tomcat: tomcat6.0.35 for linux
内存:1GB
SWAP:0

tongcat中log日志:
Java code
## A fatal error has been detected by the Java Runtime Environment:##  SIGSEGV (0xb) at pc=0xb6fd140e, pid=1920, tid=2687040400## JRE version: 6.0_30-b12# Java VM: Java HotSpot(TM) Client VM (20.5-b03 mixed mode linux-x86 )# Problematic frame:# V  [libjvm.so+0x2ac40e]  JVM_ArrayCopy+0xce## An error report file with more information is saved as:# /opt/www/hs_err_pid1920.log## If you would like to submit a bug report, please visit:#   http://java.sun.com/webapps/bugreport/crash.jsp#


hs_err_pid1920.log日志:

Java code
## A fatal error has been detected by the Java Runtime Environment:##  SIGSEGV (0xb) at pc=0xb6fd140e, pid=1920, tid=2687040400## JRE version: 6.0_30-b12# Java VM: Java HotSpot(TM) Client VM (20.5-b03 mixed mode linux-x86 )# Problematic frame:# V  [libjvm.so+0x2ac40e]  JVM_ArrayCopy+0xce## If you would like to submit a bug report, please visit:#   http://java.sun.com/webapps/bugreport/crash.jsp#---------------  T H R E A D  ---------------Current thread (0x0981c000):  JavaThread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" daemon [_thread_in_vm, id=1936, stack(0xa023f000,0xa0290000)]siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000008---------------  P R O C E S S  ---------------Other Threads:  0x09112000 VMThread [stack: 0xa0836000,0xa08b7000] [id=1922]  0x09139000 WatcherThread [stack: 0xa05ae000,0xa062f000] [id=1928]VM state:not at safepoint (normal execution)VM Mutex/Monitor currently owned by a thread: NoneHeap def new generation   total 6528K, used 3723K [0xa0ba0000, 0xa12b0000, 0xa60f0000)  eden space 5824K,  58% used [0xa0ba0000, 0xa0ef0958, 0xa1150000)  from space 704K,  46% used [0xa1150000, 0xa11a24a8, 0xa1200000)  to   space 704K,   0% used [0xa1200000, 0xa1200000, 0xa12b0000) tenured generation   total 14436K, used 11150K [0xa60f0000, 0xa6f09000, 0xb0ba0000)   the space 14436K,  77% used [0xa60f0000, 0xa6bd3a18, 0xa6bd3c00, 0xa6f09000) compacting perm gen  total 27392K, used 27324K [0xb0ba0000, 0xb2660000, 0xb4ba0000)   the space 27392K,  99% used [0xb0ba0000, 0xb264f198, 0xb264f200, 0xb2660000)No shared spaces configured.Code Cache  [0xb4c2f000, 0xb5027000, 0xb6c2f000) total_blobs=1706 nmethods=1541 adapters=100 free_code_cache=29408960 largest_free_block=256VM Arguments:jvm_args: -Djava.util.logging.config.file=/opt/www/tomcat6_1/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/www/tomcat6_1/endorsed -Dcatalina.base=/opt/www/tomcat6_1 -Dcatalina.home=/opt/www/tomcat6_1 -Djava.io.tmpdir=/opt/www/tomcat6_1/temp java_command: org.apache.catalina.startup.Bootstrap startLauncher Type: SUN_STANDARDEnvironment Variables:JAVA_HOME=/opt/soft/jdk1.6.0_30CLASSPATH=/opt/www/tomcat6_1/bin/bootstrap.jarPATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/opt/soft/jdk1.6.0_30/bin:/home/zoutuo/binLD_LIBRARY_PATH=/opt/soft/jdk1.6.0_30/jre/lib/i386/client:/opt/soft/jdk1.6.0_30/jre/lib/i386:/opt/soft/jdk1.6.0_30/jre/../lib/i386SHELL=/bin/bashSignal Handlers:SIGSEGV: [libjvm.so+0x469da0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004SIGBUS: [libjvm.so+0x469da0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004SIGFPE: [libjvm.so+0x38bdd0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004SIGPIPE: [libjvm.so+0x38bdd0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004SIGXFSZ: [libjvm.so+0x38bdd0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004SIGILL: [libjvm.so+0x38bdd0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000SIGUSR2: [libjvm.so+0x38f030], sa_mask[0]=0x00000000, sa_flags=0x10000004SIGHUP: [libjvm.so+0x38ec10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000SIGTERM: [libjvm.so+0x38ec10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004SIGQUIT: [libjvm.so+0x38ec10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004---------------  S Y S T E M  ---------------OS:CentOS release 5.3 (Final)uname:Linux 2.6.32-042stab044.11 #1 SMP Wed Dec 14 16:02:00 MSK 2011 i686libc:glibc 2.5 NPTL 2.5 rlimit: STACK 10240k, CORE 0k, NPROC 127162, NOFILE 1024, AS infinityload average:0.00 0.01 0.00/proc/meminfo:MemTotal:        1048576 kBMemFree:          887152 kBCached:            48452 kBActive:           148004 kBInactive:           2540 kBActive(anon):     102088 kBInactive(anon):        4 kBActive(file):      45916 kBInactive(file):     2536 kBUnevictable:           0 kBMlocked:               0 kBSwapTotal:             0 kBSwapFree:              0 kBDirty:                56 kBAnonPages:        102092 kBShmem:                 4 kBSlab:               6556 kBSReclaimable:       3820 kBSUnreclaim:         2736 kBCPU:total 1 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3/proc/cpuinfo:processor    : 0vendor_id    : GenuineIntelcpu family    : 6model        : 15model name    : Intel(R) Xeon(R) CPU            5160  @ 3.00GHzstepping    : 6cpu MHz        : 2992.452cache size    : 4096 KBphysical id    : 0siblings    : 2core id        : 0cpu cores    : 2apicid        : 0initial apicid    : 0fpu        : yesfpu_exception    : yescpuid level    : 10wp        : yesflags        : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca lahf_lm tpr_shadowbogomips    : 5984.90clflush size    : 64cache_alignment    : 64address sizes    : 36 bits physical, 48 bits virtualpower management:Memory: 4k page, physical 1048576k(887152k free), swap 0k(0k free)vm_info: Java HotSpot(TM) Client VM (20.5-b03) for linux-x86 JRE (1.6.0_30-b12), built on Nov 10 2011 01:23:40 by "java_re" with gcc 3.2.1-7a (J2SE release)time: Fri Jan 20 21:26:30 2012elapsed time: 1022 seconds
  相关解决方案