Re: svchost consumes 100% of CPU on startup

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You can purge the DNS Resolver cache.

The ipconfig /flushdns command provides you with a means to flush and reset
the contents of the DNS client resolver cache. Resetting the cache does not
eliminate entries that are preloaded from the local Hosts file. To eliminate
those entries from the cache, remove them from the HOSTS file.

Open a command prompt...
Start | Run | Type: cmd | Click OK |
Type or paste this in the command prompt window:

ipconfig /flushdns

Hit your Enter key.

You can then view the DNS cache.

Type or paste this in the command prompt window:
ipconfig /displaydns
Hit your Enter key.
-----

[[ Editors Note: in most cases a large HOSTS file (over 135 kb) tends to
slow down the machine. This only occurs in W2000 and XP. Windows 98 and ME
are not affected.

To resolve this issue (manually) open the "Services Editor"

Start | Run (type) "services.msc" (no quotes)
Scroll down to "DNS Client", Right-click and select: Properties
Click the drop-down arrow for "Startup type"
Select: Manual, click Apply\Ok and restart.
You can see that the above "Service" is not needed (after a little browsing)
by opening the Services Editor again, scroll down to DNS Client and check
the "Status" column. It should be blank, if it was needed it would show
"Started" in that column. ]]
From...
Blocking Unwanted Parasites with a Hosts File
http://www.mvps.org/winhelp2002/hosts.htm

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:0C31B614-1F97-4401-8ABC-995DB526D3AE@xxxxxxxxxxxxx,
John Wasserbauer <JohnWasserbauer@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and
pecked:
> So I startup my computer and it works at a staggeringly slow pace.
> Using Process Explorer I've found that an instance of svchost.exe with
> only the Dnscache service is consuming my CPU. If I kill the process
> then the problem goes away. However, this seems to make other apps like
> Explorer do funny things, like take me off line constantly. Also,
> Dnscache (a Microsoft product) seems to be an important component of a
> healthy, internet-connected Windows XP. Anyone know how I can repair the
> Dnscache service?
>
> john

.



Relevant Pages

  • Re: svchost consumes 100% of CPU on startup
    ... > The ipconfig /flushdns command provides you with a means to flush and reset ... > the contents of the DNS client resolver cache. ... > Type or paste this in the command prompt window: ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Secure sites / Cannot find server
    ... That's a good thought--it might be worth trying stopping the DNS Client ... net start dnscache ... are the command line commands to do this as a test, ... IT IS NOT THE SECURITY SETTINGS ISSUE, ...
    (microsoft.public.security)
  • Re: Windows 2000 clients not caching dns lookups
    ... The DNS client cache will only cache the records until the Time to live ... remaining on the Ttl. ... but the "A" records that resolve the Cname to an IP address only have a Ttl ...
    (microsoft.public.win2000.dns)
  • Re: caching problem
    ... > popping up from the cache. ... > 2) delete TIFs folder, history folder and cookies folder from the local ... > service and DHCP client service disabled to avoid system slow downs. ... > have been experimenting with the DNS client service and DHCP client ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Total beginners question
    ... Cache seems to be the "Unifier"? ... use the Cache Explorer to import the routines, and the I use the Cache ... command has no arguments. ... MUMPS programmers usually export these files at users' terminals back ...
    (comp.lang.mumps)