clrprofile造成的日志腫瘤問題解決
來源:程序員人生 發布時間:2014-06-01 20:18:10 閱讀次數:3283次
w3wp.exe進程會產生一個日志文件 在 C:Windows emppipe.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:
• HKLMSYSTEMCurrentControlSetServicesIISADMIN (ASP.NET)
• HKLMSYSTEMCurrentControlSetServicesW3SVC (ASP.NET)
測試了刪除這兩個鍵值問題依然存在。
然后再注冊表搜索 clrprofile
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTCLSID{8C29BC4E-1F57-461A-9B51-1200C32E6F1F}]
@="Microsoft CLR Profiler Test"
[HKEY_CLASSES_ROOTCLSID{8C29BC4E-1F57-461A-9B51-1200C32E6F1F}InprocServer32]
@="E:Program FilesCLRProfilerBinariesx86profilerOBJ.dll"
"ThreadingModel"="Both"
[HKEY_CLASSES_ROOTCLSID{8C29BC4E-1F57-461A-9B51-1200C32E6F1F}NotInsertable]
[HKEY_CLASSES_ROOTCLSID{8C29BC4E-1F57-461A-9B51-1200C32E6F1F}ProgID]
@="Objects Profiler.{8C29BC4E-1F57-461a-9B51-1200C32E6F1F}.1"
[HKEY_CLASSES_ROOTCLSID{8C29BC4E-1F57-461A-9B51-1200C32E6F1F}VersionIndependentProgID]
@="Objects Profiler.{8C29BC4E-1F57-461a-9B51-1200C32E6F1F}"
看到這個鍵的時候。感覺找對地方了 導出然后刪除。再啟動應用程序池運行網站。不在創建pipe.log文件了。
生活不易,碼農辛苦
如果您覺得本網站對您的學習有所幫助,可以手機掃描二維碼進行捐贈