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

anna-monitor and anna-kvs consistently hover around 100% (+/- 5%) CPU when idle #50

Open
WildCryptoFox opened this issue Jun 13, 2020 · 0 comments

Comments

@WildCryptoFox
Copy link
Contributor

WildCryptoFox commented Jun 13, 2020

htop extract

 VIRT   RES   SHR S CPU% MEM%   TIME+  Command
95220  9564  6940 R 98.9  0.1  0:07.61 ./build/target/kvs/anna-monitor
96332 10856  7172 R 98.2  0.1  0:07.49 ./build/target/kvs/anna-kvs
96020 10712  7052 S  0.0  0.1  0:00.00 ./build/target/kvs/anna-route

strace output for anna-monitor and anna-kvs respectively. These loop tightly with immediate timeouts despite no clients / no load.

poll([{fd=11, events=POLLIN}, {fd=13, events=POLLIN}, {fd=15, events=POLLIN}], 3, 0) = 0 (Timeout)
poll([{fd=11, events=POLLIN}], 1, 0)    = 0 (Timeout)
poll([{fd=13, events=POLLIN}], 1, 0)    = 0 (Timeout)
poll([{fd=15, events=POLLIN}], 1, 0)    = 0 (Timeout)
poll([{fd=15, events=POLLIN}, {fd=17, events=POLLIN}, {fd=19, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}, {fd=25, events=POLLIN}, {fd=27, events=POLLIN}, {fd=29, events=POLLIN}, {fd=31, events=POLLIN}], 9, 0) = 0 (Timeout)
poll([{fd=15, events=POLLIN}], 1, 0)    = 0 (Timeout)
poll([{fd=17, events=POLLIN}], 1, 0)    = 0 (Timeout)
poll([{fd=19, events=POLLIN}], 1, 0)    = 0 (Timeout)
poll([{fd=21, events=POLLIN}], 1, 0)    = 0 (Timeout)
poll([{fd=23, events=POLLIN}], 1, 0)    = 0 (Timeout)
poll([{fd=25, events=POLLIN}], 1, 0)    = 0 (Timeout)
poll([{fd=27, events=POLLIN}], 1, 0)    = 0 (Timeout)
poll([{fd=29, events=POLLIN}], 1, 0)    = 0 (Timeout)
poll([{fd=31, events=POLLIN}], 1, 0)    = 0 (Timeout)
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

1 participant