Guus der Kinderen created DIRMINA-1156:
------------------------------------------

             Summary: 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


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