Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Accumulo >> mail # user >> PermGen leak in JBoss


+
Michael Giordano 2013-04-24, 13:48
+
Heath Abelson 2013-04-24, 15:21
+
Keith Turner 2013-04-24, 16:22
+
Michael Giordano 2013-05-03, 15:43
Copy link to this message
-
Re: PermGen leak in JBoss
On Fri, May 3, 2013 at 11:43 AM, Michael Giordano <
[EMAIL PROTECTED]> wrote:

>  Sorry for resurrecting this ‘old’ thread but I need to open a ticket for
> this.
>

https://issues.apache.org/jira/browse/ACCUMULO
> ****
>
> ** **
>
> How do I do that ?****
>
> ** **
>
> Thanks,****
>
> Mike G.****
>
> ** **
>
> *From:* Keith Turner [mailto:[EMAIL PROTECTED]]
> *Sent:* Wednesday, April 24, 2013 12:23 PM
>
> *To:* [EMAIL PROTECTED]
> *Subject:* Re: PermGen leak in JBoss****
>
> ** **
>
> ** **
>
> ** **
>
> On Wed, Apr 24, 2013 at 11:21 AM, Heath Abelson <
> [EMAIL PROTECTED]> wrote:****
>
> Hi, I am a colleague of Michael's, I can provide more info
>
> The following are the 5 threads that are not being cleaned up on an
> undeploy. It's hard to get more stack info than this.
>
> Daemon Thread [FileWatchdog] (Running)
> Daemon Thread [MSC service thread 1-5-SendThread(cbdbtestbox:2181)]
> (Running)
> Daemon Thread [MSC service thread 1-5-EventThread] (Running)
> Daemon Thread [Thrift Connection Pool Checker] (Running)
> Daemon Thread [FileWatchdog] (Running)
>
> Using Plumbr, the report states that the SendThread and EventThread above
> both contain an instance of org.apache.zookeeper.ClientCnxn****
>
> ** **
>
> ** **
>
> I tried this on 1.4 and then ran jstack using following program.  ****
>
> ** **
>
> ** **
>
> public class Test {****
>
>   public static void main(String[] args) throws Exception {****
>
>     ZooKeeperInstance instance = new ZooKeeperInstance("test14",
> "localhost");****
>
>     Connector connector = instance.getConnector("root", "secret");****
>
>     ****
>
>     UtilWaitThread.sleep(600000);****
>
> ** **
>
>   }****
>
> }****
>
> ** **
>
> I see the following threads after filtering out java threads and the
> thread calling main.  I am running this code in a different way.  I used
> the accumulo script to execute it, which uses Accumulo start, which
> introduces the AccumuloFilesystemAlterationMonitor thread.  I am seeing
> three of the threads you see, I am not seeing the FileWatchDog threads.***
> *
>
> ** **
>
> "Thrift Connection Pool Checker" daemon prio=10 tid=0x00007f861839f800
> nid=0x61f0 waiting on condition [0x00007f8652a62000]****
>
>    java.lang.Thread.State: TIMED_WAITING (sleeping)****
>
>             at java.lang.Thread.sleep(Native Method)****
>
>             at
> org.apache.accumulo.core.client.impl.ThriftTransportPool$Closer.run(ThriftTransportPool.java:129)
> ****
>
>             at java.lang.Thread.run(Thread.java:662)****
>
> ** **
>
> "Test-EventThread" daemon prio=10 tid=0x00007f8618119000 nid=0x61ee
> waiting on condition [0x00007f8652d02000]****
>
>    java.lang.Thread.State: WAITING (parking)****
>
>             at sun.misc.Unsafe.park(Native Method)****
>
>             - parking to wait for  <0x00000000bb402270> (a
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)****
>
>             at
> java.util.concurrent.locks.LockSupport.park(LockSupport.java:156)****
>
>             at
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987)
> ****
>
>             at
> java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)
> ****
>
>             at
> org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:498)****
>
> ** **
>
> "Test-SendThread(localhost:2181)" daemon prio=10 tid=0x00007f8618103000
> nid=0x61ed runnable [0x00007f8652e03000]****
>
>    java.lang.Thread.State: RUNNABLE****
>
>             at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)****
>
>             at
> sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:210)****
>
>             at
> sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:65)****
>
>             at
> sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:69)****
>
>             - locked <0x00000000bb3e0e88> (a sun.nio.ch.Util$2)****
>
>             - locked <0x00000000bb3e0e78> (a
> java.util.Collections$UnmodifiableSet)****
+
Keith Turner 2013-04-24, 15:44
+
Eric Newton 2013-04-24, 15:47
+
Heath Abelson 2013-04-24, 16:08
+
Keith Turner 2013-04-24, 16:34
+
Benson Margulies 2013-04-24, 16:58
+
Heath Abelson 2013-04-24, 16:58
+
Josh Elser 2013-04-24, 14:12
+
Keith Turner 2013-04-24, 14:28