directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <aok...@bellsouth.net>
Subject Re: [jira] Commented: (DIRSEDA-23) Deadlocking with multiple clients
Date Wed, 01 Dec 2004 15:46:19 GMT
Trustin Lee (JIRA) wrote:

>     [ http://nagoya.apache.org/jira/browse/DIRSEDA-23?page=comments#action_56054 ]
>     
>Trustin Lee commented on DIRSEDA-23:
>------------------------------------
>
>Alex, you'll have to look at:
>
>/ldap/snacc-provider/src/java/org/apache/ldap/common/berlib/snacc/SnaccProvider.java
>
>SnaccProvider looks like a singleton and do its encoder, decoder and transformer are.
>
>I think codecs cannot be singleton if it is stateful and can if stateless.
>
>  
>
Yeah definately.  Good call and good hunting.  I'll look into this right 
away. 

Alex

>>Deadlocking with multiple clients
>>---------------------------------
>>
>>         Key: DIRSEDA-23
>>         URL: http://nagoya.apache.org/jira/browse/DIRSEDA-23
>>     Project: Seda Framework
>>        Type: Bug
>> Environment: Eve server failing on multiple clients
>>    Reporter: Alex Karasulu
>>    Assignee: Trustin Lee
>>    Priority: Blocker
>>    
>>
>
>  
>
>>Here's a thread dump when a client is locked:
>>akarasulu@newton eve]$ Full thread dump Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed
mode):
>>"stage--2" daemon prio=1 tid=0x081181c0 nid=0x6a63 in Object.wait() [e9496000..e949687c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb0a60a0> (a org.apache.seda.thread.RunnableQueue)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.thread.RunnableQueue.fetch(RunnableQueue.java:66)
>>        - locked <0xeb0a60a0> (a org.apache.seda.thread.RunnableQueue)
>>        at org.apache.seda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:193)
>>"stage--1" daemon prio=1 tid=0x08117840 nid=0x6a63 in Object.wait() [e9517000..e951787c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb0a6110> (a org.apache.seda.thread.RunnableQueue)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.thread.RunnableQueue.fetch(RunnableQueue.java:66)
>>        - locked <0xeb0a6110> (a org.apache.seda.thread.RunnableQueue)
>>        at org.apache.seda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:193)
>>"stage--0" daemon prio=1 tid=0x08118860 nid=0x6a63 in Object.wait() [e9598000..e959887c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb0a6180> (a org.apache.seda.thread.RunnableQueue)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.thread.RunnableQueue.fetch(RunnableQueue.java:66)
>>        - locked <0xeb0a6180> (a org.apache.seda.thread.RunnableQueue)
>>        at org.apache.seda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:193)
>>"stage--2" daemon prio=1 tid=0x081164c8 nid=0x6a63 in Object.wait() [e9619000..e961987c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb0a61f0> (a org.apache.seda.thread.RunnableQueue)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.thread.RunnableQueue.fetch(RunnableQueue.java:66)
>>        - locked <0xeb0a61f0> (a org.apache.seda.thread.RunnableQueue)
>>        at org.apache.seda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:193)
>>"stage--1" daemon prio=1 tid=0x08115028 nid=0x6a63 in Object.wait() [e969a000..e969a87c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb0a6260> (a org.apache.seda.thread.RunnableQueue)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.thread.RunnableQueue.fetch(RunnableQueue.java:66)
>>        - locked <0xeb0a6260> (a org.apache.seda.thread.RunnableQueue)
>>        at org.apache.seda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:193)
>>"stage--0" daemon prio=1 tid=0x08114c78 nid=0x6a63 in Object.wait() [e971b000..e971b87c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb0a62d0> (a org.apache.seda.thread.RunnableQueue)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.thread.RunnableQueue.fetch(RunnableQueue.java:66)
>>        - locked <0xeb0a62d0> (a org.apache.seda.thread.RunnableQueue)
>>        at org.apache.seda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:193)
>>"stage--2" daemon prio=1 tid=0x08113960 nid=0x6a63 in Object.wait() [e979c000..e979c87c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb0a6340> (a org.apache.seda.thread.RunnableQueue)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.thread.RunnableQueue.fetch(RunnableQueue.java:66)
>>        - locked <0xeb0a6340> (a org.apache.seda.thread.RunnableQueue)
>>        at org.apache.seda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:193)
>>"stage--1" daemon prio=1 tid=0x08112fe0 nid=0x6a63 in Object.wait() [e981d000..e981d87c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb0a8078> (a org.apache.seda.thread.RunnableQueue)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.thread.RunnableQueue.fetch(RunnableQueue.java:66)
>>        - locked <0xeb0a8078> (a org.apache.seda.thread.RunnableQueue)
>>        at org.apache.seda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:193)
>>"stage--0" daemon prio=1 tid=0x08112cd0 nid=0x6a63 in Object.wait() [e989e000..e989e87c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb0a6418> (a org.apache.seda.thread.RunnableQueue)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.thread.RunnableQueue.fetch(RunnableQueue.java:66)
>>        - locked <0xeb0a6418> (a org.apache.seda.thread.RunnableQueue)
>>        at org.apache.seda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:193)
>>"stage--2" daemon prio=1 tid=0x080c12d0 nid=0x6a63 in Object.wait() [e991f000..e991f87c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb08d028> (a org.apache.seda.thread.RunnableQueue)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.thread.RunnableQueue.fetch(RunnableQueue.java:66)
>>        - locked <0xeb08d028> (a org.apache.seda.thread.RunnableQueue)
>>        at org.apache.seda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:193)
>>"stage--1" daemon prio=1 tid=0x080c07e0 nid=0x6a63 in Object.wait() [e99a0000..e99a087c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb08ff98> (a org.apache.seda.thread.RunnableQueue)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.thread.RunnableQueue.fetch(RunnableQueue.java:66)
>>        - locked <0xeb08ff98> (a org.apache.seda.thread.RunnableQueue)
>>        at org.apache.seda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:193)
>>"stage--0" daemon prio=1 tid=0x080c0530 nid=0x6a63 in Object.wait() [e9a21000..e9a2187c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb08d500> (a org.apache.seda.thread.RunnableQueue)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.thread.RunnableQueue.fetch(RunnableQueue.java:66)
>>        - locked <0xeb08d500> (a org.apache.seda.thread.RunnableQueue)
>>        at org.apache.seda.thread.AbstractThreadPool$AbstractWorker.run(AbstractThreadPool.java:193)
>>"Thread-7" prio=1 tid=0x08270ef0 nid=0x6a63 in Object.wait() [e9aa2000..e9aa287c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb048058> (a java.util.LinkedList)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.stage.DefaultStage$StageDriver.run(DefaultStage.java:248)
>>        - locked <0xeb048058> (a java.util.LinkedList)
>>        at java.lang.Thread.run(Thread.java:534)
>>"Thread-6" prio=1 tid=0x08278620 nid=0x6a63 in Object.wait() [e9b23000..e9b2387c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb0480c8> (a java.util.LinkedList)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.stage.DefaultStage$StageDriver.run(DefaultStage.java:248)
>>        - locked <0xeb0480c8> (a java.util.LinkedList)
>>        at java.lang.Thread.run(Thread.java:534)
>>"Thread-5" prio=1 tid=0x08270018 nid=0x6a63 in Object.wait() [e9ba4000..e9ba487c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb048138> (a java.util.LinkedList)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.stage.DefaultStage$StageDriver.run(DefaultStage.java:248)
>>        - locked <0xeb048138> (a java.util.LinkedList)
>>        at java.lang.Thread.run(Thread.java:534)
>>"Thread-4" prio=1 tid=0x082764b8 nid=0x6a63 in Object.wait() [e9c25000..e9c2587c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb0481a8> (a java.util.LinkedList)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.stage.DefaultStage$StageDriver.run(DefaultStage.java:248)
>>        - locked <0xeb0481a8> (a java.util.LinkedList)
>>        at java.lang.Thread.run(Thread.java:534)
>>"Thread-3" prio=1 tid=0x082767a8 nid=0x6a63 in Object.wait() [e9ca6000..e9ca687c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeb048218> (a java.util.LinkedList)
>>        at java.lang.Object.wait(Object.java:429)
>>        at org.apache.seda.stage.DefaultStage$StageDriver.run(DefaultStage.java:248)
>>        - locked <0xeb048218> (a java.util.LinkedList)
>>        at java.lang.Thread.run(Thread.java:534)
>>"Thread-2" prio=1 tid=0x08274008 nid=0x6a63 runnable [e9d27000..e9d2787c]
>>        at sun.nio.ch.PollArrayWrapper.poll0(Native Method)
>>        at sun.nio.ch.PollArrayWrapper.poll(PollArrayWrapper.java:100)
>>        at sun.nio.ch.PollSelectorImpl.doSelect(PollSelectorImpl.java:64)
>>        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:59)
>>        - locked <0xeb0482f8> (a java.util.HashSet)
>>        - locked <0xeb048308> (a java.util.HashSet)
>>        - locked <0xeb0482a8> (a sun.nio.ch.PollSelectorImpl)
>>        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:70)
>>        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:74)
>>        at org.apache.seda.input.TCPInputManager.run(TCPInputManager.java:154)
>>        at java.lang.Thread.run(Thread.java:534)
>>"Thread-1" prio=1 tid=0x08273550 nid=0x6a63 runnable [e9da8000..e9da887c]
>>        at sun.nio.ch.PollArrayWrapper.poll0(Native Method)
>>        at sun.nio.ch.PollArrayWrapper.poll(PollArrayWrapper.java:100)
>>        at sun.nio.ch.PollSelectorImpl.doSelect(PollSelectorImpl.java:64)
>>        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:59)
>>        - locked <0xeb048400> (a java.util.HashSet)
>>        - locked <0xeb048410> (a java.util.HashSet)
>>        - locked <0xeb0483b0> (a sun.nio.ch.PollSelectorImpl)
>>        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:70)
>>        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:74)
>>        at org.apache.seda.listener.UDPListenerManager.run(UDPListenerManager.java:302)
>>        at java.lang.Thread.run(Thread.java:534)
>>"Thread-0" prio=1 tid=0x0825c610 nid=0x6a63 runnable [e9e29000..e9e2987c]
>>        at sun.nio.ch.PollArrayWrapper.poll0(Native Method)
>>        at sun.nio.ch.PollArrayWrapper.poll(PollArrayWrapper.java:100)
>>        at sun.nio.ch.PollSelectorImpl.doSelect(PollSelectorImpl.java:64)
>>        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:59)
>>        - locked <0xeb048508> (a java.util.HashSet)
>>        - locked <0xeb048518> (a java.util.HashSet)
>>        - locked <0xeb0484b8> (a sun.nio.ch.PollSelectorImpl)
>>        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:70)
>>        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:74)
>>        at org.apache.seda.listener.TCPListenerManager.run(TCPListenerManager.java:307)
>>        at java.lang.Thread.run(Thread.java:534)
>>"Signal Dispatcher" daemon prio=1 tid=0x0809dc88 nid=0x6a63 waiting on condition [0..0]
>>"Finalizer" daemon prio=1 tid=0x08088de8 nid=0x6a63 in Object.wait() [ea8cd000..ea8cd87c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeaf3bd08> (a java.lang.ref.ReferenceQueue$Lock)
>>        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
>>        - locked <0xeaf3bd08> (a java.lang.ref.ReferenceQueue$Lock)
>>        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
>>        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
>>"Reference Handler" daemon prio=1 tid=0x080881f8 nid=0x6a63 in Object.wait() [ea94e000..ea94e87c]
>>        at java.lang.Object.wait(Native Method)
>>        - waiting on <0xeaf3bd70> (a java.lang.ref.Reference$Lock)
>>        at java.lang.Object.wait(Object.java:429)
>>        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
>>        - locked <0xeaf3bd70> (a java.lang.ref.Reference$Lock)
>>"main" prio=1 tid=0x08052870 nid=0x6a63 waiting on condition [feffd000..feffd30c]
>>        at java.lang.Thread.sleep(Native Method)
>>        at org.apache.eve.EveMain.main(EveMain.java:102)
>>"VM Thread" prio=1 tid=0x08086ed8 nid=0x6a63 runnable
>>"VM Periodic Task Thread" prio=1 tid=0x080a0498 nid=0x6a63 waiting on condition
>>"Suspend Checker Thread" prio=1 tid=0x0809d2d0 nid=0x6a63 runnable
>>    
>>
>
>  
>


Mime
View raw message