ISST-LTE:pVM: golang does not support huge amount (>256) CPUs machines (as E870)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
golang-1.6 (Ubuntu) |
Fix Released
|
Undecided
|
Michael Hudson-Doyle |
Bug Description
Docker and golang packages are not able to run on e870 machine due to a lot of CPU on these machines.
The current machine has 400 CPUs and shows the following error:
runtime stack:
runtime.
runtime.
runtime.schedinit()
runtime.rt0_go(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x3fffd512de59, ...)
/var/lib/
dpkg: error processing package golang-go (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of golang-doc:
golang-doc depends on golang-go; however:
Package golang-go is not configured yet.
dpkg: error processing package golang-doc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of golang:
golang depends on golang-doc (>= 2:1.6-1ubuntu1); however:
Package golang-doc is not configured yet.
golang depends on golang-go (>= 2:1.6-1ubuntu1); however:
Package golang-go is not configured yet.
dpkg: error processing package golang (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
golang-go
golang-doc
golang
E: Sub-process /usr/bin/dpkg returned an error code (1)
Looking at the code I see:
_MaxGomaxprocs = 1 << 8
if old < 0 || old > _MaxGomaxprocs || nprocs <= 0 || nprocs > _MaxGomaxprocs {
}
If I decrease the amount of CPU to < 256, I don't see a problem.
Changed in ubuntu: | |
assignee: | Taco Screen team (taco-screen-team) → Michael Hudson-Doyle (mwhudson) |
affects: | ubuntu → golang-1.6 (Ubuntu) |
tags: |
added: targetmilestone-inin1604 removed: targetmilestone-inin--- |
Default Comment by Bridge