Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upPrometheus abnormal crash #5273
Comments
This comment has been minimized.
This comment has been minimized.
|
Hmm, |
This comment has been minimized.
This comment has been minimized.
|
Hi Simon
Thanks for the update I am checking if we can recompile as suggested, I will get back to you ASAP
Regards
Mike.
From: Simon Pasquier <notifications@github.com>
Sent: Wednesday, February 27, 2019 11:01 AM
To: prometheus/prometheus <prometheus@noreply.github.com>
Cc: Michael Toulon <Michael.Toulon@mycom-osi.com>; Author <author@noreply.github.com>
Subject: Re: [prometheus/prometheus] Prometheus abnormal crash (#5273)
Hmm, fatal error: sweep increased allocation count could be triggered by a data race in the code or some issue with the Go runtime/compiler. To clear out the data race cause, you would need to build the binary with the -race option. Would you be able to do that?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#5273 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AUJSbg2-LO3BsTuBGpe207JYH0PxKSkZks5vRmVwgaJpZM4bSUBO>.
…________________________________
This electronic message contains information from MYCOM OSI which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or any other use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by post or telephone (to the numbers or correspondence address above) or by email (at the email address above) immediately.
|
simonpasquier
added
the
kind/more-info-needed
label
Mar 5, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mtoulon commentedFeb 26, 2019
After Promethues has been running for several hours I observed an error in 'go kernel' I am running Promethues 2.6.0 below is the error extract.
runtime: nelems=102 nalloc=2 previous allocCount=1 nfreed=65535
fatal error: sweep increased allocation count
runtime stack:
runtime.throw(0x1c458e6, 0x20)
/usr/local/go/src/runtime/panic.go:608 +0x72
runtime.(*mspan).sweep(0x7fa08293d8e8, 0x100433d00, 0xc000000c00)
/usr/local/go/src/runtime/mgcsweep.go:298 +0x879
runtime.sweepone(0x4344a7)
/usr/local/go/src/runtime/mgcsweep.go:113 +0x10f
runtime.gosweepone.func1()
/usr/local/go/src/runtime/mgcsweep.go:137 +0x2b
runtime.systemstack(0x0)
/usr/local/go/src/runtime/asm_amd64.s:351 +0x66
runtime.mstart()
/usr/local/go/src/runtime/proc.go:122
Bug Report
What did you do?
The system was using all core' allocated so I extended from 2 cores to 4 cores
What did you expect to see?
Improved performance, and no alerts on CPU limit reached
What did you see instead? Under which circumstances?
The prometheus crashed
Environment
Open Shift Container Platform
openshift v3.9.51
kubernetes v1.9.1+a0ce1bc657
/etc/prometheus # uname -srm
Linux 3.10.0-957.5.1.el7.x86_64 x86_64
/etc/prometheus #
/etc/prometheus # prometheus --version
prometheus, version 2.6.0 (branch: HEAD, revision: dbd1d58)
build user: root@bf5760470f13
build date: 20181217-15:14:46
go version: go1.11.3
/etc/prometheus #
Alertmanager version:
insert output of
alertmanager --versionhere (if relevant to the issue)Prometheus configuration file:
....