svchost.exe_Svchost.exe使CPU崩溃并破坏了WMI / WBEM存储库

svchost.exe

svchost.exe

Lately I've been seeing one particular svchost.exe sucking CPU. There always a number of in-proc running inside of each of the many svchost (Service Host) instances. Using ProcEx, I figured out the PID of the specific instance. Then, I right clicked within ProcEx, hit Properties, and under the Threads tab noticed that wbemcore.dll was working REALLY hard.

最近,我一直在看到一个特定的svchost.exe占用CPU。 在许多svchost(服务主机)实例中,每个实例内部始终运行着多个进程内进程。 使用ProcEx ,我确定了特定实例的PID。 然后,我在ProcEx中单击鼠标右键,单击“属性”,然后在“线程”选项卡下注意到wbemcore.dll确实非常有效。

Crap, time to re-schmutz WMI's repository. So, I stop WMI from the command line with :

废话,是时候重新调整WMI的存储库了。 因此,我使用以下命令从命令行停止WMI:

net stop winmgmt

净止损

Then I deleted the Repository directory in c:\windows\system32\wbem\ then started again with

然后我删除了c:\ windows \ system32 \ wbem \中的Repository目录,然后重新启动

net start winmgmt

净启动Winmgmt

Then I re-stored/compiled all the .mof (Managed Object Format) files with a batch file containing this one line:

然后,我用包含这一行的批处理文件重新存储/编译了所有.mof(托管对象格式)文件:

for %%i in (*.mof,*.mfl) do Mofcomp.exe %%i

为(* .mof,*。mfl)中的%% i做Mofcomp.exe %% i

Now I'm back in business.

现在,我重新营业。

翻译自: https://www.hanselman.com/blog/svchostexe-sucks-cpu-and-rebulding-the-wmiwbem-repository

svchost.exe

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值