goroutine 5321 [running]: runtime/pprof.writeGoroutineStacks({0x7fec16b241f8, 0xc000594100}) /usr/local/go/src/runtime/pprof/pprof.go:692 +0x70 runtime/pprof.writeGoroutine({0x7fec16b241f8?, 0xc000594100?}, 0x0?) /usr/local/go/src/runtime/pprof/pprof.go:681 +0x2b runtime/pprof.(*Profile).WriteTo(0xd39d60?, {0x7fec16b241f8?, 0xc000594100?}, 0xc?) /usr/local/go/src/runtime/pprof/pprof.go:330 +0x14b net/http/pprof.handler.ServeHTTP({0xdbfe52, 0x9}, {0x7fec16b24180, 0xc000594100}, 0x4110100203000?) /usr/local/go/src/net/http/pprof/pprof.go:253 +0x4a5 github.com/gin-gonic/gin.WrapH.func1(0xc000594100) /go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/utils.go:49 +0x69 github.com/gin-gonic/gin.(*Context).Next(...) /go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/context.go:173 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0000deb60, 0xc000594100) /go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/gin.go:616 +0x671 github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0000deb60, {0x17535b8?, 0xc0001e20e0}, 0xc000594000) /go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/gin.go:572 +0x1dd net/http.serverHandler.ServeHTTP({0xc000326150?}, {0x17535b8, 0xc0001e20e0}, 0xc000594000) /usr/local/go/src/net/http/server.go:2947 +0x30c net/http.(*conn).serve(0xc0003320a0, {0x17543d8, 0xc00035e300}) /usr/local/go/src/net/http/server.go:1991 +0x607 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:3102 +0x4db goroutine 1 [chan receive, 65334 minutes]: techunicorn.com/udc-core/pretz.git/pkg/app/server.(*app).startService(0xc000306240) /pkg/app/server/app.go:165 +0x19d techunicorn.com/udc-core/pretz.git/pkg/app/server.Start({0xc000046015, 0x4}) /pkg/app/server/app.go:66 +0x74 main.main() /cmd/server/main.go:20 +0xaf goroutine 11 [chan receive, 1902 minutes]: github.com/microsoft/ApplicationInsights-Go/appinsights.(*throttleManager).waitForThrottle(...) /go/pkg/mod/github.com/microsoft/!application!insights-!go@v0.4.4/appinsights/throttle.go:86 github.com/microsoft/ApplicationInsights-Go/appinsights.(*throttleManager).run(0xc0002882b8) /go/pkg/mod/github.com/microsoft/!application!insights-!go@v0.4.4/appinsights/throttle.go:71 +0x89 created by github.com/microsoft/ApplicationInsights-Go/appinsights.newThrottleManager /go/pkg/mod/github.com/microsoft/!application!insights-!go@v0.4.4/appinsights/throttle.go:25 +0x99 goroutine 12 [select, 1902 minutes]: github.com/microsoft/ApplicationInsights-Go/appinsights.(*inMemoryChannelState).start(0xc0000ac0f0) /go/pkg/mod/github.com/microsoft/!application!insights-!go@v0.4.4/appinsights/inmemorychannel.go:187 +0x165 github.com/microsoft/ApplicationInsights-Go/appinsights.(*InMemoryChannel).acceptLoop(0x0?) /go/pkg/mod/github.com/microsoft/!application!insights-!go@v0.4.4/appinsights/inmemorychannel.go:146 +0x27 created by github.com/microsoft/ApplicationInsights-Go/appinsights.NewInMemoryChannel /go/pkg/mod/github.com/microsoft/!application!insights-!go@v0.4.4/appinsights/inmemorychannel.go:59 +0x1d6 goroutine 13 [select, 65334 minutes]: database/sql.(*DB).connectionOpener(0xc0000c0680, {0x1754330, 0xc0003b7dc0}) /usr/local/go/src/database/sql/sql.go:1224 +0x8d created by database/sql.OpenDB /usr/local/go/src/database/sql/sql.go:792 +0x18d goroutine 4769 [chan receive, 1902 minutes]: github.com/BetaLixT/usago.(*ChannelContext).proxyConfirm(...) /go/pkg/mod/github.com/!beta!lix!t/usago@v0.2.0-alpha1/context.go:225 github.com/BetaLixT/usago.(*ChannelContext).initNewChannel.func2() /go/pkg/mod/github.com/!beta!lix!t/usago@v0.2.0-alpha1/context.go:201 +0x8e created by github.com/BetaLixT/usago.(*ChannelContext).initNewChannel /go/pkg/mod/github.com/!beta!lix!t/usago@v0.2.0-alpha1/context.go:199 +0x1b9 goroutine 43 [chan receive, 1902 minutes]: techunicorn.com/udc-core/pretz.git/pkg/infra/notifdisp.(*NotificationDispatch).confirmHandler(0xc0001e2000, 0xc0000ee500?) /pkg/infra/notifdisp/notifdisp.go:347 +0x53 techunicorn.com/udc-core/pretz.git/pkg/infra/notifdisp.NewNotifDispatch.func2() /pkg/infra/notifdisp/notifdisp.go:141 +0x2b created by techunicorn.com/udc-core/pretz.git/pkg/infra/notifdisp.NewNotifDispatch /pkg/infra/notifdisp/notifdisp.go:140 +0x830 goroutine 44 [chan receive, 1902 minutes]: techunicorn.com/udc-core/pretz.git/pkg/infra/notifdisp.(*NotificationDispatch).processQueue(...) /pkg/infra/notifdisp/notifdisp.go:285 techunicorn.com/udc-core/pretz.git/pkg/infra/notifdisp.NewNotifDispatch.func3() /pkg/infra/notifdisp/notifdisp.go:145 +0x8e created by techunicorn.com/udc-core/pretz.git/pkg/infra/notifdisp.NewNotifDispatch /pkg/infra/notifdisp/notifdisp.go:144 +0x873 goroutine 32 [IO wait, 1902 minutes]: internal/poll.runtime_pollWait(0x7fec16d43d08, 0x72) /usr/local/go/src/runtime/netpoll.go:305 +0x89 internal/poll.(*pollDesc).wait(0xc00028e700?, 0x6?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc00028e700) /usr/local/go/src/internal/poll/fd_unix.go:614 +0x234 net.(*netFD).accept(0xc00028e700) /usr/local/go/src/net/fd_unix.go:172 +0x35 net.(*TCPListener).accept(0xc00028c900) /usr/local/go/src/net/tcpsock_posix.go:142 +0x28 net.(*TCPListener).Accept(0xc00028c900) /usr/local/go/src/net/tcpsock.go:288 +0x3d google.golang.org/grpc.(*Server).Serve(0xc0002a8000, {0x17533a8?, 0xc00028c900}) /go/pkg/mod/google.golang.org/grpc@v1.52.3/server.go:823 +0x475 techunicorn.com/udc-core/pretz.git/pkg/app/server.(*app).startGRPC(0xc000306240, {0xc00004603a, 0x4}) /pkg/app/server/grpc.go:137 +0x879 techunicorn.com/udc-core/pretz.git/pkg/app/server.(*app).startService.func1() /pkg/app/server/app.go:147 +0x7d created by techunicorn.com/udc-core/pretz.git/pkg/app/server.(*app).startService /pkg/app/server/app.go:145 +0xd4 goroutine 33 [IO wait]: internal/poll.runtime_pollWait(0x7fec16d43ee8, 0x72) /usr/local/go/src/runtime/netpoll.go:305 +0x89 internal/poll.(*pollDesc).wait(0xc00028e680?, 0x6?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc00028e680) /usr/local/go/src/internal/poll/fd_unix.go:614 +0x234 net.(*netFD).accept(0xc00028e680) /usr/local/go/src/net/fd_unix.go:172 +0x35 net.(*TCPListener).accept(0xc00028c8e8) /usr/local/go/src/net/tcpsock_posix.go:142 +0x28 net.(*TCPListener).Accept(0xc00028c8e8) /usr/local/go/src/net/tcpsock.go:288 +0x3d net/http.(*Server).Serve(0xc0002de870, {0x17533a8, 0xc00028c8e8}) /usr/local/go/src/net/http/server.go:3070 +0x385 net/http.(*Server).ListenAndServe(0xc0002de870) /usr/local/go/src/net/http/server.go:2999 +0x7d techunicorn.com/udc-core/pretz.git/pkg/app/server.(*app).startHTTP(0xc000306240, {0xc00004604a, 0x4}) /pkg/app/server/http.go:136 +0x10a9 techunicorn.com/udc-core/pretz.git/pkg/app/server.(*app).startService.func2() /pkg/app/server/app.go:153 +0x7d created by techunicorn.com/udc-core/pretz.git/pkg/app/server.(*app).startService /pkg/app/server/app.go:151 +0x133 goroutine 51 [syscall, 65334 minutes]: os/signal.signal_recv() /usr/local/go/src/runtime/sigqueue.go:152 +0x2f os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x19 created by os/signal.Notify.func1.1 /usr/local/go/src/os/signal/signal.go:151 +0x2a goroutine 5322 [runnable]: syscall.Syscall(0xc000106e68?, 0x426265?, 0x4d53b2?, 0x7ffff800000?) /usr/local/go/src/syscall/syscall_linux.go:68 +0x27 syscall.read(0xc0005f0000?, {0xc000326161?, 0x1d26100?, 0xc000106ef8?}) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:696 +0x45 syscall.Read(...) /usr/local/go/src/syscall/syscall_unix.go:183 internal/poll.ignoringEINTRIO(...) /usr/local/go/src/internal/poll/fd_unix.go:794 internal/poll.(*FD).Read(0xc0005f0000?, {0xc000326161?, 0x1?, 0x1?}) /usr/local/go/src/internal/poll/fd_unix.go:163 +0x285 net.(*netFD).Read(0xc0005f0000, {0xc000326161?, 0xc0003b6318?, 0xc000106f68?}) /usr/local/go/src/net/fd_posix.go:55 +0x29 net.(*conn).Read(0xc000288010, {0xc000326161?, 0xc0003a4000?, 0xc0003cbe60?}) /usr/local/go/src/net/net.go:183 +0x45 net/http.(*connReader).backgroundRead(0xc000326150) /usr/local/go/src/net/http/server.go:678 +0x3f created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:674 +0xca goroutine 4768 [chan receive, 23442 minutes]: github.com/BetaLixT/usago.(*ChannelContext).closeHandler(0xc0000da5a0, 0xac4809?) /go/pkg/mod/github.com/!beta!lix!t/usago@v0.2.0-alpha1/context.go:242 +0x47 github.com/BetaLixT/usago.(*ChannelContext).initNewChannel.func1() /go/pkg/mod/github.com/!beta!lix!t/usago@v0.2.0-alpha1/context.go:193 +0x70 created by github.com/BetaLixT/usago.(*ChannelContext).initNewChannel /go/pkg/mod/github.com/!beta!lix!t/usago@v0.2.0-alpha1/context.go:191 +0x145 goroutine 4750 [IO wait]: internal/poll.runtime_pollWait(0x7fec16d43df8, 0x72) /usr/local/go/src/runtime/netpoll.go:305 +0x89 internal/poll.(*pollDesc).wait(0xc0005f0700?, 0xc000276000?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0005f0700, {0xc000276000, 0x1000, 0x1000}) /usr/local/go/src/internal/poll/fd_unix.go:167 +0x25a net.(*netFD).Read(0xc0005f0700, {0xc000276000?, 0xc000081dd0?, 0x43ed00?}) /usr/local/go/src/net/fd_posix.go:55 +0x29 net.(*conn).Read(0xc000288250, {0xc000276000?, 0x0?, 0x7fec3e418108?}) /usr/local/go/src/net/net.go:183 +0x45 bufio.(*Reader).Read(0xc00089a3c0, {0xc000560120, 0x7, 0x40f7a7?}) /usr/local/go/src/bufio/bufio.go:237 +0x1bb io.ReadAtLeast({0x174c260, 0xc00089a3c0}, {0xc000560120, 0x7, 0x7}, 0x7) /usr/local/go/src/io/io.go:332 +0x9a io.ReadFull(...) /usr/local/go/src/io/io.go:351 github.com/rabbitmq/amqp091-go.(*reader).ReadFrame(0xc000081f30) /go/pkg/mod/github.com/rabbitmq/amqp091-go@v1.3.4/read.go:49 +0x53 github.com/rabbitmq/amqp091-go.(*Connection).reader(0xc000352000, {0x174dca0?, 0xc000288250?}) /go/pkg/mod/github.com/rabbitmq/amqp091-go@v1.3.4/connection.go:543 +0x1ce created by github.com/rabbitmq/amqp091-go.Open /go/pkg/mod/github.com/rabbitmq/amqp091-go@v1.3.4/connection.go:251 +0x34c goroutine 5304 [IO wait]: internal/poll.runtime_pollWait(0x7fec16d43c18, 0x72) /usr/local/go/src/runtime/netpoll.go:305 +0x89 internal/poll.(*pollDesc).wait(0xc000392000?, 0xc000562000?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x32 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc000392000, {0xc000562000, 0x1000, 0x1000}) /usr/local/go/src/internal/poll/fd_unix.go:167 +0x25a net.(*netFD).Read(0xc000392000, {0xc000562000?, 0xc000136600?, 0xc000136300?}) /usr/local/go/src/net/fd_posix.go:55 +0x29 net.(*conn).Read(0xc000014028, {0xc000562000?, 0x1756880?, 0x1757680?}) /usr/local/go/src/net/net.go:183 +0x45 net/http.(*connReader).Read(0xc00047e090, {0xc000562000, 0x1000, 0x1000}) /usr/local/go/src/net/http/server.go:786 +0x171 bufio.(*Reader).fill(0xc00089b0e0) /usr/local/go/src/bufio/bufio.go:106 +0xff bufio.(*Reader).ReadSlice(0xc00089b0e0, 0x0?) /usr/local/go/src/bufio/bufio.go:372 +0x2f bufio.(*Reader).ReadLine(0xc00089b0e0) /usr/local/go/src/bufio/bufio.go:401 +0x27 net/textproto.(*Reader).readLineSlice(0xc00047e0c0) /usr/local/go/src/net/textproto/reader.go:58 +0x99 net/textproto.(*Reader).ReadLine(...) /usr/local/go/src/net/textproto/reader.go:39 net/http.readRequest(0xc000014028?) /usr/local/go/src/net/http/request.go:1030 +0x79 net/http.(*conn).readRequest(0xc0001f4000, {0x1754330, 0xc0003b6040}) /usr/local/go/src/net/http/server.go:994 +0x24a net/http.(*conn).serve(0xc0001f4000, {0x17543d8, 0xc00035e300}) /usr/local/go/src/net/http/server.go:1916 +0x345 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:3102 +0x4db goroutine 4751 [chan receive, 23442 minutes]: github.com/BetaLixT/usago.(*ChannelManager).closeHandler(0xc000306180, 0x5bca76?, 0x1ce9510?) /go/pkg/mod/github.com/!beta!lix!t/usago@v0.2.0-alpha1/manager.go:132 +0x4c github.com/BetaLixT/usago.(*ChannelManager).establishConnection.func3() /go/pkg/mod/github.com/!beta!lix!t/usago@v0.2.0-alpha1/manager.go:122 +0x6c created by github.com/BetaLixT/usago.(*ChannelManager).establishConnection /go/pkg/mod/github.com/!beta!lix!t/usago@v0.2.0-alpha1/manager.go:120 +0x5aa goroutine 4767 [select]: github.com/rabbitmq/amqp091-go.(*Connection).heartbeater(0xc000352000, 0x12a05f200, 0xc00089a480) /go/pkg/mod/github.com/rabbitmq/amqp091-go@v1.3.4/connection.go:578 +0x1b8 created by github.com/rabbitmq/amqp091-go.(*Connection).openTune /go/pkg/mod/github.com/rabbitmq/amqp091-go@v1.3.4/connection.go:810 +0x58a