[
https://issues.apache.org/jira/browse/DIRMINA-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529048
]
Dmitry V. Zemnitskiy commented on DIRMINA-442:
----------------------------------------------
few comments:
1) the problem is also reproduced on linux (ubuntu 7)
2) the problem is not reproduced with mina-core-2.0.0-M1-20070914.100524-62.jar
and correspondent examples from 14th of Sep - I did not try other snapshots
between
14th and 18th to detect precisely what changes caused this error
> high cpu load (50% cpu on dual core) with only one active connection
> --------------------------------------------------------------------
>
> Key: DIRMINA-442
> URL: https://issues.apache.org/jira/browse/DIRMINA-442
> Project: MINA
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0-M1
> Environment: 1) Fresh mina built from trunk (revision 577654)
> 2) Windows XP SP2 (reproduced also on Win2k server)
> 3) java version "1.6.0_02"
> Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
> Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)
> Reporter: Dmitry V. Zemnitskiy
> Priority: Critical
> Attachments: echo.hprof
>
>
> I've noticed that even single connection causes mina server to enter tight
> loop in
> sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0
> This leads to immediately increase CPU load to 50% of my dual core cpu (Intel
> core duo)
> on win2k with 1cpu process consumes even more (70%-80% CPU)
> Reproduction is very simple:
> 1) checkout mina from trunk and build it using maven
> 2) run echo server:
> java -agentlib:hprof=cpu=samples,file=echo.hprof -classpath
> mina-core-2.0.0-M1-SNAPSHOT.jar;mina-example-2.0.0-M1-SNAPSHOT.jar;slf4j-api-1.4.3.jar;slf4j-log4j12-1.4.3.jar;log4j-1.2.14.jar
> org.apache.mina.example.echoserver.Main
> 3) telnet localhost 8080
> 4) type one character in telnet window
> 5) CPU load immediately increased to 50%
> I'll attach hprof dump to this issue
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.