-
Notifications
You must be signed in to change notification settings - Fork 78
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
unstable: high cpu usage by /sbin/urngd #46
Comments
Thanks for the report, I've never touched |
So, quickly typing a
|
Just to confirm that the problem persists with an Ubuntu 18.04 VM as host
|
I can't reproduce the error, did you tried to reproduce it on other machines? |
I can't reproduce that error even on Ubuntu 18.04 (but with 5.6.7 kernel). It would help to get strace output from |
i'll attempt to do this in the next week or so. i'll close the issue for now to prevent noise :) thanks for both your responses |
I would like to reopen this issue. I am running in the same bug when OpenWRT is running in a docker that does not allow ioctl RNDADDENTROPY on /dev/random. This causes an infinite loop consuming high cpu because the WRITE poll event keeps triggering and is never satisfied (because it cannot), thus causing the infinite busy loop. Should I provide a possible fix? I would simply stop the polling for a certain amount of time in case RNDADDENTROPY fails. |
I have the same issue in Ubuntu18.04 VM, and OpenWRT(19.07.02) in the docker container. |
@thg2k please provide a fix |
@aparcar I did, but it was refused by the maintainer. http://lists.openwrt.org/pipermail/openwrt-devel/2021-January/033587.html It is indeed a very bad workaround but it solves the problem without causing any regression damage and it's easy to audit. A better fix would be to use uloop timers and improve logging but I have no interest in spending more time on this. It is still a fix and I recommend merging it. |
I got this problem on my MT7621 router too, maybe there is something wrong with the source code. |
I ran into this same problem when using PVE to run OpenWrt in Linux Container, according to random(4) - Linux manual page, The CAP_SYS_ADMIN capability is required for almost all related ioctl requests. I had included the default OpenWrt config file (same as this lxc-template) which contains I think there is also a way to grant the SYS_ADMIN capability to a Docker container, but it is overloaded so the decision is yours. Moreover, it seems just uninstall the |
It looks like I am also seeing this on a TP-Link Archer C7 v2.
|
Hi all, getting a lot of instability. On MacOS Mojave, running Docker version 19.03.8, and docker-machine version 0.16.2
If I just use the Readme command:
I get a number of error messages during launch:
When in the shell, it's sluggish, and I notice that one core of my CPU is being used at 100%. A
top
inside the container reveals the following:Am I doing something wrong?
The text was updated successfully, but these errors were encountered: