jeromq: JDK epoll bug in 0.4.3
i use jeromq 0.4.3 with jdk 8.
sometimes Poller.run get 100% cpu usage without any message.
i add some debug info in the Poller and find that rc = selector.select(timeout); always get rc==1. so it can’t hit maybeRebuildSelector method.
netty solve the issue by only use a counter, and ignore the ‘rc’.
sorry for my poor english
About this issue
- Original URL
- State: open
- Created 7 years ago
- Comments: 24 (11 by maintainers)
@fredoboulo Thanks for getting back on this. I’ve not worked on that code in a while, so I haven’t been affected by this in a while. I’ll make sure to (at least attempt to) make a small reproduction sample. (Maybe the latest JVM fixes the issue?)
I am also experiencing this bug with JDK8 on Linux. Our stack looks as follows for the thread consuming 100% cpu
Any ideas how we can mitigate it? We are using ZMQ to forward error/access logs to splunk. I dont see any error messages in the log files that could point to the root cause.