PC Review


Reply
Thread Tools Rate Thread

DNS Client and svchost.exe 100% load

 
 
=?Utf-8?B?YXRsYW50aWN1cw==?=
Guest
Posts: n/a
 
      13th May 2007
I have seen svchost.exe using 100% of the cpu on some computers since early
last year. Then, I simply turn off DNS Client service and the spike in cpu
load will stop, and if I disable that service, the svchost.exe issue will not
recur.

How is DNS Client related to WSUS?

What is the implications of turning off DNS Client service?

Can this be considered as a alternative workaround for the svchost.exe issue?
 
Reply With Quote
 
 
 
 
Rock
Guest
Posts: n/a
 
      13th May 2007
"atlanticus" wrote
>I have seen svchost.exe using 100% of the cpu on some computers since early
> last year. Then, I simply turn off DNS Client service and the spike in cpu
> load will stop, and if I disable that service, the svchost.exe issue will
> not
> recur.
>
> How is DNS Client related to WSUS?
>
> What is the implications of turning off DNS Client service?
>
> Can this be considered as a alternative workaround for the svchost.exe
> issue?


FYI for WSUS, there is a newsgroup for that.
http://www.microsoft.com/communities...&lang=en&cr=us

--
Rock [MS-MVP User/Shell]

 
Reply With Quote
 
CreateWindow
Guest
Posts: n/a
 
      13th May 2007
Hi,

DNS client is usually well behaved and is most cases not needed. But, leave
it running, I do :-).

However you may have the recent svchost problem if you have 100% CPU load
showing on svchost.
An unintentional bug introduced by Windows Update.

First you need reboot and login. Then as *fast as possible* stop the
Automatic Updates service before your PC becomes unusable.

Start / Run -type in -> net stop wuauserv and click ok.

OK now relax...

1) You need to download and install the new update client:
http://download.windowsupdate.com/v7...gent30-x86.exe

2) Then this patch:
http://support.microsoft.com/?kbid=927891

After applying the above updates - svchost still runs high CPU usage
*but* not 100% only 88 - to 97 % and drops down more often. The PC is
quite responsive compared to the old 100% lockups.
WSUS client uses DNS as per normal name resolution for the http server and
port of your WSUS machine.
Hope that helps?

CreateWindow
http://mymessagetaker.com
Stop using those paper phone message pads
make the computer work for you.
http://justpageprobe.com
The FREE Web page utility you always wanted.
Monitor your enterprise Web Servers.
Keep your router connected.
Email your IP to where you need it.




"atlanticus" <(E-Mail Removed)> wrote in message
news:76A9F80A-7622-4E4F-B178-(E-Mail Removed)...
>I have seen svchost.exe using 100% of the cpu on some computers since early
> last year. Then, I simply turn off DNS Client service and the spike in cpu
> load will stop, and if I disable that service, the svchost.exe issue will
> not
> recur.
>
> How is DNS Client related to WSUS?
>
> What is the implications of turning off DNS Client service?
>
> Can this be considered as a alternative workaround for the svchost.exe
> issue?



 
Reply With Quote
 
MaHaBone
Guest
Posts: n/a
 
      13th May 2007
"atlanticus" <(E-Mail Removed)> wrote in message
news:76A9F80A-7622-4E4F-B178-(E-Mail Removed)...
>I have seen svchost.exe using 100% of the cpu on some computers since early
> last year. Then, I simply turn off DNS Client service and the spike in cpu
> load will stop, and if I disable that service, the svchost.exe issue will
> not
> recur.
>
> How is DNS Client related to WSUS?
>
> What is the implications of turning off DNS Client service?
>
> Can this be considered as a alternative workaround for the svchost.exe
> issue?
>

So, why is one of the Svchosts taking all your CPU?

And what can you do about it?

Continue reading: "How do I fix this high CPU usage svchost virus or
whatever it is?"
http://ask-leo.com/how_do_i_fix_this...ver_it_is.html

 
Reply With Quote
 
=?Utf-8?B?YXRsYW50aWN1cw==?=
Guest
Posts: n/a
 
      13th May 2007
It seems the finger is often pointed to windows update whenever this issue is
encountered, and yet hotfix kb927891 and re-registering windows update
components do not resolve the issue in some cases.

This is the curious part. When I encountered this issue more than a year
ago, I used the workaround of disabling DNS Client service and the issue was
resolved. Only recently when I reinstalled XP SP2 on one of my pcs did I
faced this issue again. I applied the same workaround as I had done
previously and it works.

I do not know why disabling client-side dns caching has the effect of
stopping the svchost.exe from hogging the cpu (normally it should increase
cpu load slightly due to more dns queries). The svchost.exe will not cause
the cpu to spike whenever DNS Client is disabled.

Hence, I am checking with the discussion board whether this svchost issue
has anything to do with dns caching.
 
Reply With Quote
 
=?Utf-8?B?YXRsYW50aWN1cw==?=
Guest
Posts: n/a
 
      13th May 2007
"CreateWindow" wrote:

> After applying the above updates - svchost still runs high CPU usage
> *but* not 100% only 88 - to 97 % and drops down more often. The PC is
> quite responsive compared to the old 100% lockups.
> WSUS client uses DNS as per normal name resolution for the http server and
> port of your WSUS machine.
> Hope that helps?


Hi CreateWindow,

Thanks for the advice and info.

Do you still have the svchost.exe running at 50% to 90%?

Can you try turning off DNS Client and see what is the effect on svchost.exe?

I'm curious to know more.
 
Reply With Quote
 
=?Utf-8?B?YXRsYW50aWN1cw==?=
Guest
Posts: n/a
 
      13th May 2007
"CreateWindow" wrote:

> After applying the above updates - svchost still runs high CPU usage
> *but* not 100% only 88 - to 97 % and drops down more often. The PC is
> quite responsive compared to the old 100% lockups.
> WSUS client uses DNS as per normal name resolution for the http server and
> port of your WSUS machine.
> Hope that helps?
>
> CreateWindow
> http://mymessagetaker.com


After doing testing on affected pcs, I could see the msi.dll/wuaueng.dll
hogging the cpu at 50% for about a minute or more before all is clear, which
seems ok to me.

Intial motivation for creating this thread was because I never encounter the
100% lockup after using the dns client workaround. But I don't think this is
the case now so I considered this thread answered.

Thanks CreateWindow and MaHaBone for the info; it is really either turning
off au or letting the process go on for a while at half load.
 
Reply With Quote
 
Jim Byrd
Guest
Posts: n/a
 
      13th May 2007
Hi Atlanticus - the most usual cause recently for the 100% svchost usage is
a problem with the Windows Update Service which is fixed by upgrading to the
Windows Update Agent 3.0, v. 7.0.6000.374, for 32 bit machines is available
here:
http://download.windowsupdate.com/v7...gent30-x86.exe
and installing the updated KB927891 hotfix, here:
http://support.microsoft.com/?kbid=927891 for a complete fix.


In the case that you are seeing associated with the DNS Client, I would
suspect a long known issue that occurs when using a HOSTS file for ad
blocking. See the discussion here:
http://www.mvps.org/winhelp2002/hosts.htm . If you are using a HOSTS file,
then it's normally best to just Disable the DNS Client Service.


--
Regards, Jim Byrd,
My Blog, Defending Your Machine,
http://defendingyourmachine2.blogspot.com/



In news:266817B5-512B-4543-91A1-(E-Mail Removed),
atlanticus <(E-Mail Removed)> typed:
|| "CreateWindow" wrote:
||
||| After applying the above updates - svchost still runs high CPU usage
||| *but* not 100% only 88 - to 97 % and drops down more often. The PC
||| is quite responsive compared to the old 100% lockups.
||| WSUS client uses DNS as per normal name resolution for the http
||| server and port of your WSUS machine.
||| Hope that helps?
|||
||| CreateWindow
||| http://mymessagetaker.com
||
|| After doing testing on affected pcs, I could see the
|| msi.dll/wuaueng.dll hogging the cpu at 50% for about a minute or
|| more before all is clear, which seems ok to me.
||
|| Intial motivation for creating this thread was because I never
|| encounter the 100% lockup after using the dns client workaround. But
|| I don't think this is the case now so I considered this thread
|| answered.
||
|| Thanks CreateWindow and MaHaBone for the info; it is really either
|| turning off au or letting the process go on for a while at half load.


 
Reply With Quote
 
=?Utf-8?B?YXRsYW50aWN1cw==?=
Guest
Posts: n/a
 
      14th May 2007
Hi Jim. That might be possible in my case. Thanks.

I installed the hotfix and update agent on 2 machines to test without any
custom hosts file in use.

For a P4 machine, svchost.exe/msi.dll will max out at 50% of cpu at startup
for a min or so, or if I run Microsoft Update manually, for the duration of
the update check.

For a celeron machine, svchost/msi.dll runs at about 70-90% of cpu at
startup for a minute or so, or when using Microsoft Update.

Moreoever, automatic updates do not often cause svchost to take up resources
at startup. It can be dormant for a few restarts too.

At least I don't see any 100% lockup and more leeway for other processes to
run concurrently but automatic updates can still take up quite a bit of
resources, esp. for slower machines.

Just some comments, if they are any helpful.

"Jim Byrd" wrote:

> Hi Atlanticus - the most usual cause recently for the 100% svchost usage is
> a problem with the Windows Update Service which is fixed by upgrading to the
> Windows Update Agent 3.0, v. 7.0.6000.374, for 32 bit machines is available
> here:
> http://download.windowsupdate.com/v7...gent30-x86.exe
> and installing the updated KB927891 hotfix, here:
> http://support.microsoft.com/?kbid=927891 for a complete fix.
>
>
> In the case that you are seeing associated with the DNS Client, I would
> suspect a long known issue that occurs when using a HOSTS file for ad
> blocking. See the discussion here:
> http://www.mvps.org/winhelp2002/hosts.htm . If you are using a HOSTS file,
> then it's normally best to just Disable the DNS Client Service.
>
>
> --
> Regards, Jim Byrd,
> My Blog, Defending Your Machine,
> http://defendingyourmachine2.blogspot.com/

 
Reply With Quote
 
Jim Byrd
Guest
Posts: n/a
 
      14th May 2007
Hi Atlanticus - You may _still_ see high svchost usage, but with these new
components the machine should, however, remain responsive:

From a posting by Sudheer GN of Microsoft -

"Hi,
The biggest difference in WSUS 3.0 client (wrt performance) is that the
machines will still be responsive when WU client scans for updates. There
are also some optimization to reduce the number of update evaluations and
that will reduce the scan time in some scenarios.
It is still expected that CPU usage will be high so that the scan can
complete in lesser amount of time. But other applications can be launched
and used (they will still be a little sluggish because CPU is being shared
with WU client)

--
Sudheer GN
Microsoft, WU Client

This posting is provided "As Is" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"


--
Regards, Jim Byrd,
My Blog, Defending Your Machine,
http://defendingyourmachine2.blogspot.com/



In news:7348FFB4-F926-4534-ABD5-(E-Mail Removed),
atlanticus <(E-Mail Removed)> typed:
|| Hi Jim. That might be possible in my case. Thanks.
||
|| I installed the hotfix and update agent on 2 machines to test
|| without any custom hosts file in use.
||
|| For a P4 machine, svchost.exe/msi.dll will max out at 50% of cpu at
|| startup for a min or so, or if I run Microsoft Update manually, for
|| the duration of the update check.
||
|| For a celeron machine, svchost/msi.dll runs at about 70-90% of cpu at
|| startup for a minute or so, or when using Microsoft Update.
||
|| Moreoever, automatic updates do not often cause svchost to take up
|| resources at startup. It can be dormant for a few restarts too.
||
|| At least I don't see any 100% lockup and more leeway for other
|| processes to run concurrently but automatic updates can still take
|| up quite a bit of resources, esp. for slower machines.
||
|| Just some comments, if they are any helpful.
||
|| "Jim Byrd" wrote:
||
||| Hi Atlanticus - the most usual cause recently for the 100% svchost
||| usage is a problem with the Windows Update Service which is fixed
||| by upgrading to the Windows Update Agent 3.0, v. 7.0.6000.374, for
||| 32 bit machines is available here:
|||
http://download.windowsupdate.com/v7...gent30-x86.exe
||| and installing the updated KB927891 hotfix, here:
||| http://support.microsoft.com/?kbid=927891 for a complete fix.
|||
|||
||| In the case that you are seeing associated with the DNS Client, I
||| would suspect a long known issue that occurs when using a HOSTS
||| file for ad blocking. See the discussion here:
||| http://www.mvps.org/winhelp2002/hosts.htm . If you are using a
||| HOSTS file, then it's normally best to just Disable the DNS Client
||| Service.
|||
|||
||| --
||| Regards, Jim Byrd,
||| My Blog, Defending Your Machine,
||| http://defendingyourmachine2.blogspot.com/


 
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
100% CPU-Load with new MSTSC / RDP - Client =?Utf-8?B?T2xpdmVy?= Windows XP Performance 5 8th Mar 2007 10:05 AM
SVCHOST crashes on a Windows 2000 SP4 wireless client osoeder@gmx.de Microsoft Windows 2000 1 30th Aug 2005 03:15 PM
Client will not load a web page =?Utf-8?B?VGVycnk=?= Windows XP Networking 16 12th Dec 2004 04:51 AM
svchost & CPU load David Shorthouse Windows XP General 0 29th May 2004 08:02 AM
Re: svchost.exe/Service fails to load Nicholas Windows XP Setup 0 19th Jul 2003 12:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:53 PM.