goroutine 67 [running]: runtime/pprof.writeGoroutineStacks(0x7f7f0789bd00, 0xc000e5c000, 0x30, 0xc0002a2380) /usr/local/go/src/runtime/pprof/pprof.go:679 +0x9d runtime/pprof.writeGoroutine(0x7f7f0789bd00, 0xc000e5c000, 0x2, 0xea2375c6, 0x568949660379bc1a) /usr/local/go/src/runtime/pprof/pprof.go:668 +0x44 runtime/pprof.(*Profile).WriteTo(0x14fb140, 0x7f7f0789bd00, 0xc000e5c000, 0x2, 0xc000e5c000, 0xc000efa440) /usr/local/go/src/runtime/pprof/pprof.go:329 +0x3da net/http/pprof.handler.ServeHTTP(0xe3634e, 0x9, 0xf74460, 0xc000e5c000, 0xc000130800) /usr/local/go/src/net/http/pprof/pprof.go:245 +0x33a net/http.HandlerFunc.ServeHTTP(0xc000efa440, 0xf74460, 0xc000e5c000, 0xc000130800) /usr/local/go/src/net/http/server.go:2007 +0x44 net/http.(*ServeMux).ServeHTTP(0xc000e74300, 0xf74460, 0xc000e5c000, 0xc000130800) /usr/local/go/src/net/http/server.go:2387 +0x1bd github.com/zew/rentomat/wrap.(*logAndRecover).ServeHTTP.func1(0xc000f1c940, 0x17, 0xf74460, 0xc000e5c000, 0xc000130800, 0xc000e68910) /workspace/wrap/handler-wrap-recover.go:117 +0xd6 github.com/zew/rentomat/wrap.(*logAndRecover).ServeHTTP(0xc000e68910, 0xf74460, 0xc000e5c000, 0xc000130800) /workspace/wrap/handler-wrap-recover.go:118 +0x4c1 github.com/alexedwards/scs/v2.(*SessionManager).LoadAndSave.func1(0xf77560, 0xc000c707e0, 0xc000130600) /layers/google.go.gomod/gopath/pkg/mod/github.com/alexedwards/scs/v2@v2.3.0/session.go:144 +0x205 net/http.HandlerFunc.ServeHTTP(0xc000efa560, 0xf77560, 0xc000c707e0, 0xc000130600) /usr/local/go/src/net/http/server.go:2007 +0x44 net/http.(*ServeMux).ServeHTTP(0xc000e74380, 0xf77560, 0xc000c707e0, 0xc000130600) /usr/local/go/src/net/http/server.go:2387 +0x1bd net/http.serverHandler.ServeHTTP(0xc000c70000, 0xf77560, 0xc000c707e0, 0xc000130600) /usr/local/go/src/net/http/server.go:2802 +0xa4 net/http.(*conn).serve(0xc0000aa320, 0xf797a0, 0xc000e74000) /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]: internal/poll.runtime_pollWait(0x7f7f07a45310, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc000e6b298, 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(0xc000e6b280, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:384 +0x1f8 net.(*netFD).accept(0xc000e6b280, 0xc0001d1b18, 0x6e9c74, 0xc000c700a0) /usr/local/go/src/net/fd_unix.go:238 +0x42 net.(*TCPListener).accept(0xc000c9d220, 0x69326f63, 0xc0001d1b18, 0x4d4146) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000c9d220, 0xc0001d1b68, 0x18, 0xc000000180, 0x6e91a4) /usr/local/go/src/net/tcpsock.go:261 +0x47 net/http.(*Server).Serve(0xc000c70000, 0xf772a0, 0xc000c9d220, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2896 +0x280 net/http.(*Server).ListenAndServe(0xc000c70000, 0xc000c70000, 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 20 [select]: go.opencensus.io/stats/view.(*worker).start(0xc0000bcaa0) /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 21 [select]: github.com/alexedwards/scs/v2/memstore.(*MemStore).startCleanup(0xc0002a0510, 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 61 [IO wait]: internal/poll.runtime_pollWait(0x7f7f07a45170, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc000e6b418, 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(0xc000e6b400, 0xc00028b901, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc000e6b400, 0xc00028b901, 0x1, 0x1, 0x83f8df, 0xc000089860, 0xc00004ff80) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc0000b6e40, 0xc00028b901, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 net/http.(*connReader).backgroundRead(0xc00028b8f0) /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 8 [IO wait]: internal/poll.runtime_pollWait(0x7f7f07a453e0, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc0002d0218, 0x72, 0x1000, 0x1000, 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(0xc0002d0200, 0xc000388000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc0002d0200, 0xc000388000, 0x1000, 0x1000, 0xe725c8, 0x203000, 0x203000) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc000010050, 0xc000388000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 net/http.(*persistConn).Read(0xc000034120, 0xc000388000, 0x1000, 0x1000, 0x40688d, 0x60, 0x0) /usr/local/go/src/net/http/transport.go:1758 +0x75 bufio.(*Reader).fill(0xc00028e6c0) /usr/local/go/src/bufio/bufio.go:100 +0x103 bufio.(*Reader).Peek(0xc00028e6c0, 0x1, 0xc0000363c0, 0x0, 0x203000, 0x203000, 0x203000) /usr/local/go/src/bufio/bufio.go:138 +0x4f net/http.(*persistConn).readLoop(0xc000034120) /usr/local/go/src/net/http/transport.go:1911 +0x1d6 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1580 +0xb0d goroutine 27 [IO wait]: internal/poll.runtime_pollWait(0x7f7f07a454b0, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc000132518, 0x72, 0x1000, 0x1000, 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(0xc000132500, 0xc000386000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc000132500, 0xc000386000, 0x1000, 0x1000, 0x4331ec, 0xc000060b20, 0x45d390) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc0000b6980, 0xc000386000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 net/http.(*persistConn).Read(0xc0002f2480, 0xc000386000, 0x1000, 0x1000, 0xc0000887e0, 0xc000060c20, 0x406955) /usr/local/go/src/net/http/transport.go:1758 +0x75 bufio.(*Reader).fill(0xc000085620) /usr/local/go/src/bufio/bufio.go:100 +0x103 bufio.(*Reader).Peek(0xc000085620, 0x1, 0x0, 0x0, 0x1, 0xc000088300, 0x0) /usr/local/go/src/bufio/bufio.go:138 +0x4f net/http.(*persistConn).readLoop(0xc0002f2480) /usr/local/go/src/net/http/transport.go:1911 +0x1d6 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1580 +0xb0d goroutine 9 [select]: net/http.(*persistConn).writeLoop(0xc000034120) /usr/local/go/src/net/http/transport.go:2210 +0x123 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1581 +0xb32 goroutine 28 [select]: net/http.(*persistConn).writeLoop(0xc0002f2480) /usr/local/go/src/net/http/transport.go:2210 +0x123 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:1581 +0xb32 goroutine 45 [chan send]: 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 62 [sleep]: runtime.goparkunlock(...) /usr/local/go/src/runtime/proc.go:310 time.Sleep(0x5f5e100) /usr/local/go/src/runtime/time.go:105 +0x157 runtime/pprof.profileWriter(0x7f7f0789bd00, 0xc000e5cc80) /usr/local/go/src/runtime/pprof/pprof.go:779 +0x66 created by runtime/pprof.StartCPUProfile /usr/local/go/src/runtime/pprof/pprof.go:764 +0x130 goroutine 38 [IO wait]: internal/poll.runtime_pollWait(0x7f7f07a45240, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc000133218, 0x72, 0x1400, 0x1429, 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(0xc000133200, 0xc000188000, 0x1429, 0x1429, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc000133200, 0xc000188000, 0x1429, 0x1429, 0x203000, 0x439fb8, 0xc00008de00) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc000010010, 0xc000188000, 0x1429, 0x1429, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 crypto/tls.(*atLeastReader).Read(0xc000cb2440, 0xc000188000, 0x1429, 0x1429, 0x27, 0x0, 0xc00016f970) /usr/local/go/src/crypto/tls/conn.go:780 +0x60 bytes.(*Buffer).ReadFrom(0xc00008a5d8, 0xf66ae0, 0xc000cb2440, 0x40c285, 0xd206c0, 0xe04fa0) /usr/local/go/src/bytes/buffer.go:204 +0xb4 crypto/tls.(*Conn).readFromUntil(0xc00008a380, 0xf67b00, 0xc000010010, 0x5, 0xc000010010, 0x5) /usr/local/go/src/crypto/tls/conn.go:802 +0xec crypto/tls.(*Conn).readRecordOrCCS(0xc00008a380, 0x0, 0x0, 0x0) /usr/local/go/src/crypto/tls/conn.go:609 +0x124 crypto/tls.(*Conn).readRecord(...) /usr/local/go/src/crypto/tls/conn.go:577 crypto/tls.(*Conn).Read(0xc00008a380, 0xc000193000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/crypto/tls/conn.go:1255 +0x161 bufio.(*Reader).Read(0xc000e0f7a0, 0xc000e1b7d8, 0x9, 0x9, 0x11, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:226 +0x26a io.ReadAtLeast(0xf66940, 0xc000e0f7a0, 0xc000e1b7d8, 0x9, 0x9, 0x9, 0xc00016fd20, 0xc00016fdf0, 0x6ce8ea) /usr/local/go/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/local/go/src/io/io.go:329 net/http.http2readFrameHeader(0xc000e1b7d8, 0x9, 0x9, 0xf66940, 0xc000e0f7a0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/h2_bundle.go:1477 +0x87 net/http.(*http2Framer).ReadFrame(0xc000e1b7a0, 0xc000bf6a60, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/h2_bundle.go:1735 +0xa1 net/http.(*http2clientConnReadLoop).run(0xc00016ffb8, 0x6a75fd, 0xc0000845a0) /usr/local/go/src/net/http/h2_bundle.go:8175 +0x8e net/http.(*http2ClientConn).readLoop(0xc00008d980) /usr/local/go/src/net/http/h2_bundle.go:8103 +0xa3 created by net/http.(*http2Transport).newClientConn /usr/local/go/src/net/http/h2_bundle.go:7162 +0x62f goroutine 68 [runnable]: syscall.Syscall(0x0, 0x9, 0xc00009b9f1, 0x1, 0xffffffffffffffff, 0x0, 0xb) /usr/local/go/src/syscall/asm_linux_amd64.s:18 +0x5 syscall.read(0x9, 0xc00009b9f1, 0x1, 0x1, 0x0, 0xf, 0x0) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:732 +0x5a syscall.Read(...) /usr/local/go/src/syscall/syscall_unix.go:183 internal/poll.(*FD).Read(0xc000e6a000, 0xc00009b9f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:165 +0x164 net.(*netFD).Read(0xc000e6a000, 0xc00009b9f1, 0x1, 0x1, 0xc00028bb30, 0x150e700, 0xc000112fc0) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc000010008, 0xc00009b9f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 net/http.(*connReader).backgroundRead(0xc00009b9e0) /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 60 [select]: net/http/pprof.sleep(0xf74460, 0xc000e5cc80, 0x6fc23ac00) /usr/local/go/src/net/http/pprof/pprof.go:94 +0xf4 net/http/pprof.Profile(0xf74460, 0xc000e5cc80, 0xc000365c00) /usr/local/go/src/net/http/pprof/pprof.go:138 +0x468 net/http.HandlerFunc.ServeHTTP(0xe72708, 0xf74460, 0xc000e5cc80, 0xc000365c00) /usr/local/go/src/net/http/server.go:2007 +0x44 net/http.(*ServeMux).ServeHTTP(0xc000e74300, 0xf74460, 0xc000e5cc80, 0xc000365c00) /usr/local/go/src/net/http/server.go:2387 +0x1bd github.com/zew/rentomat/wrap.(*logAndRecover).ServeHTTP.func1(0xc000c51840, 0xe, 0xf74460, 0xc000e5cc80, 0xc000365c00, 0xc000e68910) /workspace/wrap/handler-wrap-recover.go:117 +0xd6 github.com/zew/rentomat/wrap.(*logAndRecover).ServeHTTP(0xc000e68910, 0xf74460, 0xc000e5cc80, 0xc000365c00) /workspace/wrap/handler-wrap-recover.go:118 +0x4c1 github.com/alexedwards/scs/v2.(*SessionManager).LoadAndSave.func1(0xf77560, 0xc000c70620, 0xc000365a00) /layers/google.go.gomod/gopath/pkg/mod/github.com/alexedwards/scs/v2@v2.3.0/session.go:144 +0x205 net/http.HandlerFunc.ServeHTTP(0xc000efa560, 0xf77560, 0xc000c70620, 0xc000365a00) /usr/local/go/src/net/http/server.go:2007 +0x44 net/http.(*ServeMux).ServeHTTP(0xc000e74380, 0xf77560, 0xc000c70620, 0xc000365a00) /usr/local/go/src/net/http/server.go:2387 +0x1bd net/http.serverHandler.ServeHTTP(0xc000c70000, 0xf77560, 0xc000c70620, 0xc000365a00) /usr/local/go/src/net/http/server.go:2802 +0xa4 net/http.(*conn).serve(0xc000c745a0, 0xf797a0, 0xc000e75f80) /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