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

Zhang Hua closed DIRMINA-1160.
------------------------------
    Resolution: Invalid

> mina2.0.22 NioProcessor thread make cpu 100%
> --------------------------------------------
>
>                 Key: DIRMINA-1160
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1160
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.22
>         Environment: openjdk version "1.8.0_312"
> OpenJDK Runtime Environment (build 1.8.0_312-b07)
> OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)
> CentOS Linux release 8.3.2011
> Kernel: Linux 4.18.0-240.1.1.el8_3.x86_64
>            Reporter: Zhang Hua
>            Priority: Major
>         Attachments: 288075.thread.dump.txt, top.288075.thread.png, 
> top.processor.png
>
>
> use mina as mobile game server demo and NioProcessor thread make cpu 100%
> thread dump:
> "NioProcessor-1" #67 prio=5 os_prio=0 tid=0x00007f9bec01b000 nid=0x466a3 
> runnable [0x00007f9bd4fdc000]
>    java.lang.Thread.State: RUNNABLE
>         at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
>         at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
>         at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
>         at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
>         - locked <0x00000000b632b678> (a sun.nio.ch.Util$3)
>         - locked <0x00000000b632b668> (a 
> java.util.Collections$UnmodifiableSet)
>         - locked <0x00000000b632b550> (a sun.nio.ch.EPollSelectorImpl)
>         at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
>         at 
> org.apache.mina.transport.socket.nio.NioProcessor.select(NioProcessor.java:112)
>         at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:616)
>         at 
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748)
> is that nio epollWait bug? please help



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to