[ 
https://issues.apache.org/jira/browse/DIRMINA-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Valliere resolved DIRMINA-1054.
----------------------------------------
    Resolution: Unresolved

> High CPU lasting between 5-15 minutes during heavy load
> -------------------------------------------------------
>
>                 Key: DIRMINA-1054
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1054
>             Project: MINA
>          Issue Type: Bug
>    Affects Versions: 2.0.15
>         Environment: Linux
>            Reporter: Dan Janosik
>            Priority: Major
>              Labels: performance
>         Attachments: thread-dump.txt
>
>
> After upgrading from version 2.0.7 to 2.0.15 we experienced periods of 100% 
> cpu usage in our production environment lasting approximately 5-15 minutes in 
> length. Reverting to 2.0.7 resolved the issue. The issue was seen exclusively 
> in the evenings during times of heavy usage, but the pattern of its 
> occurrence was unclear. We obtained a thread dump which has been cleaned up 
> to show only mina code and that is included below. Using VisualVM, we also 
> ran the CPU sampler and got the following results:
> Mina CPU sampler entries in the top 10 during a 100% cpu period
>  -----------------------
>  
> org.apache.mina.filter.executor.OrderedThreadPoolExecutor:Worker.fetchSession()
>  60.4%
>  org.apache.mina.transport.socket.nio.NioProcessor.select() 10.9%
>  org.apache.mina.transport.socket.nio.NioProcessor.read() 3.2%
>  org.apache.mina.core.pooling.AbstractPollingIoProcessor.access$700() 1.4%
>  org.apache.mina.core.pooling.AbstractPollingIoProcessor.access$400() 1.1%
> Mina CPU sampler entries in the top 10 immediately after a 100% cpu period 
> ended
>  -----------------------
>  
> org.apache.mina.filter.executor.OrderedThreadPoolExecutor:Worker.fetchSession()
>  72.5%
>  org.apache.mina.transport.socket.nio.NioProcessor.select() 14.4%
> Thread dump is attached
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to