clrprofile造成的日志肿瘤问题解决

w3wp.exe进程会产生一个日志文件 在 C:\Windows\temp\pipe.log 无休止增长

这个日志文件会无休止的增长。造成系统速度变慢,经常是c盘只剩下0字节。
请问怎么停掉这个进程对日志的记录。
查了一些资料有人说是clrprofile.exe造成的。但是我没有记得我有运行过这个程序。或者是机器上运行了这个程序但是我不知道在哪儿。
不知道是不是这个原因。快被折磨死了。额

以上问题发在msdn操作系统论坛模块没人理我

这个问题又不能不解决。晚上搜了一下发现一个03年的帖子如下。

I got the same problem, however I have overcame it. By any chance have you ever run CLR Profiler/Allocation Profiler? Do you remember it failing?

As per CLR Profiler Document (which is little ambiguous) following locations has "Environment" variable which needs to be removed in the case when Profiler results in an error:

• HKLM\SYSTEM\CurrentControlSet\Services\IISADMIN (ASP.NET)
• HKLM\SYSTEM\CurrentControlSet\Services\W3SVC (ASP.NET)

测试了删除这两个键值问题依然存在。

然后再注册表搜索 clrprofile

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{8C29BC4E-1F57-461A-9B51-1200C32E6F1F}]
@="Microsoft CLR Profiler Test"

[HKEY_CLASSES_ROOT\CLSID\{8C29BC4E-1F57-461A-9B51-1200C32E6F1F}\InprocServer32]
@="E:\\Program Files\\CLRProfiler\\Binaries\\x86\\profilerOBJ.dll"
"ThreadingModel"="Both"

[HKEY_CLASSES_ROOT\CLSID\{8C29BC4E-1F57-461A-9B51-1200C32E6F1F}\NotInsertable]

[HKEY_CLASSES_ROOT\CLSID\{8C29BC4E-1F57-461A-9B51-1200C32E6F1F}\ProgID]
@="Objects Profiler.{8C29BC4E-1F57-461a-9B51-1200C32E6F1F}.1"

[HKEY_CLASSES_ROOT\CLSID\{8C29BC4E-1F57-461A-9B51-1200C32E6F1F}\VersionIndependentProgID]
@="Objects Profiler.{8C29BC4E-1F57-461a-9B51-1200C32E6F1F}"

看到这个键的时候。感觉找对地方了 导出然后删除。再启动应用程序池运行网站。不在创建pipe.log文件了。

原文地址:https://www.cnblogs.com/sky266/p/1605515.html