0

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

有谁知道如何以编程方式清除商务服务器计数器?除此之外,禁用它们?

4

1 回答 1

1

因此,经过大量研究,我最终将这个 .reg 文件放在一起,该文件将禁用所有计数器。将其复制/粘贴到 .reg 文件中,运行它,然后重新启动服务器,它将停止为商业服务器注册计数器

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
于 2009-02-21T17:04:11.473 回答