Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reaper-1 thread consuming 99.9% CPU #956

Open
nethibernate opened this issue Jul 5, 2023 · 2 comments
Open

reaper-1 thread consuming 99.9% CPU #956

nethibernate opened this issue Jul 5, 2023 · 2 comments

Comments

@nethibernate
Copy link

While using the jeromq library, we suddenly encountered an issue where the reaper-1 thread is consuming 99.9% CPU. The issue occurred unexpectedly, as it hadn't happened during previous runs. The stack trace of the reaper-1 thread is as follows:

"reaper-1" #35 daemon prio=5 os_prio=0 cpu=66154861.28ms elapsed=98947.99s tid=0x00007fe494583d10 nid=0x3d runnable  [0x00007fe4bd1ce000]
   java.lang.Thread.State: RUNNABLE
	at sun.nio.ch.FileDispatcherImpl.read0([email protected]/Native Method)
	at sun.nio.ch.FileDispatcherImpl.read([email protected]/FileDispatcherImpl.java:48)
	at sun.nio.ch.IOUtil.readIntoNativeBuffer([email protected]/IOUtil.java:330)
	at sun.nio.ch.IOUtil.read([email protected]/IOUtil.java:296)
	at sun.nio.ch.IOUtil.read([email protected]/IOUtil.java:259)
	at sun.nio.ch.SourceChannelImpl.read([email protected]/SourceChannelImpl.java:277)
	at zmq.Signaler.recv(Signaler.java:165)
	at zmq.Mailbox.recv(Mailbox.java:97)
	at zmq.SocketBase.processCommands(SocketBase.java:937)
	at zmq.SocketBase.inEvent(SocketBase.java:1065)
	at zmq.poll.Poller.run(Poller.java:273)
	at java.lang.Thread.run([email protected]/Thread.java:833)

Our server environment is as follows:

  • OS: CentOS 7
  • Java: 17.0.3
  • jeromq: 0.5.2

Could you please help us investigate this issue and provide any possible solutions? Thank you in advance!

@fbacchella
Copy link
Contributor

Current release is 0.5.3, try it.

@gaofei1982
Copy link

see: #859

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants