[
https://issues.apache.org/jira/browse/DIRMINA-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832039#action_12832039
]
Emmanuel Lecharny commented on DIRMINA-762:
-------------------------------------------
Having stripped down all that is irrelevant in this giant patch, I have some
interesting parts :
- a new atomic flag has been added (wakeupCalled), I don't remember why
- this is used to protect the part of the code where we try to detect that the
epoll is spinning
- I'm wondering if we don't have a race condition here, and stay locked...
A quick thread dump could help...
> 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.