Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows server 2003 Commerce Server:自定义计数器文件视图内存不足_Windows Server 2003_Performancecounter_Commerceserver2007 - Fatal编程技术网

Windows server 2003 Commerce Server:自定义计数器文件视图内存不足

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 Server似乎正在为每个目录/站点添加大量计数器,我们目前正在推送其中的45个。我尝试在machine.config中增加大小,这很有帮助,但还不够


有人知道如何通过编程清除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