|
|
-
Re: 回复: About file channel yum errorBrock Noland 2012-10-23, 02:31
Hi,
Sorry that thread dump doesn't provide much. If you use kill -3 <pid> it prints heap information at the bottom of the of the dump. Also the OOM error message long with a configuration would be helpful. Brock On Mon, Oct 22, 2012 at 9:26 PM, Kevin Lee <[EMAIL PROTECTED]> wrote: > Hey, > > I got a OOM error too, and the detail as follow: > > USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND > flume 22902 59.6 23.5 2813560 1802672 ? Sl Oct18 4210:34 > /usr/java/jdk1.6.0_33/bin/java -Xms500m -Xmx1500m -cp > /etc/flume-ng/conf:/usr/lib/flume-ng/lib/*:/etc/hadoop/conf:/usr/lib/hadoop/lib/activation-1.1.jar > > free -m > total used free shared buffers cached > Mem: 7467 7430 36 0 13 5011 > -/+ buffers/cache: 2405 5061 > Swap: 4095 15 4080 > > thread dump: > > /usr/java/default/bin/jstack -F 22902 > Attaching to process ID 22902, please wait... > Debugger attached successfully. > Server compiler detected. > JVM version is 20.8-b03 > Deadlock Detection: > > No deadlocks found. > > Thread 11929: (state = BLOCKED) > - sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information > may be imprecise) > - java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, > long) @bci=20, line=196 (Compiled frame) > - > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(long) > @bci=68, line=2025 (Compiled frame) > - java.util.concurrent.DelayQueue.take() @bci=57, line=164 (Compiled > frame) > - > java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take() > @bci=4, line=609 (Compiled frame) > - > java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take() > @bci=1, line=602 (Compiled frame) > - java.util.concurrent.ThreadPoolExecutor.getTask() @bci=78, line=947 > (Compiled frame) > - java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=18, line=907 > (Compiled frame) > - java.lang.Thread.run() @bci=11, line=662 (Interpreted frame) > > > Thread 23734: (state = BLOCKED) > - sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information > may be imprecise) > - java.util.concurrent.locks.LockSupport.park(java.lang.Object) @bci=14, > line=156 (Compiled frame) > - > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() > @bci=42, line=1987 (Compiled frame) > - java.util.concurrent.LinkedBlockingQueue.take() @bci=29, line=399 > (Compiled frame) > - java.util.concurrent.ThreadPoolExecutor.getTask() @bci=78, line=947 > (Compiled frame) > - java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=18, line=907 > (Compiled frame) > - java.lang.Thread.run() @bci=11, line=662 (Interpreted frame) > > > Thread 23733: (state = BLOCKED) > - sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information > may be imprecise) > - java.util.concurrent.locks.LockSupport.park(java.lang.Object) @bci=14, > line=156 (Compiled frame) > - > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() > @bci=42, line=1987 (Compiled frame) > - java.util.concurrent.LinkedBlockingQueue.take() @bci=29, line=399 > (Compiled frame) > - java.util.concurrent.ThreadPoolExecutor.getTask() @bci=78, line=947 > (Compiled frame) > - java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=18, line=907 > (Compiled frame) > - java.lang.Thread.run() @bci=11, line=662 (Interpreted frame) > > > Thread 23732: (state = BLOCKED) > - sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information > may be imprecise) > - java.util.concurrent.locks.LockSupport.park(java.lang.Object) @bci=14, > line=156 (Compiled frame) > - > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() > @bci=42, line=1987 (Compiled frame) > - java.util.concurrent.LinkedBlockingQueue.take() @bci=29, line=399 > (Compiled frame) > - java.util.concurrent.ThreadPoolExecutor.getTask() @bci=78, line=947 � 中午11:01 Apache MRUnit - Unit testing MapReduce - http://incubator.apache.org/mrunit/ |