[ 
https://issues.apache.org/jira/browse/DIRMINA-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17474956#comment-17474956
 ] 

Emmanuel Lécharny commented on DIRMINA-1156:
--------------------------------------------

Tests added and code modified in 2.1.X branch. Will apply the same changes in 
2.0.X and 2.2.X branches.

Many thanks Guus !

> Inconsistent worker / idleWorker in OrderedThreadPoolExecutor
> -------------------------------------------------------------
>
>                 Key: DIRMINA-1156
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1156
>             Project: MINA
>          Issue Type: Bug
>            Reporter: Guus der Kinderen
>            Priority: Critical
>         Attachments: DIRMINA1156Test.java, 
> OrderedThreadPoolExecutorTest.java, PriorityThreadPoolExecutorTest.java, 
> UnorderedThreadPoolExecutorTest.java
>
>
> I stumbled upon this while performing analysis of heap dumps of a JVMs that 
> suffered from an issue where no user was able to establish a connection to 
> our server software anymore.
>  
> Our application uses an ExecutorFilter. The OrderedThreadPoolExecutor of the 
> affected server seems to be in an inconsistent state:
>  * idleWorkers: 2
>  * waitingSessions.count: 2293
>  * workers.map.size: 0
> What strikes me as odd is:
>  * No workers, while there are sessions waiting to be processed
>  * No workers, but a non-zero idle workers count
> Servers that are unaffected by the issue have an idle worker count that is 
> equal to the amount of workers (I assume that the snapshots were taken when 
> that server was not actively processing data).
> We are using Apache MINA 2.1.3. I have no indication that this problem is or 
> is not present in other versions.
> This issue has also been discussed on the Apache MINA users mailinglist, 
> starting with this message: 
> https://www.mail-archive.com/[email protected]/msg06887.html



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to