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

发布于 2024-07-13 13:10:36 字数 143 浏览 6 评论 0原文

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

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

Commerce Server seems to be adding a ton of counters for each catalog/site, and we are currently pushing 45 of them. I tried upping the size in the machine.config which helps, but not enough.

Does anyone know how to programmatically clear out the commerce server counters? Barring that, disable them?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浮世清欢 2024-07-20 13:10:36

因此,经过大量研究,我最终整理了这个 .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

So, after a great deal of research, I ended up putting together this .reg file that would disable all the counters. Copy/paste this into a .reg file, run it, and reboot the server, and it will stop registering counters for 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
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文