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

Emmanuel Lecharny commented on DIRMINA-762:
-------------------------------------------

Ok, I found some time to run the new client. I get some interesting results :

3092.25 messages/sec (total messages received 15235)
3231.0 messages/sec (total messages received 31367)
...
3232.25 messages/sec (total messages received 79864)
Warning : Short connections thread 2 have no activity for 1322 ms
Warning : Long connection thread 0 have no activity for 1271 ms
Warning : Long connection thread 1 have no activity for 1262 ms
Warning : Long connection thread 3 have no activity for 1271 ms
Warning : Long connection thread 6 have no activity for 1264 ms
Warning : Long connection thread 10 have no activity for 1269 ms
Warning : Long connection thread 17 have no activity for 1262 ms
Warning : Long connection thread 18 have no activity for 1261 ms
Warning : Long connection thread 21 have no activity for 1271 ms
Warning : Long connection thread 24 have no activity for 1267 ms
Warning : Long connection thread 27 have no activity for 1271 ms
Warning : Long connection thread 28 have no activity for 1261 ms
Warning : Long connection thread 31 have no activity for 1262 ms
2262.5 messages/sec (total messages received 91947)
1733.0 messages/sec (total messages received 100753)
Warning : Short connections thread 1 have no activity for 1479 ms
Warning : Long connection thread 4 have no activity for 1421 ms
Warning : Long connection thread 7 have no activity for 1430 ms
Warning : Long connection thread 11 have no activity for 1422 ms
Warning : Long connection thread 13 have no activity for 1424 ms
Warning : Long connection thread 14 have no activity for 1430 ms
Warning : Long connection thread 16 have no activity for 1422 ms
Warning : Long connection thread 19 have no activity for 1424 ms
Warning : Long connection thread 22 have no activity for 1423 ms
Warning : Long connection thread 26 have no activity for 1430 ms
Warning : Long connection thread 29 have no activity for 1421 ms
1041.25 messages/sec (total messages received 105948)
...
1035.5 messages/sec (total messages received 163086)
Warning : Short connections thread 4 have no activity for 1844 ms
Warning : Long connection thread 2 have no activity for 1793 ms
Warning : Long connection thread 5 have no activity for 1786 ms
Warning : Long connection thread 8 have no activity for 1785 ms
Warning : Long connection thread 9 have no activity for 1785 ms
Warning : Long connection thread 12 have no activity for 1793 ms
Warning : Long connection thread 15 have no activity for 1783 ms
Warning : Long connection thread 20 have no activity for 1793 ms
Warning : Long connection thread 23 have no activity for 1784 ms
Warning : Long connection thread 25 have no activity for 1786 ms
Warning : Long connection thread 30 have no activity for 1785 ms
39.5 messages/sec (total messages received 163483)
...

There are 32 long connection created, and one third (roughly) is being 
'killed', or stall, then a few moment later, another third stall, and at the 
end, the last third stall. At this point, we don't receive any message on the 
long connections.

Seems like we have a problem writing data to the client at some point. The 
selector is not swapped, btw. 

> WARN org.apache.mina.core.service.IoProcessor  - Create a new selector. 
> Selected is 0, delta = 0
> ------------------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-762
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-762
>             Project: MINA
>          Issue Type: Bug
>         Environment: Linux (2.6.26-2-amd64),  java version 1.6.0_12 and also 
> 1.6.0_18.
>            Reporter: Omry Yadan
>            Priority: Critical
>             Fix For: 2.0.0-RC2
>
>         Attachments: BufferCodec.java, NettyTestServer.java, 
> RateCounter.java, Screen shot 2010-02-02 at 7.48.39 PM.png, Screen shot 
> 2010-02-02 at 7.48.46 PM.png, Screen shot 2010-02-02 at 7.48.59 PM.png, 
> Screen shot 2010-02-02 at 7.49.13 PM.png, Screen shot 2010-02-02 at 7.49.18 
> PM.png, Server.java, StressClient.java
>
>
> Mina server gets into a bad state where it constantly prints :
> WARN org.apache.mina.core.service.IoProcessor  - Create a new selector. 
> Selected is 0, delta = 0
> when this happens, server throughput drops significantly.
> to reproduce run the attached server and client for a short while (30 seconds 
> on my box).

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

Reply via email to