PC Review


Reply
Thread Tools Rate Thread

How big can HOSTS be?

 
 
Nil
Guest
Posts: n/a
 
      12th Mar 2008
Will there be a performance hit if the HOSTS file passes a certain size
or number of entries? I use Spybot Search & Destroy's Immunize feature,
which maps bad-guy sites and domains to localhost in HOSTS, and I see
that it's up to well over 8000 lines in addition to the entries I've
put there myself.

I don't notice any slowdown... yet.
 
Reply With Quote
 
 
 
 
R. McCarty
Guest
Posts: n/a
 
      12th Mar 2008
Yes, but at what number is hard to say. Having a Hosts file parsed before
using the DNS service adds some time to resolve a URL But how that
time varies from using the DNS service is a value I'm not aware of. I use
a few entries in my Hosts but mainly just to speed up email and a few sites
I visit very often. Some people use an alternate DNS resolver service from
OpenDNS which internally has many ad sites blocked.

"Nil" <rednoise+(E-Mail Removed)> wrote in message
news:Xns9A5F9FCD4A4C7nilch1@216.196.97.136...
> Will there be a performance hit if the HOSTS file passes a certain size
> or number of entries? I use Spybot Search & Destroy's Immunize feature,
> which maps bad-guy sites and domains to localhost in HOSTS, and I see
> that it's up to well over 8000 lines in addition to the entries I've
> put there myself.
>
> I don't notice any slowdown... yet.



 
Reply With Quote
 
PA Bear [MS MVP]
Guest
Posts: n/a
 
      12th Mar 2008
It /could/ have an affect on performance, yes. See
http://www.mvps.org/winhelp2002/hosts.htm#Note
--
~Robear Dyer (PA Bear)
MS MVP-IE, Mail, Security, Windows Desktop Experience - since 2002
AumHa VSOP & Admin http://aumha.net
DTS-L http://dts-l.net/

Nil wrote:
> Will there be a performance hit if the HOSTS file passes a certain size
> or number of entries? I use Spybot Search & Destroy's Immunize feature,
> which maps bad-guy sites and domains to localhost in HOSTS, and I see
> that it's up to well over 8000 lines in addition to the entries I've
> put there myself.
>
> I don't notice any slowdown... yet.


 
Reply With Quote
 
Nil
Guest
Posts: n/a
 
      12th Mar 2008
On 12 Mar 2008, "PA Bear [MS MVP]" <(E-Mail Removed)> wrote in
microsoft.public.windowsxp.general:

> It /could/ have an affect on performance, yes. See
> http://www.mvps.org/winhelp2002/hosts.htm#Note


OK. It says that it can slow things down if it grows over 135kb. Mine
is now 228 kb. I have notices a few times lately where I wouldn't
connect to a site with my browser, and then after a refresh I would get
it. Maybe it's a time-out due to a too-large file. Next time I see that
happening I'll put in a clean HOSTS and see if it helps.

Thank you.

 
Reply With Quote
 
Nil
Guest
Posts: n/a
 
      12th Mar 2008
On 12 Mar 2008, "R. McCarty" <PcEngWork-NoSpam_@mindspring.com>
wrote in microsoft.public.windowsxp.general:

> Some people use an alternate DNS resolver service from OpenDNS
> which internally has many ad sites blocked.


I'll check into that - it sounds like it might be good alternative
to an ever-expanding HOSTS.
 
Reply With Quote
 
PD43
Guest
Posts: n/a
 
      12th Mar 2008
Nil <rednoise+(E-Mail Removed)> wrote:

>OK. It says that it can slow things down if it grows over 135kb. Mine
>is now 228 kb.


mine is 1KB... and I don't have any problems.
 
Reply With Quote
 
Nil
Guest
Posts: n/a
 
      12th Mar 2008
On 12 Mar 2008, PD43 <(E-Mail Removed)> wrote in
microsoft.public.windowsxp.general:

> Nil <rednoise+(E-Mail Removed)> wrote:
>
>>OK. It says that it can slow things down if it grows over 135kb.
>>Mine is now 228 kb.

>
> mine is 1KB... and I don't have any problems.


Is that what you really mean? That's barely over the size of the
default HOSTS, which shouldn't create any problems at all.

If you really mean MB, I'll feel much better about mine!


 
Reply With Quote
 
PD43
Guest
Posts: n/a
 
      12th Mar 2008
Nil <rednoise+(E-Mail Removed)> wrote:

>> mine is 1KB... and I don't have any problems.

>
>Is that what you really mean? That's barely over the size of the
>default HOSTS, which shouldn't create any problems at all.
>
>If you really mean MB, I'll feel much better about mine!


SORRY... it's 1kb
 
Reply With Quote
 
Nil
Guest
Posts: n/a
 
      12th Mar 2008
On 12 Mar 2008, PD43 <(E-Mail Removed)> wrote in
microsoft.public.windowsxp.general:

> SORRY... it's 1kb


Damn. Now I feel bad again.


 
Reply With Quote
 
Ken Blake, MVP
Guest
Posts: n/a
 
      12th Mar 2008
On Wed, 12 Mar 2008 15:43:49 -0500, Nil
<rednoise+(E-Mail Removed)> wrote:

> On 12 Mar 2008, "PA Bear [MS MVP]" <(E-Mail Removed)> wrote in
> microsoft.public.windowsxp.general:
>
> > It /could/ have an affect on performance, yes. See
> > http://www.mvps.org/winhelp2002/hosts.htm#Note

>
> OK. It says that it can slow things down if it grows over 135kb.



Did you read past that sentence? Yes, it says that. But it also tells
you how to resolve that issue.



> Mine
> is now 228 kb. I have notices a few times lately where I wouldn't
> connect to a site with my browser, and then after a refresh I would get
> it. Maybe it's a time-out due to a too-large file. Next time I see that
> happening I'll put in a clean HOSTS and see if it helps.
>
> Thank you.


--
Ken Blake, Microsoft MVP - Windows Desktop Experience
Please Reply to the Newsgroup
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP hosts in the UK =?Utf-8?B?V2F5bmUtSS1N?= Microsoft Frontpage 5 29th Jul 2007 08:44 AM
windows hosts file c:\windows\system32\drivers\etc\hosts q_q_anonymous@yahoo.co.uk Windows XP General 15 8th Aug 2006 06:08 PM
ICP hosts? Raymond Ellis Microsoft Outlook 3 10th Jun 2005 01:22 AM
SP2 hosts file bug (or COM bug with hosts-file mapped machine names)? Sean Windows XP General 0 28th Sep 2004 09:29 PM
Internal hosts and external hosts Shlook Microsoft Windows 2000 DNS 2 5th Aug 2003 05:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:52 AM.