JDK epoll bug in 0.4.3
See original GitHub issuei 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
Issue Analytics
- State:
- Created 6 years ago
- Comments:24 (11 by maintainers)
Top Results From Across the Web
Uses of Class zmq.PollItem (JeroMQ 0.4.0 API) - javadoc.io
Polling on items with given selector CAUTION: This could be affected by jdk epoll bug. static int, ZMQ. poll(Selector selector, PollItem[] items, ...
Read more >JDK-6481709 (se) epoll based Selector throws java.io ... - Bug ID
The bug arises when the file descriptor in a pending registration is recycled as non-pollable file descriptor. The fix requires that the pending...
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
Bug:1523 - "[IDEA] Offload work by distributing trivial ebuild maintenance to users, introduce a simple stability voting system and have a core team...
Read more >Forge is not opening or creating a client - Support & Bug Reports ...
i just installed java and yet the same problem, i open the file and it opens it in ... Considering library net.minecraftforge:srgutils:0.4.3 File...
Read more >pinentry bug fix and enhancement update
... #1263740) - Add support for Octave 3.8 (bug #1136487) This update is available via the Unbreakable Linux Network (ULN) and the Oracle...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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.