prometheus / blackbox_exporter

Blackbox prober exporter
https://prometheus.io
Apache License 2.0
4.67k stars 1.05k forks source link

blackbox-exporter - runtime Error. #1265

Open DevWave0 opened 3 months ago

DevWave0 commented 3 months ago
ts=2024-07-01T08:40:22.020Z caller=main.go:87 level=info msg="Starting blackbox_exporter" version="(version=0.25.0, branch=HEAD, revision=ef3ff4fef195333fb8ee0039fb487b2f5007908f)"
 7월 01 17:40:22 Pro-Mongo-001 blackbox_exporter[42534]: ts=2024-07-01T08:40:22.037Z caller=tls_config.go:313 level=info msg="Listening on" address=[::]:9115
 7월 01 17:40:22 Pro-Mongo-001 blackbox_exporter[42534]: ts=2024-07-01T08:40:22.038Z caller=tls_config.go:316 level=info msg="TLS is disabled." http2=false address=[::]:9115
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime: frame fmt.(*pp).printValue untyped args 0xc0006e0100+0x30
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: fatal error: missing stackmap
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime stack:
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.throw({0xc052a9?, 0xc00060fbf0?})
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/panic.go:1023 +0x5c fp=0xc00060fbb0 sp=0xc00060fb80 pc=0x43dcfc
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.(*stkframe).getStackMap(0xc00060fd28, 0x10?)
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/stkframe.go:222 +0x4aa fp=0xc00060fc88 sp=0xc00060fbb0 pc=0x45b0ca
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.scanframeworker(0xc00060fd28, 0xc00060fd88, 0xc000049c68)
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/mgcmark.go:1064 +0x6f fp=0xc00060fce8 sp=0xc00060fc88 pc=0x4249af
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.scanstack(0xc00023aa80, 0xc000049c68)
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/mgcmark.go:900 +0x267 fp=0xc00060fe18 sp=0xc00060fce8 pc=0x424427
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.markroot.func1()
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/mgcmark.go:241 +0xb5 fp=0xc00060fe68 sp=0xc00060fe18 pc=0x4230f5
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.markroot(0xc000049c68, 0x1f, 0x1)
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/mgcmark.go:215 +0x1a8 fp=0xc00060ff10 sp=0xc00060fe68 pc=0x422d88
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.gcDrain(0xc000049c68, 0x3)
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/mgcmark.go:1200 +0x3d4 fp=0xc00060ff78 sp=0xc00060ff10 pc=0x424f54
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.gcDrainMarkWorkerDedicated(...)
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/mgcmark.go:1124
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.gcBgMarkWorker.func2()
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/mgc.go:1387 +0xa5 fp=0xc00060ffc8 sp=0xc00060ff78 pc=0x4213e5
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.systemstack(0x478221)
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/asm_amd64.s:509 +0x4a fp=0xc00060ffd8 sp=0xc00060ffc8 pc=0x4763ea
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: goroutine 12 gp=0xc0000fefc0 m=18 mp=0xc000600808 [GC worker (active), 1 minutes]:
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.systemstack_switch()
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc000076f50 sp=0xc000076f40 pc=0x476388
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.gcBgMarkWorker()
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/mgc.go:1370 +0x1f2 fp=0xc000076fe0 sp=0xc000076f50 pc=0x421072
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.goexit({})
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000076fe8 sp=0xc000076fe0 pc=0x478221
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: created by runtime.gcBgMarkStartWorkers in goroutine 44
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/mgc.go:1234 +0x1c
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: goroutine 1 gp=0xc0000061c0 m=nil [select, 17909 minutes]:
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.gopark(0xc0001aded8?, 0x2?, 0xf8?, 0xa2?, 0xc0001adc6c?)
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc0005f3b10 sp=0xc0005f3af0 pc=0x440c0e
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.selectgo(0xc0005f3ed8, 0xc0001adc68, 0x2?, 0x0, 0xc0000c1d40?, 0x1)
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/select.go:327 +0x725 fp=0xc0005f3c30 sp=0xc0005f3b10 pc=0x4529a5
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: main.run()
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /app/main.go:280 +0x151a fp=0xc0005f3f38 sp=0xc0005f3c30 pc=0xa8ac9a
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: main.main()
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /app/main.go:71 +0x13 fp=0xc0005f3f50 sp=0xc0005f3f38 pc=0xa89753
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.main()
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/proc.go:271 +0x29d fp=0xc0005f3fe0 sp=0xc0005f3f50 pc=0x4407bd
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.goexit({})
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0005f3fe8 sp=0xc0005f3fe0 pc=0x478221
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: goroutine 2 gp=0xc000006700 m=nil [force gc (idle), 3 minutes]:
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.gopark(0x11f94343e5facc?, 0x10d263f62c0a77?, 0x0?, 0x0?, 0x0?)
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/proc.go:402 +0xce fp=0xc000074fa8 sp=0xc000074f88 pc=0x440c0e
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.goparkunlock(...)
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/proc.go:408
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.forcegchelper()
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/proc.go:326 +0xb3 fp=0xc000074fe0 sp=0xc000074fa8 pc=0x440a73
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.goexit({})
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000074fe8 sp=0xc000074fe0 pc=0x478221
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: created by runtime.init.6 in goroutine 1
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: /usr/local/go/src/runtime/proc.go:314 +0x1a
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: goroutine 3 gp=0xc000006c40 m=nil [GC sweep wait, 1 minutes]:
 7월 14 04:10:21 Pro-Mongo-001 blackbox_exporter[42534]: runtime.gopark(0x1223201?, 0x0?, 0x0?, 0x0?, 0x0?)

Hi, I am using blackbox_exporter well. However, an unknown issue occurred. I ran blackbox_exporter and it was running well without any problems, but one day, an error occurred as shown in the log above. What is the problem? Even if I try to find the same case, I can't find it. I would like to hear an answer as soon as possible. Thank you for your favor.

blackbox_exporter version : 0.25.0 OS : centos7

electron0zero commented 2 months ago

can you please share steps to reproduce this? I would like to see if this is reproducible. this would help us narrow down the issue.