[Bug 1565978] Re: ISST-LTE:pVM: golang does not support huge amount (>256) CPUs machines (as E870)
bugproxy
bugproxy at us.ibm.com
Fri Apr 8 13:56:26 UTC 2016
** Tags removed: targetmilestone-inin---
** Tags added: targetmilestone-inin1604
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to golang-1.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1565978
Title:
ISST-LTE:pVM: golang does not support huge amount (>256) CPUs
machines (as E870)
Status in golang-1.6 package in Ubuntu:
Fix Released
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.throw(0x654c60, 0x17)
/usr/lib/go/src/runtime/panic.go:530 +0x8c
runtime.procresize(0x190, 0x0)
/usr/lib/go/src/runtime/proc.go:3158 +0xbd4
runtime.schedinit()
/usr/lib/go/src/runtime/proc.go:452 +0x140
runtime.rt0_go(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x3fffd512de59, ...)
/usr/lib/go/src/runtime/asm_ppc64x.s:72 +0xac
/var/lib/dpkg/info/golang-go.postinst: line 18: 100 + : syntax error: operand expected (error token is "+ ")
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.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
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 {
throw("procresize: invalid arg")
}
If I decrease the amount of CPU to < 256, I don't see a problem.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-1.6/+bug/1565978/+subscriptions
More information about the foundations-bugs
mailing list