5
回答
武林高手求助!急
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   

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

Current thread (0x08090610):  GCTaskThread [id=5258]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x351c9414

Registers:
EAX=0x351c9410, EBX=0xf7915bd0, ECX=0x0000000c, EDX=0x6fc50d20
ESP=0x6c6fe120, EBP=0x6c6fe178, ESI=0x351c9410, EDI=0x6c74862e
EIP=0xf749cf12, CR2=0x351c9414, EFLAGS=0x00010297

Top of Stack: (sp=0x6c6fe120)
0x6c6fe120:   f7ea08dc 6c398200 76085200 76eaaff4
0x6c6fe130:   76085000 6c9e8629 58000000 76085ffc
0x6c6fe140:   6c9e862e 6c9e8630 7608fffc 76090000
0x6c6fe150:   76090008 76080000 6c9e8681 6c9e8600
0x6c6fe160:   6c9e8600 76085200 6ca24021 f7915bd0
0x6c6fe170:   7d7c41d8 08100ca8 6c6fe1b8 f77cc949
0x6c6fe180:   08085678 080857c0 080861e8 7d7c41d8
0x6c6fe190:   08100ca8 00000000 08100ca8 6cf56d40

Instructions: (pc=0xf749cf12)
0xf749cf02:   07 83 e1 f8 c1 e9 02 e9 2c fd ff ff 89 f6 89 c6
0xf749cf12:   8b 40 04 52 52 83 c0 08 50 56 e8 4f 0e 00 00 83

Stack: [0x6c67e000,0x6c6ff000),  sp=0x6c6fe120,  free space=512k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x150f12]
V  [libjvm.so+0x480949]
V  [libjvm.so+0x20f22f]
V  [libjvm.so+0x43c008]
C  [libpthread.so.0+0x61b5]


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

Java Threads: ( => current thread )
  0x088043d8 JavaThread "HttpClientWorker-12" [_thread_blocked, id=5397]
  0x08bed308 JavaThread "HttpClientWorker-11" [_thread_blocked, id=5396]
  0x08eb2de8 JavaThread "HttpClientWorker-10" [_thread_blocked, id=5395]
  0x08cb8250 JavaThread "HttpClientWorker-9" [_thread_blocked, id=5394]
  0x082583e0 JavaThread "HttpClientWorker-8" [_thread_blocked, id=5393]
  0x08b9ecb8 JavaThread "HttpClientWorker-7" [_thread_blocked, id=5392]
  0x09c70ad0 JavaThread "HttpClientWorker-6" [_thread_blocked, id=5391]
  0x08307da0 JavaThread "HttpClientWorker-5" [_thread_blocked, id=5390]
  0x0950c518 JavaThread "HttpClientWorker-4" [_thread_blocked, id=5389]

  。。。。。。略 一大堆同类信息


Other Threads:
  0x08131848 VMThread [id=5260]
  0x6a949690 WatcherThread [id=5270]

VM state:at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x080601f0/0x08060218] Threads_lock - owner thread: 0x08131848
[0x08060640/0x08060658] Heap_lock - owner thread: 0x0822d838

Heap
 PSYoungGen      total 678976K, used 678970K [0xc0dc0000, 0xf0dc0000, 0xf0dc0000)
  eden space 580672K, 100% used [0xc0dc0000,0xe44d0000,0xe44d0000)
  from space 98304K, 99% used [0xe4dc0000,0xeadbe9b8,0xeadc0000)
  to   space 98304K, 0% used [0xeadc0000,0xeae44000,0xf0dc0000)
 PSOldGen        total 1310720K, used 206864K [0x70dc0000, 0xc0dc0000, 0xc0dc0000)
  object space 1310720K, 15% used [0x70dc0000,0x7d7c41d8,0xc0dc0000)
 PSPermGen       total 50944K, used 50914K [0x6cdc0000, 0x6ff80000, 0x70dc0000)
  object space 50944K, 99% used [0x6cdc0000,0x6ff78a08,0x6ff80000)

Dynamic libraries:
5d1ca000-5d1cd000 ---p 5d1ca000 00:00 0
5d1cd000-5d24b000 rwxp 5d1cd000 00:00 0
5d24b000-5d24e000 ---p 5d24b000 00:00 0
5d24e000-5d2cc000 rwxp 5d24e000 00:00 0
5d2cc000-5d2cf000 ---p 5d2cc000 00:00 0
5d2cf000-5d34d000 rwxp 5d2cf000 00:00 0
5d34d000-5d350000 ---p 5d34d000 00:00 0
5d350000-5d3ce000 rwxp 5d350000 00:00 0
5d3ce000-5d3d1000 ---p 5d3ce000 00:00 0
5d3d1000-5d44f000 rwxp 5d3d1000 00:00 0
5d44f000-5d452000 ---p 5d44f000 00:00 0
5d452000-5d4d0000 rwxp 5d452000 00:00 0
5d4d0000-5d4d3000 ---p 5d4d0000 00:00 0
。。。。。。略 一大堆同类信息


VM Arguments:
jvm_args: 略 一大串工程jar包
java_command: Xxxx.server.Main
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/usr/java/jdk1.5.0_22
PATH=/usr/java/jdk1.5.0_22/binb: 略 其它一大串工程bin目录
LD_LIBRARY_PATH=/usr/java/jdk1.5.0_22/jre/lib/i386/server:/usr/java/jdk1.5.0_22/jre/lib/i386:/usr/java/jdk1.5.0_22/jre/../lib/i386
SHELL=/bin/bash
HOSTTYPE=x86_64
OSTYPE=linux
MACHTYPE=x86_64-suse-linux

Signal Handlers:
SIGSEGV: [libjvm.so+0x517630], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x517630], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x43a430], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x43a430], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x43a430], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x43c880], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x43c2b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x43c2b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x43c2b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x43c2b0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004


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

OS:SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 0

uname:Linux 2.6.27.19-5-default #1 SMP 2009-02-28 04:40:21 +0100 x86_64
libc:glibc 2.9 NPTL 2.9
rlimit: STACK 8192k, CORE 0k, NPROC 40960, NOFILE 8192, AS infinity
load average:1.07 1.05 0.82

CPU:total 2 (cores per cpu 2, threads per core 1) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 3884960k(1900552k free), swap 2047k(2047k free)

vm_info: Java HotSpot(TM) Server VM (1.5.0_22-b03) for linux-x86, built on Oct  9 2009 01:43:39 by java_re with gcc 3.2.1-7a (J2SE release)

time: Tue Sep  7 10:46:26 2010
elapsed time: 1380 seconds

宕机后log

大家帮分析下什么原因

<无标签>
举报
V
发帖于7年前 5回/317阅
共有5个答案 最后回答: 7年前

不是很有经验,姑且乱说说。

 PSYoungGen      total 678976K, used 678970K [0xc0dc0000, 0xf0dc0000, 0xf0dc0000)
  eden space 580672K, 100% used [0xc0dc0000,0xe44d0000,0xe44d0000)
  from space 98304K, 99% used [0xe4dc0000,0xeadbe9b8,0xeadc0000)
  to   space 98304K, 0% used [0xeadc0000,0xeae44000,0xf0dc0000)

 PSYoungGen要加大,设置

-Xms512m
-Xmx512m

PSPermGen       total 50944K, used 50914K [0x6cdc0000, 0x6ff80000, 0x70dc0000)
  object space 50944K, 99% used [0x6cdc0000,0x6ff78a08,0x6ff80000)

PSPermGen要加大,设置

-XX:PermSize=96M
-XX:MaxPermSize=96M

听楼上这么一说,我倒觉着吧,

PSYoungGen

PSPermGen

这俩参数是得要加大,可要加大多少为好呢,还有待测试

我看少了一位数。。

这个PSYoungGen内存用得太疯狂了,个人认为可能是内存泄漏,建议生成heapdump文件分析看看

顶部