goroutine 73 [running]: runtime/pprof.writeGoroutineStacks(0x7fca20068c58, 0xc000208050, 0x30, 0xc00029c000) /usr/local/go/src/runtime/pprof/pprof.go:679 +0x9d runtime/pprof.writeGoroutine(0x7fca20068c58, 0xc000208050, 0x2, 0xafb021bd, 0xbdede0d9ba9f097) /usr/local/go/src/runtime/pprof/pprof.go:668 +0x44 runtime/pprof.(*Profile).WriteTo(0x14fb140, 0x7fca20068c58, 0xc000208050, 0x2, 0xc000208050, 0xc00020a500) /usr/local/go/src/runtime/pprof/pprof.go:329 +0x3da net/http/pprof.handler.ServeHTTP(0xe3634e, 0x9, 0xf74460, 0xc000208050, 0xc000322200) /usr/local/go/src/net/http/pprof/pprof.go:245 +0x33a net/http.HandlerFunc.ServeHTTP(0xc00020a500, 0xf74460, 0xc000208050, 0xc000322200) /usr/local/go/src/net/http/server.go:2007 +0x44 net/http.(*ServeMux).ServeHTTP(0xc0012342c0, 0xf74460, 0xc000208050, 0xc000322200) /usr/local/go/src/net/http/server.go:2387 +0x1bd github.com/zew/rentomat/wrap.(*logAndRecover).ServeHTTP.func1(0xc00039eec0, 0x17, 0xf74460, 0xc000208050, 0xc000322200, 0xc000033860) /workspace/wrap/handler-wrap-recover.go:117 +0xd6 github.com/zew/rentomat/wrap.(*logAndRecover).ServeHTTP(0xc000033860, 0xf74460, 0xc000208050, 0xc000322200) /workspace/wrap/handler-wrap-recover.go:118 +0x4c1 github.com/alexedwards/scs/v2.(*SessionManager).LoadAndSave.func1(0xf77560, 0xc0012320e0, 0xc0003aea00) /layers/google.go.gomod/gopath/pkg/mod/github.com/alexedwards/scs/v2@v2.3.0/session.go:144 +0x205 net/http.HandlerFunc.ServeHTTP(0xc00020a660, 0xf77560, 0xc0012320e0, 0xc0003aea00) /usr/local/go/src/net/http/server.go:2007 +0x44 net/http.(*ServeMux).ServeHTTP(0xc001234400, 0xf77560, 0xc0012320e0, 0xc0003aea00) /usr/local/go/src/net/http/server.go:2387 +0x1bd net/http.serverHandler.ServeHTTP(0xc001232000, 0xf77560, 0xc0012320e0, 0xc0003aea00) /usr/local/go/src/net/http/server.go:2802 +0xa4 net/http.(*conn).serve(0xc00038b540, 0xf797a0, 0xc001235f40) /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(0x7fca1ffe7c38, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc0002bd418, 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(0xc0002bd400, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:384 +0x1f8 net.(*netFD).accept(0xc0002bd400, 0xc0003f1b18, 0x6e9c74, 0xc0012320a0) /usr/local/go/src/net/fd_unix.go:238 +0x42 net.(*TCPListener).accept(0xc0001767c0, 0x696ed699, 0xc0003f1b18, 0x4d4146) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc0001767c0, 0xc0003f1b68, 0x18, 0xc000000180, 0x6e91a4) /usr/local/go/src/net/tcpsock.go:261 +0x47 net/http.(*Server).Serve(0xc001232000, 0xf772a0, 0xc0001767c0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2896 +0x280 net/http.(*Server).ListenAndServe(0xc001232000, 0xc001232000, 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(0xc0000a6aa0) /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 8 [select]: github.com/alexedwards/scs/v2/memstore.(*MemStore).startCleanup(0xc00027a510, 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 15 [select]: net/http.(*persistConn).writeLoop(0xc0002d97a0) /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 12 [IO wait]: internal/poll.runtime_pollWait(0x7fca1ffe7ea8, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc000110518, 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(0xc000110500, 0xc0003ac000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc000110500, 0xc0003ac000, 0x1000, 0x1000, 0x4331ec, 0xc000065b20, 0x45d390) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc0000108e8, 0xc0003ac000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 net/http.(*persistConn).Read(0xc0002290e0, 0xc0003ac000, 0x1000, 0x1000, 0xc000036840, 0xc000065c20, 0x406955) /usr/local/go/src/net/http/transport.go:1758 +0x75 bufio.(*Reader).fill(0xc0000a14a0) /usr/local/go/src/bufio/bufio.go:100 +0x103 bufio.(*Reader).Peek(0xc0000a14a0, 0x1, 0x0, 0x0, 0x1, 0xc000036800, 0x0) /usr/local/go/src/bufio/bufio.go:138 +0x4f net/http.(*persistConn).readLoop(0xc0002290e0) /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 13 [select]: net/http.(*persistConn).writeLoop(0xc0002290e0) /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 14 [IO wait]: internal/poll.runtime_pollWait(0x7fca1ffe7dd8, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc0002bc218, 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(0xc0002bc200, 0xc0003b8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc0002bc200, 0xc0003b8000, 0x1000, 0x1000, 0x4331ec, 0xc000062b20, 0x45d390) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc0000108f0, 0xc0003b8000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 net/http.(*persistConn).Read(0xc0002d97a0, 0xc0003b8000, 0x1000, 0x1000, 0xc0002944e0, 0xc000062c20, 0x406955) /usr/local/go/src/net/http/transport.go:1758 +0x75 bufio.(*Reader).fill(0xc0000a1560) /usr/local/go/src/bufio/bufio.go:100 +0x103 bufio.(*Reader).Peek(0xc0000a1560, 0x1, 0x0, 0x0, 0x1, 0xc000036400, 0x0) /usr/local/go/src/bufio/bufio.go:138 +0x4f net/http.(*persistConn).readLoop(0xc0002d97a0) /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 53 [runnable]: math/rand.read(0xc00a282000, 0x1000000, 0x1000000, 0xc000146da8, 0xc00008e170, 0xc00008e178, 0x47d58c, 0x14fa4c0, 0xc0004ce080) /usr/local/go/src/math/rand/rand.go:272 +0x64 math/rand.(*lockedSource).read(0xc00000e060, 0xc00a282000, 0x1000000, 0x1000000, 0xc00008e170, 0xc00008e178, 0xc000146e28, 0x4d4146, 0x696ed699) /usr/local/go/src/math/rand/rand.go:410 +0xbf math/rand.(*Rand).Read(0xc00008e150, 0xc00a282000, 0x1000000, 0x1000000, 0xc000146ec8, 0x3, 0x3) /usr/local/go/src/math/rand/rand.go:262 +0x7b math/rand.Read(...) /usr/local/go/src/math/rand/rand.go:351 github.com/zew/rentomat/rands.create(0xf669a0, 0xc0001be3f0, 0x1000000, 0xc009282000, 0x1000000, 0x1000000, 0x0, 0x0) /workspace/rands/randoms.go:77 +0x233 github.com/zew/rentomat/rands.init.0.func1() /workspace/rands/randoms.go:103 +0xd7 created by github.com/zew/rentomat/rands.init.0 /workspace/rands/randoms.go:96 +0x35 goroutine 36 [IO wait]: internal/poll.runtime_pollWait(0x7fca1ffe7d08, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc0002bcd18, 0x72, 0x1400, 0x1425, 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(0xc0002bcd00, 0xc000164000, 0x1425, 0x1425, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc0002bcd00, 0xc000164000, 0x1425, 0x1425, 0x203000, 0x439fb8, 0xc0002a9080) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc0000100e8, 0xc000164000, 0x1425, 0x1425, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 crypto/tls.(*atLeastReader).Read(0xc000176ce0, 0xc000164000, 0x1425, 0x1425, 0x27, 0x0, 0xc000151970) /usr/local/go/src/crypto/tls/conn.go:780 +0x60 bytes.(*Buffer).ReadFrom(0xc0000573d8, 0xf66ae0, 0xc000176ce0, 0x40c285, 0xd206c0, 0xe04fa0) /usr/local/go/src/bytes/buffer.go:204 +0xb4 crypto/tls.(*Conn).readFromUntil(0xc000057180, 0xf67b00, 0xc0000100e8, 0x5, 0xc0000100e8, 0x5) /usr/local/go/src/crypto/tls/conn.go:802 +0xec crypto/tls.(*Conn).readRecordOrCCS(0xc000057180, 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(0xc000057180, 0xc0001b9000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/crypto/tls/conn.go:1255 +0x161 bufio.(*Reader).Read(0xc0012175c0, 0xc0012336f8, 0x9, 0x9, 0x11, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:226 +0x26a io.ReadAtLeast(0xf66940, 0xc0012175c0, 0xc0012336f8, 0x9, 0x9, 0x9, 0xc000151d20, 0xc000151df0, 0x6ce8ea) /usr/local/go/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/local/go/src/io/io.go:329 net/http.http2readFrameHeader(0xc0012336f8, 0x9, 0x9, 0xf66940, 0xc0012175c0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/h2_bundle.go:1477 +0x87 net/http.(*http2Framer).ReadFrame(0xc0012336c0, 0xc0003035a0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/h2_bundle.go:1735 +0xa1 net/http.(*http2clientConnReadLoop).run(0xc000151fb8, 0x100010000, 0x0) /usr/local/go/src/net/http/h2_bundle.go:8175 +0x8e net/http.(*http2ClientConn).readLoop(0xc00029b080) /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 78 [runnable]: net/http.(*connReader).backgroundRead(0xc00027b920) /usr/local/go/src/net/http/server.go:676 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:673 +0xd4