Comments (3)
应该是 goroutine 的问题了,不停的增长。
http://localhost:8080/debug/pprof/goroutine?debug=1
goroutine profile: total 12298
11284 @ 0x43be85 0x407b3c 0x4078f5 0x890d8e 0x70baa4 0x70d9cd 0x70f0a3 0x70a8ad 0x4709a1
# 0x890d8d main.main.func1+0x2ed
/home/xxx/go/src/github.com/taosdata/Bailongma/blm_prometheus/server.go:208
# 0x70baa3 net/http.HandlerFunc.ServeHTTP+0x43 /usr/lib/golang/src/net/http/server.go:2042
# 0x70d9cc net/http.(*ServeMux).ServeHTTP+0x1ac /usr/lib/golang/src/net/http/server.go:2417
# 0x70f0a2 net/http.serverHandler.ServeHTTP+0xa2 /usr/lib/golang/src/net/http/server.go:2843
# 0x70a8ac net/http.(*conn).serve+0x8ac /usr/lib/golang/src/net/http/server.go:1925
999 @ 0x43be85 0x43479b 0x46b255 0x4ed3e5 0x4ee431 0x4ee413 0x56dccf 0x581b2e 0x704638 0x4709a1
# 0x46b254 internal/poll.runtime_pollWait+0x54 /usr/lib/golang/src/runtime/netpoll.go:220
# 0x4ed3e4 internal/poll.(*pollDesc).wait+0x44 /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:87
# 0x4ee430 internal/poll.(*pollDesc).waitRead+0x1b0 /usr/lib/golang/src/internal/poll/fd_poll_runtime.go:92
# 0x4ee412 internal/poll.(*FD).Read+0x192 /usr/lib/golang/src/internal/poll/fd_unix.go:159
# 0x56dcce net.(*netFD).Read+0x4e /usr/lib/golang/src/net/fd_posix.go:55
# 0x581b2d net.(*conn).Read+0x8d /usr/lib/golang/src/net/net.go:182
# 0x704637 net/http.(*connReader).backgroundRead+0x57 /usr/lib/golang/src/net/http/server.go:690
from bailongma.
可能是消费的比较慢的原因了,那就应该不是问题了,还在查。
from bailongma.
写入慢,导致内存不断增加。
from bailongma.
Related Issues (16)
- fatal error: 'taos.h' file not found HOT 8
- prometheus 配置了BLM 没有数据写到TDengine,也没有报错 HOT 18
- error:too many open files HOT 3
- 启动报错 connection refused HOT 1
- 接入 TDEngine 后的 grafana 表达式 HOT 3
- 重新发一个docker镜像吧 HOT 1
- Bailongma can not connect to taos db cluster in kubernetes HOT 8
- 有没有考虑适配Opentsdb HOT 1
- 工程编译问题 HOT 16
- 离线环境无法编译 HOT 3
- 编译 blm_prometheus 报错 HOT 2
- The file "server.go" can't build in TDengine 2.0.3.1 (blm_promepheus) HOT 1
- 提供主流平台的预编译二进制文件会更方便
- 启动后运行一会儿报错 HOT 2
- 能支持prometheus读么? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bailongma.