如何降低 CruiseControl.NET 的 CPU 使用率?
在我们的巡航控制设置中,我们有 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以关闭日志记录。我们在 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.