zoukankan      html  css  js  c++  java
  • 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文件了。

  • 相关阅读:
    java判断两集合是否相同以及求取交集,并集,差集
    鼠标样式的属性记录
    Hadoop----hdfs dfs常用命令的使用
    时间戳与Date类型转换
    ajax提交参数(2)
    嵌入式实验一
    11.21
    在别人的博客里摘来的 先存我这里
    算法分析与设计实验一
    将ASCII码表示的十进制数转换为二进制数(汇编语言)
  • 原文地址:https://www.cnblogs.com/sky266/p/1605515.html
Copyright © 2011-2022 走看看