1 Reply Latest reply: Dec 2, 2011 6:14 PM by jschellSomeoneStoleMyAlias RSS

    jvm crash young gc(CMS)

    903336
      This is a game server. 5500 clients online.

      jstat -gcutil info:
      S0 S1 E O P YGC YGCT FGC FGCT GCT
      0.00 0.00 87.51 59.22 11.93 90 19.201 4 10.036 29.237
      0.00 0.00 94.02 59.22 11.93 90 19.201 4 10.036 29.237
      0.00 0.00 96.28 59.22 11.93 90 19.201 4 10.036 29.237
      0.00 0.00 0.00 60.13 11.93 91 19.395 5 10.038 29.434
      0.00 0.00 4.59 60.13 11.93 91 19.395 5 10.038 29.434
      0.00 0.00 7.70 60.13 11.93 91 19.395 5 10.038 29.434
      0.00 0.00 13.39 60.13 11.93 91 19.395 5 10.038 29.434
      0.00 0.00 15.61 60.13 11.93 91 19.395 5 10.038 29.434
      0.00 0.00 20.06 60.13 11.93 91 19.395 5 10.038 29.434
      0.00 0.00 25.79 60.13 11.93 91 19.395 5 10.038 29.434
      0.00 0.00 29.03 60.13 11.93 91 19.395 5 10.038 29.434
      0.00 0.00 32.35 60.13 11.93 91 19.395 5 10.038 29.434
      0.00 0.00 36.46 60.13 11.93 91 19.395 5 10.038 29.434
      0.00 0.00 36.74 60.13 11.93 91 19.395 6 10.038 29.434 (<---- jvm crash)


      hs_err:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00002b15337a614a, pid=25417, tid=1110710592
      #
      # JRE version: 6.0_24-b07
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
      # Problematic frame:
      # V [libjvm.so+0x30a14a]
      #
      # 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 (0x0000000058ad5800): GCTaskThread [stack: 0x0000000000000000,0x0000000000000000] [id=25423]

      siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000800000000

      Registers:
      RAX=0x0000000000000001, RBX=0x0000000042340c90, RCX=0x0000000000000001, RDX=0x00002b1533e390d0
      RSP=0x0000000042340bb0, RBP=0x0000000042340c00, RSI=0x00000007fffffff8, RDI=0x00000007ffffff01
      R8 =0x0000000058bce458, R9 =0x00002b1533e55080, R10=0x00ed1b7500000a5e, R11=0x00002aaab9885010
      R12=0x0000000000000000, R13=0x0000000058bce770, R14=0x0000000041e31aa0, R15=0x000000000001fffe
      RIP=0x00002b15337a614a, EFL=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
      TRAPNO=0x000000000000000e

      other Threads:
      0x0000000058c15000 VMThread [stack: 0x0000000041d32000,0x0000000041e33000] [id=25430]
      0x0000000058c30800 WatcherThread [stack: 0x0000000042948000,0x0000000042a49000] [id=25438]

      =>0x0000000058ad5800 (exited) GCTaskThread [stack: 0x0000000000000000,0x0000000000000000] [id=25423]

      VM state:at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x0000000058abd5b0] Threads_lock - owner thread: 0x0000000058c15000
      [0x0000000058abdb30] Heap_lock - owner thread: 0x0000000058bcf000

      Heap
      par new generation total 4194240K, used 1540732K [0x0000000570000000, 0x0000000670000000, 0x0000000670000000)
      eden space 4194176K, 36% used [0x0000000570000000, 0x00000005ce09f010, 0x000000066ffe0000)
      from space 64K, 0% used [0x000000066fff0000, 0x000000066fff0000, 0x0000000670000000)
      to space 64K, 0% used [0x000000066ffe0000, 0x000000066ffe0000, 0x000000066fff0000)
      concurrent mark-sweep generation total 6291456K, used 3782823K [0x0000000670000000, 0x00000007f0000000, 0x00000007f0000000)
      concurrent-mark-sweep perm gen total 262144K, used 31268K [0x00000007f0000000, 0x0000000800000000, 0x0000000800000000)

      VM Arguments:
      jvm_args: -Xms10240m -Xmx10240m -Xmn4g -XX:PermSize=256M -XX:SurvivorRatio=65536 -XX:MaxTenuringThreshold=0 -XX:MaxPermSize=256M -XX:+UseParNewGC -Xloggc:gclog.vgc -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=60 -XX:-ReduceInitialCardMarks
      java_command: com.GameStart 1
      Launcher Type: SUN_STANDARD

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

      OS:CentOS_5.5_x86_64_for 4399.com

      uname:Linux 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64
      libc:glibc 2.5 NPTL 2.5
      rlimit: STACK 10240k, CORE 0k, NPROC 104448, NOFILE 10240, AS infinity
      load average:3.06 3.06 2.85

      /proc/meminfo:
      MemTotal: 12292872 kB
      MemFree: 183672 kB
      Buffers: 28484 kB
      Cached: 2569472 kB
      SwapCached: 3476 kB
      Active: 9222660 kB
      Inactive: 2461312 kB
      HighTotal: 0 kB
      HighFree: 0 kB
      LowTotal: 12292872 kB
      LowFree: 183672 kB
      SwapTotal: 12289716 kB
      SwapFree: 12182956 kB
      Dirty: 259548 kB
      Writeback: 0 kB
      AnonPages: 9085916 kB
      Mapped: 18876 kB
      Slab: 228068 kB
      PageTables: 115864 kB
      NFS_Unstable: 0 kB
      Bounce: 0 kB
      CommitLimit: 18436152 kB
      Committed_AS: 19628160 kB
      VmallocTotal: 34359738367 kB
      VmallocUsed: 272456 kB
      VmallocChunk: 34359465731 kB
      HugePages_Total: 0
      HugePages_Free: 0
      HugePages_Rsvd: 0
      Hugepagesize: 2048 kB
      CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 26 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt

      Memory: 4k page, physical 12292872k(183672k free), swap 12289716k(12182956k free)

      vm_info: Java HotSpot(TM) 64-Bit Server VM (19.1-b02) for linux-amd64 JRE (1.6.0_24-b07), built on Feb 2 2011 16:55:54 by "java_re" with gcc 3.2.2 (SuSE Linux)

      time: Fri Dec 2 16:41:13 2011
      elapsed time: 2318 seconds
        • 1. Re: jvm crash young gc(CMS)
          jschellSomeoneStoleMyAlias
          # SIGSEGV (0xb)
          Common cause of that is native (JNI) code.
          64-Bit Server VM
          For that specific VM...

          If you search previous message in this forum there is a thread or two that suggests that certain VM command line options associated with GC can cause the OS to crash. You must be setting command line options for this to occur.