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

CPU usage 100% when no internet connection #18

Open
quinncomendant opened this issue Jan 2, 2017 · 1 comment
Open

CPU usage 100% when no internet connection #18

quinncomendant opened this issue Jan 2, 2017 · 1 comment

Comments

@quinncomendant
Copy link

PingMenu uses 100% CPU if there is no internet connection. I noticed when watching a film on a plane with my Macbook pro, the fans turned on a the CPU was at maximum, and a very high Energy Impact (see below image). This has been easily reproducible for me, every time I turn on my computer and have not connected to wifi yet.

screen shot 2016-12-31 at 07 00 30

@quinncomendant
Copy link
Author

Actually, it seems this only occurs the first time PingMenu starts, when there is no internet, and is unable to get internet. If PingMenu is already started and has had access to the internet already, then later if there is no internet it will not exhibit the behavior of 100% CPU. In this case, it behaves just as if the ping is not responding. I believe the case when DNS is not available, and PingMenu has not yet cached the IP address of the ping host, its search for DNS is blocking.

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