goroutine 20646 [running]: runtime/pprof.writeGoroutineStacks({0x7f57b35c1ef8, 0xc0000ce800}) /usr/local/go/src/runtime/pprof/pprof.go:692 +0x70 runtime/pprof.writeGoroutine({0x7f57b35c1ef8?, 0xc0000ce800?}, 0x0?) /usr/local/go/src/runtime/pprof/pprof.go:681 +0x2b runtime/pprof.(*Profile).WriteTo(0xd39d60?, {0x7f57b35c1ef8?, 0xc0000ce800?}, 0xc?) /usr/local/go/src/runtime/pprof/pprof.go:330 +0x14b net/http/pprof.handler.ServeHTTP({0xdbfe52, 0x9}, {0x7f57b35c1e80, 0xc0000ce800}, 0x203000?) /usr/local/go/src/net/http/pprof/pprof.go:253 +0x4a5 github.com/gin-gonic/gin.WrapH.func1(0xc0000ce800) /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(0xc000103a00, 0xc0000ce800) /go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/gin.go:616 +0x671 github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000103a00, {0x17535b8?, 0xc00085a0e0}, 0xc00023c600) /go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/gin.go:572 +0x1dd net/http.serverHandler.ServeHTTP({0xc00089a2d0?}, {0x17535b8, 0xc00085a0e0}, 0xc00023c600) /usr/local/go/src/net/http/server.go:2947 +0x30c net/http.(*conn).serve(0xc00043a1e0, {0x17543d8, 0xc00043ed80}) /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, 146434 minutes]: techunicorn.com/udc-core/pretz.git/pkg/app/server.(*app).startService(0xc0000fe000) /pkg/app/server/app.go:165 +0x19d techunicorn.com/udc-core/pretz.git/pkg/app/server.Start({0xc00004a045, 0x4}) /pkg/app/server/app.go:66 +0x74 main.main() /cmd/server/main.go:20 +0xaf goroutine 23 [chan receive, 649 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(0xc0000142d8) /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 24 [select, 649 minutes]: github.com/microsoft/ApplicationInsights-Go/appinsights.(*inMemoryChannelState).start(0xc00010e0f0) /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 25 [select, 146434 minutes]: database/sql.(*DB).connectionOpener(0xc000122b60, {0x1754330, 0xc00009d5c0}) /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 5522 [chan receive, 82689 minutes]: github.com/BetaLixT/usago.(*ChannelManager).closeHandler(0xc0003ac180, 0x445c05?, 0xc00031d7d0?) /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 14 [chan receive, 649 minutes]: techunicorn.com/udc-core/pretz.git/pkg/infra/notifdisp.(*NotificationDispatch).confirmHandler(0xc000420380, 0x0?) /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 5512 [chan receive, 82689 minutes]: github.com/BetaLixT/usago.(*ChannelContext).closeHandler(0xc0004518c0, 0xc0000a87b0?) /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 20660 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f57b351be48, 0x72) /usr/local/go/src/runtime/netpoll.go:305 +0x89 internal/poll.(*pollDesc).wait(0xc0000b8000?, 0xc000002000?, 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(0xc0000b8000, {0xc000002000, 0x1000, 0x1000}) /usr/local/go/src/internal/poll/fd_unix.go:167 +0x25a net.(*netFD).Read(0xc0000b8000, {0xc000002000?, 0xc0000806b0?, 0x41e046?}) /usr/local/go/src/net/fd_posix.go:55 +0x29 net.(*conn).Read(0xc000014080, {0xc000002000?, 0xc0000021eb?, 0xc0000ed710?}) /usr/local/go/src/net/net.go:183 +0x45 net/http.(*connReader).Read(0xc0007fc3c0, {0xc000002000, 0x1000, 0x1000}) /usr/local/go/src/net/http/server.go:786 +0x171 bufio.(*Reader).fill(0xc0000b2060) /usr/local/go/src/bufio/bufio.go:106 +0xff bufio.(*Reader).ReadSlice(0xc0000b2060, 0x0?) /usr/local/go/src/bufio/bufio.go:372 +0x2f bufio.(*Reader).ReadLine(0xc0000b2060) /usr/local/go/src/bufio/bufio.go:401 +0x27 net/textproto.(*Reader).readLineSlice(0xc00065c0c0) /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(0xc000014080?) /usr/local/go/src/net/http/request.go:1030 +0x79 net/http.(*conn).readRequest(0xc0003f0000, {0x1754330, 0xc00009c2c0}) /usr/local/go/src/net/http/server.go:994 +0x24a net/http.(*conn).serve(0xc0003f0000, {0x17543d8, 0xc00043ed80}) /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 5505 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f57b371bf68, 0x72) /usr/local/go/src/runtime/netpoll.go:305 +0x89 internal/poll.(*pollDesc).wait(0xc000434080?, 0xc000020000?, 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(0xc000434080, {0xc000020000, 0x1000, 0x1000}) /usr/local/go/src/internal/poll/fd_unix.go:167 +0x25a net.(*netFD).Read(0xc000434080, {0xc000020000?, 0xc000085dd0?, 0x43ed00?}) /usr/local/go/src/net/fd_posix.go:55 +0x29 net.(*conn).Read(0xc000014040, {0xc000020000?, 0x0?, 0x7f57dae345b8?}) /usr/local/go/src/net/net.go:183 +0x45 bufio.(*Reader).Read(0xc0000b2480, {0xc000176060, 0x7, 0x40f7a7?}) /usr/local/go/src/bufio/bufio.go:237 +0x1bb io.ReadAtLeast({0x174c260, 0xc0000b2480}, {0xc000176060, 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(0xc000085f30) /go/pkg/mod/github.com/rabbitmq/amqp091-go@v1.3.4/read.go:49 +0x53 github.com/rabbitmq/amqp091-go.(*Connection).reader(0xc00040e000, {0x174dca0?, 0xc000014040?}) /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 15 [chan receive, 649 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 20647 [runnable]: net/http.(*connReader).startBackgroundRead.func2() /usr/local/go/src/net/http/server.go:674 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:674 +0xca goroutine 50 [IO wait, 649 minutes]: internal/poll.runtime_pollWait(0x7f57b371be78, 0x72) /usr/local/go/src/runtime/netpoll.go:305 +0x89 internal/poll.(*pollDesc).wait(0xc0000b8680?, 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(0xc0000b8680) /usr/local/go/src/internal/poll/fd_unix.go:614 +0x234 net.(*netFD).accept(0xc0000b8680) /usr/local/go/src/net/fd_unix.go:172 +0x35 net.(*TCPListener).accept(0xc000126a98) /usr/local/go/src/net/tcpsock_posix.go:142 +0x28 net.(*TCPListener).Accept(0xc000126a98) /usr/local/go/src/net/tcpsock.go:288 +0x3d google.golang.org/grpc.(*Server).Serve(0xc000152000, {0x17533a8?, 0xc000126a98}) /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(0xc0000fe000, {0xc00004a01a, 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 51 [IO wait]: internal/poll.runtime_pollWait(0x7f57b371bd88, 0x72) /usr/local/go/src/runtime/netpoll.go:305 +0x89 internal/poll.(*pollDesc).wait(0xc0000b8780?, 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(0xc0000b8780) /usr/local/go/src/internal/poll/fd_unix.go:614 +0x234 net.(*netFD).accept(0xc0000b8780) /usr/local/go/src/net/fd_unix.go:172 +0x35 net.(*TCPListener).accept(0xc000126bd0) /usr/local/go/src/net/tcpsock_posix.go:142 +0x28 net.(*TCPListener).Accept(0xc000126bd0) /usr/local/go/src/net/tcpsock.go:288 +0x3d net/http.(*Server).Serve(0xc000156000, {0x17533a8, 0xc000126bd0}) /usr/local/go/src/net/http/server.go:3070 +0x385 net/http.(*Server).ListenAndServe(0xc000156000) /usr/local/go/src/net/http/server.go:2999 +0x7d techunicorn.com/udc-core/pretz.git/pkg/app/server.(*app).startHTTP(0xc0000fe000, {0xc00004a03a, 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 53 [syscall, 146434 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 5513 [chan receive, 649 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 5511 [select, 1 minutes]: github.com/rabbitmq/amqp091-go.(*Connection).heartbeater(0xc00040e000, 0x12a05f200, 0xc0006d2720) /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 goroutine 20644 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f57b371b9c8, 0x72) /usr/local/go/src/runtime/netpoll.go:305 +0x89 internal/poll.(*pollDesc).wait(0xc000434180?, 0xc000021000?, 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(0xc000434180, {0xc000021000, 0x1000, 0x1000}) /usr/local/go/src/internal/poll/fd_unix.go:167 +0x25a net.(*netFD).Read(0xc000434180, {0xc000021000?, 0x7f57b3499c80?, 0x1d0bd98?}) /usr/local/go/src/net/fd_posix.go:55 +0x29 net.(*conn).Read(0xc000136028, {0xc000021000?, 0x0?, 0xc0000f17b0?}) /usr/local/go/src/net/net.go:183 +0x45 net/http.(*connReader).Read(0xc00065c090, {0xc000021000, 0x1000, 0x1000}) /usr/local/go/src/net/http/server.go:786 +0x171 bufio.(*Reader).fill(0xc00009eea0) /usr/local/go/src/bufio/bufio.go:106 +0xff bufio.(*Reader).ReadSlice(0xc00009eea0, 0x0?) /usr/local/go/src/bufio/bufio.go:372 +0x2f bufio.(*Reader).ReadLine(0xc00009eea0) /usr/local/go/src/bufio/bufio.go:401 +0x27 net/textproto.(*Reader).readLineSlice(0xc000884060) /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(0xc000136028?) /usr/local/go/src/net/http/request.go:1030 +0x79 net/http.(*conn).readRequest(0xc00087e0a0, {0x1754330, 0xc000380000}) /usr/local/go/src/net/http/server.go:994 +0x24a net/http.(*conn).serve(0xc00087e0a0, {0x17543d8, 0xc00043ed80}) /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 20664 [syscall]: runtime/pprof.readProfile() /usr/local/go/src/runtime/cpuprof.go:231 +0x4b runtime/pprof.profileWriter({0x7f57b35c1ef8?, 0xc00023ca00?}) /usr/local/go/src/runtime/pprof/pprof.go:799 +0x51 created by runtime/pprof.StartCPUProfile /usr/local/go/src/runtime/pprof/pprof.go:783 +0x14a goroutine 20663 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f57b351ba88, 0x72) /usr/local/go/src/runtime/netpoll.go:305 +0x89 internal/poll.(*pollDesc).wait(0xc000678d80?, 0xc00089a191?, 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(0xc000678d80, {0xc00089a191, 0x1, 0x1}) /usr/local/go/src/internal/poll/fd_unix.go:167 +0x25a net.(*netFD).Read(0xc000678d80, {0xc00089a191?, 0xc00009c098?, 0xc000071768?}) /usr/local/go/src/net/fd_posix.go:55 +0x29 net.(*conn).Read(0xc000014088, {0xc00089a191?, 0xc000532000?, 0x0?}) /usr/local/go/src/net/net.go:183 +0x45 net/http.(*connReader).backgroundRead(0xc00089a180) /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 20662 [select, 1 minutes]: net/http/pprof.sleep(0xc00023cd00, 0xc00023ca00?) /usr/local/go/src/net/http/pprof/pprof.go:98 +0x96 net/http/pprof.Profile({0x7f57b35c1e80, 0xc00023ca00}, 0x0?) /usr/local/go/src/net/http/pprof/pprof.go:142 +0x325 github.com/gin-gonic/gin.WrapF.func1(0xc00023ca00) /go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/utils.go:42 +0x59 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(0xc000103a00, 0xc00023ca00) /go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/gin.go:616 +0x671 github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000103a00, {0x17535b8?, 0xc00085a000}, 0xc00023cd00) /go/pkg/mod/github.com/gin-gonic/gin@v1.8.1/gin.go:572 +0x1dd net/http.serverHandler.ServeHTTP({0xc00089a180?}, {0x17535b8, 0xc00085a000}, 0xc00023cd00) /usr/local/go/src/net/http/server.go:2947 +0x30c net/http.(*conn).serve(0xc00043a0a0, {0x17543d8, 0xc00043ed80}) /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