Influxdb1.7.8关闭pprof
Influxdb配置文件influxdb.conf中添加一行配置,并重启
[http]
pprof-enabled = false
添加配置前,访问localhost:8086/debug/pprof/goroutine?debug=1
goroutine profile: total 23
1 @ 0x40c977 0x4446dc 0x4f3402 0x45d971
# 0x4446db os/signal.signal_recv+0x9b /usr/local/go/src/runtime/sigqueue.go:139
# 0x4f3401 os/signal.loop+0x21 /usr/local/go/src/os/signal/signal_unix.go:23
1 @ 0x42fcfb 0x42b039 0x42a6e6 0x49c0ea 0x49c1fd 0x49cf49 0x6176cf 0x62ac48 0x7110dc 0x51f6b6 0x520366 0x520564 0x6a032f 0x6a012b 0x70babc 0x712362 0x715fae 0x45d971
# 0x42a6e5 internal/poll.runtime_pollWait+0x65 /usr/local/go/src/runtime/netpoll.go:173
# 0x49c0e9 internal/poll.(*pollDesc).wait+0x99 /usr/local/go/src/internal/poll/fd_poll_runtime.go:85
# 0x49c1fc internal/poll.(*pollDesc).waitRead+0x3c /usr/local/go/src/internal/poll/fd_poll_runtime.go:90
······
添加配置后,访问localhost:8086/debug/pprof/goroutine?debug=1
404 page not found
标签:1.7,pprof,InfluxDB,internal,usr,go,poll,local
From: https://www.cnblogs.com/light-year/p/18230982