Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: svchost.exe (netsvcs) draining all my memory

12 Jul 2015   #31
ripsw

windows 7 professional 64 bit
 
 

ask2solve turned off BITS and still seeing memory being consumed. The svchost process that is taking the memory is the on that contains the nsi service.
Nedly, im seeing a problem with memory be consumed not a cpu issue, thanks.


My System SpecsSystem Spec
.
12 Jul 2015   #32
Nedly

Debian Custom
 
 

O I agree that it is not a cpu issue, but the other issues with these services intertwine with the same conflicts, the issue varies based on a specific combination of services. The machines I have dealt with so far have been memory issues as well. I watched a Windows system power on and instantly fill 4gb's of nonsense. It is a memory leak issue.

We are on the right trail though. I am currently firing up some stuff to try tracking it down. I have to try and replicate some different hardware to get to the issues. From what I can tell so far it is system based, not software based. Even if the software aspect is caused because of specific hardware, it still seems to be a conflict based on specific services with specific hardware.

I have to compile case information to try and find the similarities first. I might have something good to post by tonight. Full time CIS/ISS student so I am pretty busy but I plan to try and figure this out. Personally I love tracking down bugs.
My System SpecsSystem Spec
12 Jul 2015   #33
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by ask2solve View Post
Go services
search for Background Intelligence Transfer Service
double click on that
stop the service status
and startup type disable
all done
Startup type for BITS should be manual

If disabled windows will not be able to check for updates.

svchost.exe (netsvcs) draining all my memory-bits-service-properties.jpg

Refer again to Brink's script:

Code:
:: Created by: Shawn Brink
:: http://www.sevenforums.com
:: Tutorial: http://www.sevenforums.com/tutorials/91738-windows-update-reset.html


net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc
Ipconfig /flushdns

del /f /q "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
del /f /s /q %SystemRoot%\SoftwareDistribution\*.* 
del /f /s /q %SystemRoot%\system32\catroot2\*.*
del /f /q %SystemRoot%\WindowsUpdate.log 

sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
cd /d %windir%\system32
Ren %systemroot%\system32\catroot2 catroot2.bak
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
regsvr32.exe /s shdocvw.dll
regsvr32.exe /s browseui.dll
regsvr32.exe /s jscript.dll
regsvr32.exe /s vbscript.dll
regsvr32.exe /s scrrun.dll
regsvr32.exe /s msxml.dll
regsvr32.exe /s msxml3.dll
regsvr32.exe /s msxml6.dll
regsvr32.exe /s actxprxy.dll
regsvr32.exe /s softpub.dll
regsvr32.exe /s wintrust.dll
regsvr32.exe /s dssenh.dll
regsvr32.exe /s rsaenh.dll
regsvr32.exe /s gpkcsp.dll
regsvr32.exe /s sccbase.dll
regsvr32.exe /s slbcsp.dll
regsvr32.exe /s cryptdlg.dll
regsvr32.exe /s oleaut32.dll
regsvr32.exe /s ole32.dll
regsvr32.exe /s shell32.dll
regsvr32.exe /s initpki.dll
regsvr32.exe /s wuapi.dll
regsvr32.exe /s wuaueng.dll
regsvr32.exe /s wuaueng1.dll
regsvr32.exe /s wucltui.dll
regsvr32.exe /s wups.dll
regsvr32.exe /s wups2.dll
regsvr32.exe /s wuweb.dll
regsvr32.exe /s qmgr.dll
regsvr32.exe /s qmgrprxy.dll
regsvr32.exe /s wucltux.dll
regsvr32.exe /s muweb.dll
regsvr32.exe /s wuwebv.dll
regsvr32 /s wudriver.dll

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f

netsh winsock reset
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc
bitsadmin.exe /reset /allusers
Note: Personally I needed to manually run some of the above commands using a command prompt window and also use Powershell for some of them. I also needed to enable access to cmd. powershell and regsvr32 (usually blocked on my machine by certain security software). I needed to run each command and confirm results before running the next one.

svchost.exe (netsvcs) draining all my memory-settings.jpg

I also had to manually force delete windowsupdate.log


My System SpecsSystem Spec
.

12 Jul 2015   #34
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by ripsw View Post
ask2solve turned off BITS and still seeing memory being consumed. The svchost process that is taking the memory is the on that contains the nsi service.
Nedly, im seeing a problem with memory be consumed not a cpu issue, thanks.
Try RAMMap

On the "File Summary" tab sort by "Active" highest at the top and if anything shows up as using a lot of memory.
My System SpecsSystem Spec
12 Jul 2015   #35
ripsw

windows 7 professional 64 bit
 
 

Quote   Quote: Originally Posted by Callender View Post
Quote   Quote: Originally Posted by ripsw View Post
ask2solve turned off BITS and still seeing memory being consumed. The svchost process that is taking the memory is the on that contains the nsi service.
Nedly, im seeing a problem with memory be consumed not a cpu issue, thanks.
Try RAMMap

On the "File Summary" tab sort by "Active" highest at the top and if anything shows up as using a lot of memory.

Top 5 are mcafee -medscan.dat @ 52KK, Atkimdag 37KK, shell32 @ 18KK, Defender mpengine.dll @ 16KK and WDI\logfile\bootckcl.etl @ 15KK
My System SpecsSystem Spec
12 Jul 2015   #36
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

@ Nedly. Let us know if you manage to track it down. I have only suspicions about what caused the memory leak on my machine. I managed to fix it.

Here's what might have caused the issue for me:

IE 11 was disabled by a registry hack (by me) and needed to be re-enabled, reset and all updates applied including a pending update that had been downloaded but not applied.

System Restore was disabled (by me) and needed to be enabled when downloading and installing those Freak attack update fixes for SSL that patched numerous important system files (including IE 11 fixes). rstrui.exe was one of the patched files and the update failed in left disabled.

Also in order to fix:

Needed to run advanced disk cleanup including windows update cleanup.

Needed to clear windows update temp files and delete windows update history.

Needed to delete datastore.edb

Needed to force re-install Windows Update Agent.

Note: Just running though some of the stuff that helped me and that's not to say that it applies in every case!

My System SpecsSystem Spec
12 Jul 2015   #37
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

@ Nedly oops!

@ ripsw

Re: RAMMap active memory usage by files. Nothing to worry about then.
My System SpecsSystem Spec
12 Jul 2015   #38
Nedly

Debian Custom
 
 

It is definitely a memory leak, we can see that in ripsw's stats. It is like loop and other scripting issues, all of the data is nonsense, possibly even issues much like split packets - the starts and ends are shifted or there is a collision like I/O errors.

Big clues are:
Same software on different machines and only certain machines have the issue.
Windows updates as of recently, and only once or twice in the past contain the cause.

Windows without updates fresh off the install should not have the same errors, and I would bet for the most part Windows 8, 8.1, and soon to be 10 users are not facing the issue. So far I have found it in Vista and 7, all pro, home, and server systems.

I think it is a developing issue which is the reason we cannot find any good bug statistics. When I first got into the issue I found using SEO tools that there was a huge spike in this issue around a month - month and a half ago.

It is not the same on all machines either. I could, for example, set up a replica of your system on my Thinkpad and it will not show the same result. I know this cause I have all systems here, including 10 previews, and I have never faced the issue on my local machines.
My System SpecsSystem Spec
12 Jul 2015   #39
Nedly

Debian Custom
 
 

Quote   Quote: Originally Posted by Callender View Post

Here's what might have caused the issue for me:


I do not think it is due to any of these adjustments. You were running updates at the time, no?
My System SpecsSystem Spec
12 Jul 2015   #40
Nedly

Debian Custom
 
 

What I am trying to do now is compile the common machine types who have the issue. Then map out the updates' dates and updates codes to match the dates (using SEO tools) of those issues beginning on the net. Then I should be able to compile the updates informations regarding which components and services they work for. Then we should be able to narrow down possibilities and have some play time - in a virtual machine of course.
My System SpecsSystem Spec
Reply

 svchost.exe (netsvcs) draining all my memory




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
svchost (netsvcs) download from Akamai - What is initiating?
Platform: Windows 7 Home Premium 64 bit, ASUS K52F laptop Note: I have posted this on 2 other forums & did not receive a solution so I am posting it here. Hope that is okay. I have observed extensive downloads (using the NetMeter gadget) averaging 400-600kbps for up to 10 minutes from Akamai....
Network & Sharing
svchost.exe (netsvcs) is always downloading something
im running build 7100 fresh install. help, i need to shut this thing down.
Performance & Maintenance
svchost.exe(netsvcs) problem cpu load high
Hello, I have a problem. In the task manager -> system resources, I see that a process called svchost.exe(netsvcs) (if I'm correct) is using about 50% of cpu. The cpu is AMD dual core 2.81GHz. This doesn't always happen. Right now, it uses 48 %. Should I be concerned? Is it a legitimate process...
Performance & Maintenance
svchost.exe (netsvcs) maxing CPU out by streaming in audio feeds
I have encounter a problem with this svcshost streaming constant feeds of audio in. I have tried a registery fixer as suggested on search I did and it did fix it. I researched the problem on this forum and tried several things others suggested back in 2009 to others. Such as making sure that my...
Performance & Maintenance
svchost.exe -k netsvcs Slowing Down Computer
It's been doing this for a while now, too.. I don't know if this has anything to do with it, but I disabled windows update a long time ago; if I try to update it now, my system can't handle it, and it reverts its changes. Help would be appreciated. Where would I start?
General Discussion
Svchost.exe (netsvcs) and download related issue
hello everyone, i hope this is the right place to post this. it started about 2 weeks ago, i noticed that this process, Svchost.exe (netsvcs), is always downloading something, i tried alot of ideas that i read about online and non of them worked, i was using certain anti-virus when it happened....
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:39.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App