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

Emmanuel Lecharny commented on DIRMINA-681:
-------------------------------------------

ok. I have modified the way the select() method works : if at some point we get 
a spinning epoll, then the new code is supposed to delete the selector() and to 
create a new one, then reattach all the keys to this new selector.

There might be some bug in this area. I will have a look and see what can go 
wrong.

> Strange CPU peak occuring at fixed interval when several thousand connections 
> active
> ------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-681
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-681
>             Project: MINA
>          Issue Type: Task
>          Components: Core
>    Affects Versions: 2.0.0-M4, 2.0.0-RC1
>         Environment: Windows Vista Ultimate 64-bit (on 64-bit Sun JDK 
> 1.6.0_18). Intel Core 2 Quad Core Q9300 2,5 GHz, 8 GB RAM
>            Reporter: Mauritz Lovgren
>             Fix For: 2.0.0
>
>         Attachments: screenshot-1.jpg, screenshot-2.jpg, screenshot-3.jpg, 
> screenshot-4.jpg
>
>
> Observing strange CPU activity occuring at regular (seemingly fixed) interval 
> with no protocol traffic activity.
> See attached window capture of task manager that shows this with 3000 active 
> connections.
> Is there some kind of cleanup occuring within MINA core at a predefined 
> interval?
> The 3000 connections in the example above connects within 250 seconds. A 
> normal situation would be that these connections are established over a 
> longer period of time, perhaps spreading the CPU peaks shown above as well, 
> flattening the curve.

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