goroutine 764 [running]: runtime/pprof.writeGoroutineStacks({0x7639dad19198, 0xc0001c0030}) /usr/local/go/src/runtime/pprof/pprof.go:703 +0x6a runtime/pprof.writeGoroutine({0x7639dad19198?, 0xc0001c0030?}, 0xc000248064?) /usr/local/go/src/runtime/pprof/pprof.go:692 +0x25 runtime/pprof.(*Profile).WriteTo(0x8dad60?, {0x7639dad19198?, 0xc0001c0030?}, 0xc?) /usr/local/go/src/runtime/pprof/pprof.go:329 +0x146 net/http/pprof.handler.ServeHTTP({0xc000248131, 0x9}, {0x9e6f28, 0xc0001c0030}, 0x3?) /usr/local/go/src/net/http/pprof/pprof.go:267 +0x4a8 net/http/pprof.Index({0x9e6f28?, 0xc0001c0030}, 0xc000219e00?) /usr/local/go/src/net/http/pprof/pprof.go:384 +0xe5 net/http.HandlerFunc.ServeHTTP(0xc000270800?, {0x9e6f28?, 0xc0001c0030?}, 0xc000169a30?) /usr/local/go/src/net/http/server.go:2141 +0x29 net/http.(*ServeMux).ServeHTTP(0x0?, {0x9e6f28, 0xc0001c0030}, 0xc000219e00) /usr/local/go/src/net/http/server.go:2519 +0x142 main.main.loggingMiddleware.func6({0x9e71c8?, 0xc000001b20}, 0xc000219e00) /app/main.go:438 +0xd0 net/http.HandlerFunc.ServeHTTP(0xd57a00?, {0x9e71c8?, 0xc000001b20?}, 0xc000169b50?) /usr/local/go/src/net/http/server.go:2141 +0x29 net/http.serverHandler.ServeHTTP({0xc0003d0660?}, {0x9e71c8?, 0xc000001b20?}, 0x6?) /usr/local/go/src/net/http/server.go:2943 +0x8e net/http.(*conn).serve(0xc0000aec60, {0x9e7db8, 0xc00009a2a0}) /usr/local/go/src/net/http/server.go:2014 +0x5f4 created by net/http.(*Server).Serve in goroutine 18 /usr/local/go/src/net/http/server.go:3091 +0x5cb goroutine 1 [chan receive, 18 minutes]: main.main() /app/main.go:531 +0xc37 goroutine 33 [chan receive]: main.(*Server).rotateLoop(0xc00021e240) /app/main.go:61 +0x7b created by main.NewServer in goroutine 1 /app/main.go:54 +0xa5 goroutine 7 [syscall, 18 minutes]: os/signal.signal_recv() /usr/local/go/src/runtime/sigqueue.go:152 +0x29 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x13 created by os/signal.Notify.func1.1 in goroutine 1 /usr/local/go/src/os/signal/signal.go:151 +0x1f goroutine 18 [IO wait]: internal/poll.runtime_pollWait(0x7639daec4e80, 0x72) /usr/local/go/src/runtime/netpoll.go:343 +0x85 internal/poll.(*pollDesc).wait(0xc0000cc080?, 0x0?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc0000cc080) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc0000cc080) /usr/local/go/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc0000aa080) /usr/local/go/src/net/tcpsock_posix.go:152 +0x1e net.(*TCPListener).Accept(0xc0000aa080) /usr/local/go/src/net/tcpsock.go:315 +0x30 net/http.(*Server).Serve(0xc00026c000, {0x9e6fb8, 0xc0000aa080}) /usr/local/go/src/net/http/server.go:3061 +0x364 net/http.(*Server).ListenAndServe(0xc00026c000) /usr/local/go/src/net/http/server.go:2990 +0x71 main.main.func4() /app/main.go:526 +0xc5 created by main.main in goroutine 1 /app/main.go:524 +0xc2b goroutine 822 [IO wait]: internal/poll.runtime_pollWait(0x7639daec4b98, 0x72) /usr/local/go/src/runtime/netpoll.go:343 +0x85 internal/poll.(*pollDesc).wait(0xc0000cc800?, 0xc0003d0671?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0000cc800, {0xc0003d0671, 0x1, 0x1}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x27a net.(*netFD).Read(0xc0000cc800, {0xc0003d0671?, 0xc0004c0f40?, 0x46d3b0?}) /usr/local/go/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc000210030, {0xc0003d0671?, 0x1?, 0xc0000b2c30?}) /usr/local/go/src/net/net.go:185 +0x45 net/http.(*connReader).backgroundRead(0xc0003d0660) /usr/local/go/src/net/http/server.go:683 +0x37 created by net/http.(*connReader).startBackgroundRead in goroutine 764 /usr/local/go/src/net/http/server.go:679 +0xba