But that doesn't tell *what* the thing is actually doing. Does it ? When you've just got the command prompt and want to know what a JVM is up to you can send a kill -3 to the process. It should send a thread dump to the screen.
In this case: sudo kill -3 6150 Do NOT forget the "-3" !!!! Otherwise it would really kill the process. I once killed a Tomcat like this. :-) On Wed, Feb 16, 2011 at 08:29, Kirk <[email protected]> wrote: > First observations. > > YGC (Young gen count) is 6893 and FGCT is 6882 which is a completely > ridiculous full GC to GC ratio. As for the times, YGCT is 17.56 where as > FGCT is 2705.923 giving a 99.9% Full GC to GC ratio. A normal FGC:GC ratio > should be less than 5% and less than 1% is desirable. > > Second observation > PC is perm gen configured @ 83968 and PU perm gen used at 83967.9 > > Diagnosis: Frequent Full GC's due to Perm Gen being full. > Solution: Increase the size of perm gen using -XX:MaxPermSize. > > Regards, > Kirk > > On Feb 15, 2011, at 8:17 PM, [email protected] wrote: > > > hi: > > > > I found a java process whose cpu is almost 100% at my notebook. > > > > Here is the top output: > > > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ > > 6150 root 20 0 1411m 612m 12m R 98.8 15.7 45:49.12 > > > > and the jstack output for thread 6150(0x1806): > > "VM Thread" prio=10 tid=0x0000000040ca9000 nid=0x1806 runnable > > > > the last is jstat -gc output: > > > > S0C S1C S0U S1U EC EU OC OU PC > PU YGC YGCT FGC FGCT GCT > > 64.0 64.0 0.0 0.0 332992.0 0.0 666304.0 73192.5 > 83968.0 83967.9 6893 17.576 6882 2705.923 2723.499 > > > > I don't know what the "VM Thread" is doing all the time. > > > > Some peopel encounter the same problem? > > > > Here is my enviromen: > > Jvm: > > java version "1.6.0_23" > > Java(TM) SE Runtime Environment (build 1.6.0_23-b05) > > Java HotSpot(TM) 64-Bit Server VM (build 19.0-b09, mixed mode) > > > > OS: > > Linux 2.6.35-26-generic #46-Ubuntu SMP Sun Jan 30 06:59:07 UTC 2011 > x86_64 GNU/Linux > > > > Thanks. > > > > > > > > -- > > d0ngd0ng > > > > -- > > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > [email protected]. > > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
