[JIRA] (JENKINS-58282) Heath metrics produces serious performance issues

15 views
Skip to first unread message

fbelzunc@gmail.com (JIRA)

unread,
Jul 1, 2019, 7:04:20 AM7/1/19
to jenkinsc...@googlegroups.com
Félix Belzunce Arcos created an issue
 
Jenkins / Improvement JENKINS-58282
Heath metrics produces serious performance issues
Issue Type: Improvement Improvement
Assignee: Francisco Fernández
Components: cloudbees-folder-plugin
Created: 2019-07-01 11:04
Priority: Minor Minor
Reporter: Félix Belzunce Arcos
  1. The issue

The weather icon at folder level is very expensive to be computed and it produces serious performance issues.

Usually, the issue is manifested because the main Jenkins dashboard can't be accessible, but you can access to /manage or /whatever - as long as you don't reach out the main dashboard

The issue happend with cloudbees-folder:6.7:not-pinned and `2.164.3.2`

  1. Thread dump
Handling GET / from XX.XX : qtp2007328737-18019 View/index.jelly WeatherColumn/column.jelly
"Handling GET / from XX.XX : qtp2007328737-18019 View/index.jelly WeatherColumn/column.jelly" Id=18019 Group=main BLOCKED on hudson.model.RunMap@54e0b52f owned by "Handling GET / from XX.XX : qtp2007328737-17568 View/index.jelly WeatherColumn/column.jelly" Id=17568
	at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:370)
	-  blocked on hudson.model.RunMap@54e0b52f
	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:346)
	at jenkins.model.lazy.AbstractLazyLoadRunMap.newestBuild(AbstractLazyLoadRunMap.java:276)
	at jenkins.model.lazy.LazyBuildMixIn.getLastBuild(LazyBuildMixIn.java:245)
	at org.jenkinsci.plugins.workflow.job.WorkflowJob.getLastBuild(WorkflowJob.java:242)
	at org.jenkinsci.plugins.workflow.job.WorkflowJob.getLastBuild(WorkflowJob.java:105)
	at hudson.model.Job.getBuildHealthReports(Job.java:1205)
	at hudson.model.Job.getBuildHealth(Job.java:1198)
	at com.cloudbees.hudson.plugins.folder.health.FolderHealthMetric.getHealthReport(FolderHealthMetric.java:48)
	at com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric$ReporterImpl.observe(WorstChildHealthMetric.java:86)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.getBuildHealthReports(AbstractFolder.java:939)
	at sun.reflect.GeneratedMethodAccessor757.invoke(Unknown Source)
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

fbelzunc@gmail.com (JIRA)

unread,
Jul 1, 2019, 7:05:02 AM7/1/19
to jenkinsc...@googlegroups.com

aburdajewicz@cloudbees.com (JIRA)

unread,
Jul 9, 2019, 3:06:02 AM7/9/19
to jenkinsc...@googlegroups.com

We could have the weather columns disabled by default when creating new folders or add a system property that could be used to disable it when creating new folders.

aburdajewicz@cloudbees.com (JIRA)

unread,
Jul 9, 2019, 9:45:02 AM7/9/19
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ edited a comment on Improvement JENKINS-58282
We could have the weather columns Folder health metrics disabled by default when creating new folders or add a system property that could be used to disable it when creating new folders.
We could also add a global configuration of Folder metrics so that any new folder that is created follow the global configuration.

aburdajewicz@cloudbees.com (JIRA)

unread,
Jul 9, 2019, 9:56:02 AM7/9/19
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ started work on Improvement JENKINS-58282
 
Change By: Allan BURDAJEWICZ
Status: Open In Progress

aburdajewicz@cloudbees.com (JIRA)

unread,
Jul 9, 2019, 9:57:02 AM7/9/19
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ assigned an issue to Allan BURDAJEWICZ
 
Change By: Allan BURDAJEWICZ
Assignee: Francisco Fernández Allan BURDAJEWICZ

aburdajewicz@cloudbees.com (JIRA)

unread,
Jul 29, 2019, 1:43:03 AM7/29/19
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ commented on Improvement JENKINS-58282
 
Re: Heath metrics produces serious performance issues

Could be related and soon addressed by https://issues.jenkins-ci.org/browse/JENKINS-18377 (see also https://issues.jenkins-ci.org/browse/JENKINS-25075). In the meantime, I think that being able to define the default health metrics that are to be used when creating a folder could be a good addition.

aburdajewicz@cloudbees.com (JIRA)

unread,
Jul 29, 2019, 1:46:02 AM7/29/19
to jenkinsc...@googlegroups.com

aburdajewicz@cloudbees.com (JIRA)

unread,
Oct 3, 2019, 12:56:03 AM10/3/19
to jenkinsc...@googlegroups.com
Change By: Allan BURDAJEWICZ
Status: In Progress Fixed but Unreleased
Resolution: Fixed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages