goroutine 72 [running]: runtime/pprof.writeGoroutineStacks(0x7f085877ab50, 0xc000202000, 0xc30000c000413648, 0x4) /usr/local/go/src/runtime/pprof/pprof.go:679 +0x9d runtime/pprof.writeGoroutine(0x7f085877ab50, 0xc000202000, 0x2, 0x40e2a6, 0xc00028edc0) /usr/local/go/src/runtime/pprof/pprof.go:668 +0x44 runtime/pprof.(*Profile).WriteTo(0x14fb140, 0x7f085877ab50, 0xc000202000, 0x2, 0xc000202000, 0xc0002344e0) /usr/local/go/src/runtime/pprof/pprof.go:329 +0x3da net/http/pprof.handler.ServeHTTP(0xe3634e, 0x9, 0xf74460, 0xc000202000, 0xc0002cc100) /usr/local/go/src/net/http/pprof/pprof.go:245 +0x33a net/http.HandlerFunc.ServeHTTP(0xc0002344e0, 0xf74460, 0xc000202000, 0xc0002cc100) /usr/local/go/src/net/http/server.go:2007 +0x44 net/http.(*ServeMux).ServeHTTP(0xc0003b63c0, 0xf74460, 0xc000202000, 0xc0002cc100) /usr/local/go/src/net/http/server.go:2387 +0x1bd github.com/zew/rentomat/wrap.(*logAndRecover).ServeHTTP.func1(0xc000200a60, 0x17, 0xf74460, 0xc000202000, 0xc0002cc100, 0xc00021a8e0) /workspace/wrap/handler-wrap-recover.go:117 +0xd6 github.com/zew/rentomat/wrap.(*logAndRecover).ServeHTTP(0xc00021a8e0, 0xf74460, 0xc000202000, 0xc0002cc100) /workspace/wrap/handler-wrap-recover.go:118 +0x4c1 github.com/alexedwards/scs/v2.(*SessionManager).LoadAndSave.func1(0xf77560, 0xc0002bc0e0, 0xc000118a00) /layers/google.go.gomod/gopath/pkg/mod/github.com/alexedwards/scs/v2@v2.3.0/session.go:144 +0x205 net/http.HandlerFunc.ServeHTTP(0xc000234620, 0xf77560, 0xc0002bc0e0, 0xc000118a00) /usr/local/go/src/net/http/server.go:2007 +0x44 net/http.(*ServeMux).ServeHTTP(0xc0003b6500, 0xf77560, 0xc0002bc0e0, 0xc000118a00) /usr/local/go/src/net/http/server.go:2387 +0x1bd net/http.serverHandler.ServeHTTP(0xc0002bc000, 0xf77560, 0xc0002bc0e0, 0xc000118a00) /usr/local/go/src/net/http/server.go:2802 +0xa4 net/http.(*conn).serve(0xc0002df860, 0xf797a0, 0xc000087e80) /usr/local/go/src/net/http/server.go:1890 +0x875 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2928 +0x384 goroutine 1 [IO wait, 2 minutes]: internal/poll.runtime_pollWait(0x7f0858715ea8, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc001132198, 0x72, 0x0, 0x0, 0xe341f2) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc001132180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:384 +0x1f8 net.(*netFD).accept(0xc001132180, 0xc000bdfb18, 0x6e9c74, 0xc0002bc0a0) /usr/local/go/src/net/fd_unix.go:238 +0x42 net.(*TCPListener).accept(0xc00021d580, 0x6a5dad27, 0xc000bdfb18, 0x4d4146) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00021d580, 0xc000bdfb68, 0x18, 0xc000000180, 0x6e91a4) /usr/local/go/src/net/tcpsock.go:261 +0x47 net/http.(*Server).Serve(0xc0002bc000, 0xf772a0, 0xc00021d580, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2896 +0x280 net/http.(*Server).ListenAndServe(0xc0002bc000, 0xc0002bc000, 0x0) /usr/local/go/src/net/http/server.go:2825 +0xb7 net/http.ListenAndServe(...) /usr/local/go/src/net/http/server.go:3081 main.main() /workspace/main.go:216 +0x1406 goroutine 7 [select]: go.opencensus.io/stats/view.(*worker).start(0xc0000b0aa0) /layers/google.go.gomod/gopath/pkg/mod/go.opencensus.io@v0.22.2/stats/view/worker.go:154 +0x100 created by go.opencensus.io/stats/view.init.0 /layers/google.go.gomod/gopath/pkg/mod/go.opencensus.io@v0.22.2/stats/view/worker.go:32 +0x57 goroutine 18 [select, 2 minutes]: github.com/alexedwards/scs/v2/memstore.(*MemStore).startCleanup(0xc000275320, 0xdf8475800) /layers/google.go.gomod/gopath/pkg/mod/github.com/alexedwards/scs/v2@v2.3.0/memstore/memstore.go:96 +0x10b created by github.com/alexedwards/scs/v2/memstore.NewWithCleanupInterval /layers/google.go.gomod/gopath/pkg/mod/github.com/alexedwards/scs/v2@v2.3.0/memstore/memstore.go:39 +0x95 goroutine 46 [chan send, 2 minutes]: github.com/zew/rentomat/rands.init.0.func1() /workspace/rands/randoms.go:110 +0x5f created by github.com/zew/rentomat/rands.init.0 /workspace/rands/randoms.go:96 +0x35 goroutine 64 [select, 2 minutes]: net/http/pprof.sleep(0xf74460, 0xc0001dcff0, 0x6fc23ac00) /usr/local/go/src/net/http/pprof/pprof.go:94 +0xf4 net/http/pprof.Profile(0xf74460, 0xc0001dcff0, 0xc0002cca00) /usr/local/go/src/net/http/pprof/pprof.go:138 +0x468 net/http.HandlerFunc.ServeHTTP(0xe72708, 0xf74460, 0xc0001dcff0, 0xc0002cca00) /usr/local/go/src/net/http/server.go:2007 +0x44 net/http.(*ServeMux).ServeHTTP(0xc0003b63c0, 0xf74460, 0xc0001dcff0, 0xc0002cca00) /usr/local/go/src/net/http/server.go:2387 +0x1bd github.com/zew/rentomat/wrap.(*logAndRecover).ServeHTTP.func1(0xc00021e640, 0xe, 0xf74460, 0xc0001dcff0, 0xc0002cca00, 0xc00021a8e0) /workspace/wrap/handler-wrap-recover.go:117 +0xd6 github.com/zew/rentomat/wrap.(*logAndRecover).ServeHTTP(0xc00021a8e0, 0xf74460, 0xc0001dcff0, 0xc0002cca00) /workspace/wrap/handler-wrap-recover.go:118 +0x4c1 github.com/alexedwards/scs/v2.(*SessionManager).LoadAndSave.func1(0xf77560, 0xc000208620, 0xc00029ee00) /layers/google.go.gomod/gopath/pkg/mod/github.com/alexedwards/scs/v2@v2.3.0/session.go:144 +0x205 net/http.HandlerFunc.ServeHTTP(0xc000234620, 0xf77560, 0xc000208620, 0xc00029ee00) /usr/local/go/src/net/http/server.go:2007 +0x44 net/http.(*ServeMux).ServeHTTP(0xc0003b6500, 0xf77560, 0xc000208620, 0xc00029ee00) /usr/local/go/src/net/http/server.go:2387 +0x1bd net/http.serverHandler.ServeHTTP(0xc0002bc000, 0xf77560, 0xc000208620, 0xc00029ee00) /usr/local/go/src/net/http/server.go:2802 +0xa4 net/http.(*conn).serve(0xc0001fa640, 0xf797a0, 0xc0003b6d40) /usr/local/go/src/net/http/server.go:1890 +0x875 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2928 +0x384 goroutine 85 [syscall, 2 minutes]: runtime/pprof.readProfile(0x5f5e100, 0xc0004ac000, 0x3, 0x20000, 0xc0005ac000, 0x1, 0x4000) /usr/local/go/src/runtime/cpuprof.go:208 +0x72 runtime/pprof.profileWriter(0x7f085877ab50, 0xc0001dcff0) /usr/local/go/src/runtime/pprof/pprof.go:780 +0x6b created by runtime/pprof.StartCPUProfile /usr/local/go/src/runtime/pprof/pprof.go:764 +0x130 goroutine 84 [IO wait, 2 minutes]: internal/poll.runtime_pollWait(0x7f0858715c38, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc001132398, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc001132380, 0xc000174e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc001132380, 0xc000174e21, 0x1, 0x1, 0xc0003b6d98, 0xc0000faf68, 0x47b38c) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc00027a740, 0xc000174e21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 net/http.(*connReader).backgroundRead(0xc000174e10) /usr/local/go/src/net/http/server.go:677 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:673 +0xd4 goroutine 87 [IO wait]: internal/poll.runtime_pollWait(0x7f0858715d08, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc00011a818, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00011a800, 0xc00049e911, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc00011a800, 0xc00049e911, 0x1, 0x1, 0x83f8df, 0xc000c1c480, 0xc0000f9f80) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc000010708, 0xc00049e911, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 net/http.(*connReader).backgroundRead(0xc00049e900) /usr/local/go/src/net/http/server.go:677 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:673 +0xd4