如何降低 CruiseControl.NET 的 CPU 使用率?

发布于 2024-12-19 07:23:18 字数 343 浏览 5 评论 0原文

在我们的巡航控制设置中,我们有 171 个项目。在构建服务器上,CC.NET Service Runner 始终使用超过 67% 的 CPU。该进程有 200 个线程。

线程引用了 Java 版本中的类似问题,他们通过设置间隔修复了该问题。

我们的intervalTrigger设置如下:

如何降低CPU使用率或找出CC.NET正在做什么?

In our Cruise Control setup we have 171 projects. On the build server, the CC.NET Service Runner is always using over 67% CPU. That process has 200 threads.

A thread references a similar problem in the Java Version that they fixed by setting the interval.

Our intervalTrigger set like this: <intervalTrigger seconds="60" />

How do I get the CPU usage down or find out what CC.NET is doing?

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

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

发布评论

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

评论(1

桃扇骨 2024-12-26 07:23:18

您可以关闭日志记录。我们在 CCNet 服务器上关闭了它。

另一个解决方案是,如果您正在轮询源代码管理,则可以使用非轮询路由重新设计它。例如,使用 Subversion,您可以设置提交后挂钩来执行 CCNet 构建节点。减少轮询有助于降低 CPU 占用率。

You can turn off the logging. We have it turned off on our CCNet server.

Another solution is if you are polling against your source control you can redesign it using non polling route. For example with Subversion you can set up post commit hook to execute CCNet build node. Reducing the polling helps lower the CPU.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文