Jenkins 杀死服务器性能

发布于 2024-12-03 00:03:30 字数 510 浏览 1 评论 0原文

因此,我在最小的 EC2 实例上设置了 Jenkins,在其上运行的唯一主要内容是 Jenkins(我还安装了 apache 和 php,但没有在其上主动运行任何内容。Jenkins 似乎只是消除了我的服务器负载。示例是我有一个服务器负载约为 0.08,我加载插件管理器页面 3 次,服务器负载飙升至 1.05(连续刷新 10 次时升至 1.99),这对 Jenkins 来说正常吗?想象一下 Jenkins 在没有其他主要运行的小型 EC2 实例下表现得很好,我注意到的唯一奇怪的事情是,在 htop 中,有 1 个使用守护进程运行的命令,但随后运行了 20-25 个命令,如下所示:

/usr/bin/java -jar /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8080 --ajp13Port=-1

这是正常的吗?有这么多实例与 1 个 Jenkins 实例一起运行吗?我只是想弄清楚为什么 Jenkins 似乎运行得这么慢。

So I have setup Jenkins on the smallest EC2 instance and the only major thing running on it is Jenkins (I also have apache and php installed but nothing in actively running on it. Jenkins just seems to kill my server load. Example is I have a server load on about 0.08 and I load the plugin manager page 3 times and that server load shoots to 1.05 (goes up to 1.99 when refreshing 10 times in a row). Is this normal for Jenkins? I would imagine Jenkins would perform pretty well under a small EC2 instance with nothing else major running. The only weird thing I notice is that with htop there is 1 command running using the daemon but then 20-25 command running looking like this:

/usr/bin/java -jar /usr/share/jenkins/jenkins.war --webroot=/var/run/jenkins/war --httpPort=8080 --ajp13Port=-1

Is it normal to have that many instances on that running with 1 instance of Jenkins? I am just trying to figure out why Jenkins seems to be running so slow.

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

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

发布评论

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

评论(1

掩耳倾听 2024-12-10 00:03:30

使用线程转储[2] 创建问题[1]。否则,抱怨微型 EC2 上的负载为 1.99 除了被嘲笑之外不会给你带来任何好处。

[1] https://issues.jenkins-ci.org/
[2] https://wiki.jenkins-ci.org/display/ JENKINS/构建+正在+悬挂

Create an issue[1] with a thread dump[2]. Otherwise, complaining about a load of 1.99 on a micro EC2 isn't really going to get you anything other than laughed at..

[1] https://issues.jenkins-ci.org/
[2] https://wiki.jenkins-ci.org/display/JENKINS/Build+is+hanging

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