Issue Details (XML | Word | Printable)

Key: DIRMINA-79
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Trustin Lee
Reporter: Trustin Lee
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
MINA

The number of ThreadPoolFilter threads becomes 0 sometimes.

Created: 05/Aug/05 10:38 PM   Updated: 26/May/09 12:46 AM
Return to search
Component/s: None
Affects Version/s: 0.7.3
Fix Version/s: 0.7.4

Time Tracking:
Not Specified

Resolution Date: 23/Aug/05 10:09 AM


 Description  « Hide
Related forum thread: http://gleamynode.net/dev/forum/read.php?1,20

It seems like all thread pool threads suicide without any exceptions at some situation.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #239282 Tue Aug 23 01:01:39 UTC 2005 trustin Possible fix for DIRMINA-79 - The number of ThreadPoolFilter threads sometimes becomes 0.
* Fixed a bug that the thread can die when interrupted in Worker.waitForPromotion() and Worker.fetchBuffer()
Files Changed
MODIFY /directory/network/branches/0.7/src/java/org/apache/mina/util/BaseThreadPool.java
MODIFY /directory/network/trunk/src/test/org/apache/mina/filter/ThreadPoolFilterRegressionTest.java
MODIFY /directory/network/trunk/src/java/org/apache/mina/filter/ThreadPoolFilter.java

Trustin Lee added a comment - 23/Aug/05 10:09 AM
I found some silly bug that threads die when they are interrupted expectedly. I checked in the fix and deployed the snapshot JAR. Please report if threads die again.

Thanks,
Trustin

Trustin Lee made changes - 23/Aug/05 10:09 AM
Field Original Value New Value
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Trustin Lee added a comment - 23/Aug/05 10:17 AM
expectedly -> unexpectedly

Repository Revision Date User Message
ASF #261915 Sun Aug 28 02:02:30 UTC 2005 trustin * Fixed deadlock while shutting down.
* Fixed DIRMINA-79 - The number of ThreadPoolFilter threads becomes 0 sometimes.
** Fixed problems in giveUpLead() and fetchBuffer()
Files Changed
MODIFY /directory/network/branches/0.7/src/java/org/apache/mina/util/BaseThreadPool.java
MODIFY /directory/network/trunk/src/java/org/apache/mina/filter/ThreadPoolFilter.java

Trustin Lee added a comment - 28/Aug/05 11:05 AM
There was a report on this bug again. I reviewed Thread Pool implementation again. I found and fixed two more issues related with this.

Jay Erb added a comment - 04/Nov/06 12:55 PM
I'd be interested in reading the discussion on pool thread suicide. Unfortunately, the link in the description is dead. I'm running into this problem running 0.7.3 and want to find a way to regularly reproduce it. We're too close to shipping to upgrade to a newer version of mina.

Emmanuel Lecharny made changes - 26/May/09 12:46 AM
Status Resolved [ 5 ] Closed [ 6 ]