Re: svchost consumes 100% of CPU on startup
- From: Peter Todd <Peter Todd@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 23 Nov 2006 05:42:01 -0800
I'm having the same problem with ipconfig /flushdns except that the DNS
Client Service is Started and on automatic and I'm still getting "Could not
flush the DNS Resolver Cache: Function failed during execution" Any
suggestions?
"Wesley Vogel" wrote:
You betcha, John. Keep having fun. :-).
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:B8775DFB-F51C-4867-A1AC-DB45F475BD74@xxxxxxxxxxxxx,
John Wasserbauer <JohnWasserbauer@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and
pecked:
Wes,
Worked like a charm! I am absolutely thrilled to have this issue resolved
with no remaining mysteries! Wesley, Richard and Ramesh, you have been
most gracious. On behalf of myself and my family, thank you again for
all your help!
Sincerely,
John Wasserbauer
"Wesley Vogel" wrote:
John,
I read somewhere that...
The default time period for keeping an address in the cache is 24 hours.
After a little experimenting I have found out why ipconfig /flushdns
isn't working for you.
ipconfig /displaydns and ipconfig /flushdns do *not* work with the DNS
Client service *not* running.
You have to have the DNS Client service running in order for
ipconfig /displaydns and ipconfig /flushdns to work properly.
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:99623672-66E5-4EF2-BB13-6B55AE8ABDC2@xxxxxxxxxxxxx,
John Wasserbauer <JohnWasserbauer@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and
pecked:
Wes,
Apparently I'm typing everything in correctly and it's making an attempt
to flush the dns cache. The error I get reads:
Windows IP Configuration
Could not flush the DNS Resolver Cache: Function failed during
execution.
Are there any automatic flushes that occur under normal operation?
Perhaps this flush failure is how the file size got out of hand... ?
Thoughts? Other things to try?
John
"Wesley Vogel" wrote:
John,
Jeepers! 2.4MB I thought my HOSTS file was pretty good sized at 288
KB.
It is ipconfig.exe and it is available on XP Home.
The /? switch will show Help. I.e. ipconfig /?
Type or paste ipconfig /? in a command prompt window and see if that
works.
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:1FD0D8E8-EBCF-4852-B69C-C0BDD04ACED0@xxxxxxxxxxxxx,
John Wasserbauer <JohnWasserbauer@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and
pecked:
Wesley,
Thank you very much for your response. I tried the "ipconfig
/flushdns" and the "ipconfig /displaydns" commands. Unfortunately
both "failed during execution". Are these available for the XP Home
edition or only XP Pro? At any rate, the editor's note about running
services.msc and setting the service startup to "manual" solved the
problem. Many thanks for taking the time to help!!
John
"Wesley Vogel" wrote:
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
- Follow-Ups:
- Re: svchost consumes 100% of CPU on startup
- From: Wesley Vogel
- Re: svchost consumes 100% of CPU on startup
- Prev by Date: Re: Launching Windows Picture and Fax Viewer
- Next by Date: Re: Registry Repair Scan Your System
- Previous by thread: Re: Launching Windows Picture and Fax Viewer
- Next by thread: Re: svchost consumes 100% of CPU on startup
- Index(es):
Relevant Pages
|