You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2010/01/15 00:30:54 UTC

[jira] Commented: (DIRMINA-724) getScheduledWriteMessages not zero after all sessions closed

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

Emmanuel Lecharny commented on DIRMINA-724:
-------------------------------------------

What would be very useful is a code demonstrating the problem. 

Also consider that it's not because you close all the sessions that the messages are removed from the write queue. In fact, either you wait for the scheduled messages to be sent using the close(false) method, or you do a close(true) and the queue will be emptied.

> getScheduledWriteMessages not zero after all sessions closed
> ------------------------------------------------------------
>
>                 Key: DIRMINA-724
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-724
>             Project: MINA
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M6
>         Environment: Linux 2.6.9-34
>            Reporter: Oscar Huang
>            Priority: Minor
>
> 1.start the server (MINA application)
> 2.50 clients connect to the server and send 10 requests per second constantly. server broadcast all the received message to the clients
> 3.close all the clients
> 4. expected: getScheduledWriteMessages returns zero.
>     actual: getScheduledWriteMessages  retuns the value greater than zero.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.