-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Service Host: DNS Client uses > 50% CPU and block for min 5min the net #757
Comments
Duplicate of #710 ? |
in #710 they discuss the host file size. I don't think this is the real problem, because just few months ago everything works fine with almost the same file host size- the real problem is in some strings as host names or ip addresses |
Some similar issues are here: The problem is not directly the file size, but the line count. It has to do with how the DNS Client service parses the file. The solution is to use a compressed file format. If you use the AutoUpdate script, it gives you a compression level option when you set it up and it can automatically update your hosts file with the chosen compression level every time Steven pushes an update: If you would prefer to do things manually, you can try either the compressed or mcompressed formats here: If you would like to generate your own hosts file from scratch using Steven's script, Steven's readme suggests the following:
|
@ScriptTiger Thank you so much for your perfect resolution. This is the right one- I just put "-c" in "python updateHostsFile.py … -c ..." and everything works like a charm, without delay or high CPU usage. |
@StevenBlack, I'm not sure if adding the |
From a few months from now, host file under Win10 Pro 64bit 1803 17134.191 is the reason "DNS Client" (svchost.exe) to use 50-55% of CPU each time when the internet is activated. Also to block the internet for at least 5min during this process!
Obvious, it is bug of DNS Client, but this bug is not exist in early versions of host file (2017>).
So I am wonder, is it possible some host name(s) in host file to rise this bug?
Anybody to feel the same f..g problem?
The text was updated successfully, but these errors were encountered: