[JIRA] (JENKINS-59197) support-core should report available processes for master

25 views
Skip to first unread message

owood@cloudbees.com (JIRA)

unread,
Sep 2, 2019, 9:26:02 PM9/2/19
to jenkinsc...@googlegroups.com
Owen Wood created an issue
 
Jenkins / New Feature JENKINS-59197
support-core should report available processes for master
Issue Type: New Feature New Feature
Assignee: Owen Wood
Components: support-core-plugin
Created: 2019-09-03 01:25
Priority: Minor Minor
Reporter: Owen Wood

Proposing putting this in about.md under the "Operating system" section

https://github.com/jenkinsci/support-core-plugin/blob/a4b4c63641619602510966ce9821f3b434b3755d/src/main/java/com/cloudbees/jenkins/support/impl/AboutJenkins.java#L399

 

Name it "Available Processors"

We should we able to query to runtime:
Runtime.getRuntime().availableProcessors()

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

owood@cloudbees.com (JIRA)

unread,
Sep 2, 2019, 10:20:02 PM9/2/19
to jenkinsc...@googlegroups.com

owood@cloudbees.com (JIRA)

unread,
Sep 2, 2019, 10:22:04 PM9/2/19
to jenkinsc...@googlegroups.com
Owen Wood closed an issue as Won't Do
 
Change By: Owen Wood
Status: Open Closed
Resolution: Won't Do

aburdajewicz@cloudbees.com (JIRA)

unread,
Sep 2, 2019, 10:32:02 PM9/2/19
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ commented on New Feature JENKINS-59197
 
Re: support-core should report available processes for master

Could be useful when Jenkins is running in docker (or a containerized platform such as k8s, mesos). Since the Runtime.getRuntime().availableProcessors() would reflect the CPU limit while nproc reflects the number of CPUs o the host.

owood@cloudbees.com (JIRA)

unread,
Sep 2, 2019, 10:34:02 PM9/2/19
to jenkinsc...@googlegroups.com
Owen Wood reopened an issue
 

Reopening as the info pulled from /proc/cpuinfo seems to reflect the host. Which may not accurately reflect the allocated processes if running Jenkins in a container (Docker).

Change By: Owen Wood
Resolution: Won't Do
Status: Closed Reopened

owood@cloudbees.com (JIRA)

unread,
Sep 4, 2019, 2:22:02 PM9/4/19
to jenkinsc...@googlegroups.com

owood@cloudbees.com (JIRA)

unread,
Sep 4, 2019, 2:33:03 PM9/4/19
to jenkinsc...@googlegroups.com
Owen Wood started work on New Feature JENKINS-59197
 
Change By: Owen Wood
Status: Reopened In Progress

owood@cloudbees.com (JIRA)

unread,
Sep 4, 2019, 2:35:01 PM9/4/19
to jenkinsc...@googlegroups.com

Naming it "Available CPUs:" to fit in with the existing formatting.

owood@cloudbees.com (JIRA)

unread,
Sep 4, 2019, 2:42:02 PM9/4/19
to jenkinsc...@googlegroups.com

owood@cloudbees.com (JIRA)

unread,
Sep 9, 2019, 2:06:02 PM9/9/19
to jenkinsc...@googlegroups.com

owood@cloudbees.com (JIRA)

unread,
Sep 9, 2019, 2:12:02 PM9/9/19
to jenkinsc...@googlegroups.com

owood@cloudbees.com (JIRA)

unread,
Sep 9, 2019, 2:12:03 PM9/9/19
to jenkinsc...@googlegroups.com

owood@cloudbees.com (JIRA)

unread,
Sep 9, 2019, 2:12:03 PM9/9/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages