Windows server 2003 Commerce Server:自定义计数器文件视图内存不足
Commerce Server似乎正在为每个目录/站点添加大量计数器,我们目前正在推送其中的45个。我尝试在machine.config中增加大小,这很有帮助,但还不够Windows server 2003 Commerce Server:自定义计数器文件视图内存不足,windows-server-2003,performancecounter,commerceserver2007,Windows Server 2003,Performancecounter,Commerceserver2007,Commerce Server似乎正在为每个目录/站点添加大量计数器,我们目前正在推送其中的45个。我尝试在machine.config中增加大小,这很有帮助,但还不够 有人知道如何通过编程清除commerce服务器计数器吗?除此之外,禁用它们?因此,经过大量研究,我最终整理了这个.reg文件,该文件将禁用所有计数器。将其复制/粘贴到.reg文件中,运行它,然后重新启动服务器,它将停止为commerce server注册计数器 Windows Registry Editor Version 5.
有人知道如何通过编程清除commerce服务器计数器吗?除此之外,禁用它们?因此,经过大量研究,我最终整理了这个.reg文件,该文件将禁用所有计数器。将其复制/粘贴到.reg文件中,运行它,然后重新启动服务器,它将停止为commerce server注册计数器
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Commerce: Catalog\Performance]
"Disable Performance Counters"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Commerce: Catalog Pipeline\Performance]
"Disable Performance Counters"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Commerce: Marketing\Performance]
"Disable Performance Counters"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Commerce: Orders\Performance]
"Disable Performance Counters"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Commerce: Pipelines\Performance]
"Disable Performance Counters"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Commerce: PromoCode Pipeline\Performance]
"Disable Performance Counters"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\csauthperf\Performance]
"Disable Performance Counters"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\cscustomperf\Performance]
"Disable Performance Counters"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\csdwperf\Performance]
"Disable Performance Counters"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\csmarketingperf\Performance]
"Disable Performance Counters"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\csupmperf\Performance]
"Disable Performance Counters"=dword:00000001