directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <>
Subject [jira] Created: (DIRMINA-83) SocketIoProcessor halts if channel is closed while flushing.
Date Sun, 28 Aug 2005 09:07:04 GMT
SocketIoProcessor halts if channel is closed while flushing.

         Key: DIRMINA-83
     Project: Directory MINA
        Type: Bug
    Versions: 0.7.3    
 Reporter: Trustin Lee
 Assigned to: Trustin Lee 
     Fix For: 0.7.4

>From Rodrigo Kumpera's report:

Great work with mina, it do makes writting nio servers easy. I´m
writing a filtering server and have the following scenario:

1-incoming connections, using ServiceRegistry with IoHandler.
2-filtering is done in a separate pool (using doug lea's
util.concurrent package)
3-fowarding the result to another server, using SocketIoProcessor and

So fair I´ve been able to fine tune the thread pool used by the
ServiceRegistry (1).

My problem is with (2) and (3), I want to have a single thread pool to
be shared by the 3 stages of the server.
With the filtering stage I´m thinking about playing with
IoThreadPoolFilter implementation to use util.concurrent and expose
it's interface.
My problem when using a thread pool with the last stage, when
connecting to foreign hosts, is that it throws the following exception
under moderate load:


I tried to use the same IoThreadPoolFilter with an instance of
SocketIoProcessor and ServiceRegistry, but it doesn´t seen to work,
the server halts and don't make any progress.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message