[ https://issues.apache.org/jira/browse/DIRMINA-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lécharny updated DIRMINA-1156: --------------------------------------- Fix Version/s: 2.0.23 2.2.0 2.1.6 (was: 2.0.23, 2.1.6, 2.2.0) > 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 > Fix For: 2.0.23, 2.2.0, 2.1.6 > > 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/users@mina.apache.org/msg06887.html -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org