[GH-ISSUE #28] goodhosts stalls when the /etc/hosts file has too many entries #15

Closed
opened 2026-03-02 05:09:09 +03:00 by kerem · 3 comments
Owner

Originally created by @conradolandia on GitHub (Oct 14, 2021).
Original GitHub issue: https://github.com/goodhosts/cli/issues/28

I block malware sites and ads from the internet using a large hosts file (600.000+ lines), redirecting all these bad hosts to 0.0.0.0. When I try to use goodhosts, it just freezes and whatever process I was on won't go on. If I remove most of the entries form /etc/hosts, the process completes without problems. Is this a bug or expected behavior?

Originally created by @conradolandia on GitHub (Oct 14, 2021). Original GitHub issue: https://github.com/goodhosts/cli/issues/28 I block malware sites and ads from the internet using a large hosts file (600.000+ lines), redirecting all these bad hosts to 0.0.0.0. When I try to use goodhosts, it just freezes and whatever process I was on won't go on. If I remove most of the entries form /etc/hosts, the process completes without problems. Is this a bug or expected behavior?
kerem closed this issue 2026-03-02 05:09:10 +03:00
Author
Owner

@luthermonson commented on GitHub (Dec 3, 2021):

@conradolandia try v1.1.0 and tell me if you see improvements

https://github.com/goodhosts/cli/releases/tag/v1.1.0

<!-- gh-comment-id:985223394 --> @luthermonson commented on GitHub (Dec 3, 2021): @conradolandia try v1.1.0 and tell me if you see improvements https://github.com/goodhosts/cli/releases/tag/v1.1.0
Author
Owner

@conradolandia commented on GitHub (Dec 3, 2021):

It works as expected! thank you. Hopefully, developers at vagrant-goodhosts can start using it right away.

<!-- gh-comment-id:985702700 --> @conradolandia commented on GitHub (Dec 3, 2021): It works as expected! thank you. Hopefully, developers at vagrant-goodhosts can start using it right away.
Author
Owner

@luthermonson commented on GitHub (Dec 3, 2021):

excellent! i will close the issue

<!-- gh-comment-id:985761857 --> @luthermonson commented on GitHub (Dec 3, 2021): excellent! i will close the issue
Sign in to join this conversation.
No labels
bug
bug
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cli#15
No description provided.