[jira] Resolved: (DIRMINA-138) Deadlock in SSLFilter
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Resolved: (DIRMINA-138) Deadlock in SSLFilter




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Resolved: (DIRMINA-138) Deadlock in SSLFilter  
Trustin Lee (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-07-05 07:45 AM

[ http://issues.apache.org/jira/brows...NA-138?page=all ]

Trustin Lee resolved DIRMINA-138:
---------------------------------

Resolution: Fixed

I reorganized acquiring locks.  Now it works without a glitch.

> Deadlock in SSLFilter
> ---------------------
>
>          Key: DIRMINA-138
>          URL: http://issues.apache.org/jira/browse/DIRMINA-138
>      Project: Directory MINA
>         Type: Bug
>  Environment: Java 5, Linux FC3
>     Reporter: Vinod Panicker
>     Assignee: Trustin Lee
>     Priority: Blocker
>      Fix For: 0.9

>
> Found a deadlock in the SSLFilter implementation.  This has happened quite
 a few times, even with the latest 0.9 snapshots.
> This deadlock is causing *all* writes to block, effectively bringing the s
erver to a standstill.
> Stack trace of IoThreadPool-1 -
> Name: IoThreadPool-1
> State: BLOCKED on java.lang.Object@ccbab7 owned by: Thread-20
> Total blocked: 6  Total waited: 27
> Stack trace:
> org.apache.mina.common.support.BaseIoSession.close(BaseIoSession.java:109)
> com.geodesiconline.mims.io.MIMSIoSession.close(MIMSIoSession.java:56)
> com.geodesiconline.mims.io.LocalIoSession.close(LocalIoSession.java:190)
> com.geodesiconline.mims.io.IoHandlerImpl.sessionClosed(IoHandlerImpl.java:
102)
> org.apache.mina.common.support.AbstractIoFilterChain$2.sessionClosed(Abstr
actIoFilterChain.java:163)
> org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed
(AbstractIoFilterChain.java:453)
> org.apache.mina.common.support.AbstractIoFilterChain.access$700(AbstractIo
FilterChain.java:52)
> org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionCl
osed(AbstractIoFilterChain.java:742)
> org.apache.mina.filter.SSLFilter.sessionClosed(SSLFilter.java:376)
> org.apache.mina.common.support.AbstractIoFilterChain.callNextSessionClosed
(AbstractIoFilterChain.java:453)
> org.apache.mina.common.support.AbstractIoFilterChain.access$700(AbstractIo
FilterChain.java:52)
> org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.sessionCl
osed(AbstractIoFilterChain.java:742)
> org.apache.mina.filter.ThreadPoolFilter.processEvent(ThreadPoolFilter.java
:687)
> org.apache.mina.filter.ThreadPoolFilter$Worker.processEvents(ThreadPoolFil
ter.java:421)
> org.apache.mina.filter.ThreadPoolFilter$Worker.run(ThreadPoolFilter.java:3
76)
> Stack trace of Thread-20 -
> Name: Thread-20
> State: BLOCKED on org.apache.mina.transport.socket.nio.support.SocketSessi
onImpl@bebb88 owned by: IoThreadPool-1
> Total blocked: 5  Total waited: 5
> Stack trace:
> org.apache.mina.filter.SSLFilter.filterWrite(SSLFilter.java:493)
> org.apache.mina.common.support.AbstractIoFilterChain.callPreviousFilterWri
te(AbstractIoFilterChain.java:556)
> org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractI
oFilterChain.java:52)
> org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.filterWri
te(AbstractIoFilterChain.java:773)
> org.apache.mina.common.support.AbstractIoFilterChain$2.filterWrite(Abstrac
tIoFilterChain.java:213)
> org.apache.mina.common.support.AbstractIoFilterChain.callPreviousFilterWri
te(AbstractIoFilterChain.java:556)
> org.apache.mina.common.support.AbstractIoFilterChain.filterWrite(AbstractI
oFilterChain.java:547)
> org.apache.mina.transport.socket.nio.support.SocketSessionImpl.write0(Sock
etSessionImpl.java:131)
> org.apache.mina.common.support.BaseIoSession.write(BaseIoSession.java:143)
> com.geodesiconline.mims.io.MIMSIoSession.write(MIMSIoSession.java:127)
> com.geodesiconline.mims.io.LocalIoSession.write(LocalIoSession.java:133)
> com.geodesiconline.mims.protocol.xmpp.handler.AbstractHandler.writeStreamE
rror(AbstractHandler.java:306)
> com.geodesiconline.mims.protocol.xmpp.handler.AbstractHandler.retrieveAndS
 etActiveDefaultListItems(AbstractHandler
.java:1522)
> com.geodesiconline.mims.protocol.xmpp.handler.AbstractHandler.isStanzaBloc
ked(AbstractHandler.java:828)
> com.geodesiconline.mims.protocol.xmpp.handler.AsynchronousStanzaHandler.wr
itePresence(AsynchronousStanzaHandler.java:432)
> com.geodesiconline.mims.protocol.xmpp.handler.CommonPresence.sendPresence(
CommonPresence.java:170)
> com.geodesiconline.mims.protocol.xmpp.handler.PresenceBroadcastHandler.bro
 adcastPresenceContact(PresenceBroadcastH
andler.java:237)
> com.geodesiconline.mims.protocol.xmpp.handler.PresenceBroadcastHandler.pro
 cessOutboundStanza(PresenceBroadcastHand
ler.java:71)
> com.geodesiconline.mims.protocol.xmpp.handler.AsynchronousStanzaHandler.pr
ocessStanza(AsynchronousStanzaHandler.java:320)
> com.geodesiconline.mims.protocol.xmpp.handler.InitialPresenceHandler.sendI
nitialPresence(InitialPresenceHandler.java:140)
> com.geodesiconline.mims.protocol.xmpp.handler.InitialPresenceHandler.proce
ssOutboundStanza(InitialPresenceHandler.java:89)
> com.geodesiconline.mims.protocol.xmpp.handler.AsynchronousStanzaHandler.pr
ocessStanza(AsynchronousStanzaHandler.java:320)
> com.geodesiconline.mims.protocol.xmpp.handler.PresenceHandler.processStanz
a(PresenceHandler.java:225)
> com.geodesiconline.mims.protocol.xmpp.handler.AbstractHandler.handleStanza
(AbstractHandler.java:195)
> com.geodesiconline.mims.protocol.xmpp.io.XMPPIoHandler.processData(XMPPIoH
andler.java:464)
> com.geodesiconline.mims.protocol.xmpp.io.XMPPIoHandler.messageReceived(XMP
PIoHandler.java:180)
> com.geodesiconline.mims.protocol.xmpp.io.XMPPIoHandler.notified(XMPPIoHand
ler.java:660)
> com.geodesiconline.mims.event.EventManager$1.run(EventManager.java:196)
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.
java:650)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
:675)
> java.lang.Thread.run(Thread.java:595)
> All the other threads are queued up behind Thread-20

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:34 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register