WMI 很慢

WMI is very slow

我们已经在 windows 服务器 2012 r2 上安装了 VisualSVN 服务器 3.5。当我们在 VisualSVN 服务器管理器中浏览存储库时,WMI 提供主机进程已经启动并且它使用非常非常少的 cpu 使用率(4%),甚至总体 CPU 使用率也更少(20%)。这意味着 WMI 在后台非常慢。

我们有使用 WMI 设置 VisualSVN 权限的脚本,此 WMI 查询也因未知原因失败。

请详细描述问题。从当前的问题摘要中很难判断根本原因是什么。检查 VisualSVN Server logs 和 Windows 应用程序/系统/WMI 日志会有所帮助。

请注意,您可以随时联系支持@visualsvn.com寻求帮助。

we have the script to set the Visual SVN permission using WMI, this WMI query also failed with unknown cause.

尝试 *-SvnAccessRule PowerShell cmdlet,例如 Get-SvnAccessRuleAdd-SvnAccessRuleSet-SvnAccessRule。访问规则管理cmdlets帮助您自动化权限管理,批量修改权限,生成权限报告。


重要提示: VisualSVN Server 3.5.x 发布系列是 out of support since February 28, 2018. 3.5.x release family does not receive patch updates. Please, plan to upgrade your VisualSVN Server instance to the latest version, VisualSVN Server 3.9. Read the article KB138: Upgrading to VisualSVN Server 3.9 before beginning the upgrade. For the complete list of changes between version 3.5 and 3.9, take a look at the changelog