Code Monkey home page Code Monkey logo

Comments (3)

guoxiaod avatar guoxiaod commented on May 29, 2024

应该是 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.

guoxiaod avatar guoxiaod commented on May 29, 2024

可能是消费的比较慢的原因了,那就应该不是问题了,还在查。

from bailongma.

guoxiaod avatar guoxiaod commented on May 29, 2024

写入慢,导致内存不断增加。

from bailongma.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.