goroutine 1108265 [running]: runtime/pprof.writeGoroutineStacks({0x27a92c8, 0x3164caa30000}) runtime/pprof/pprof.go:816 +0x69 runtime/pprof.writeGoroutine({0x27a92c8?, 0x3164caa30000?}, 0x3164caa6b760?) runtime/pprof/pprof.go:779 +0x25 runtime/pprof.(*Profile).WriteTo(0x2a54a30?, {0x27a92c8?, 0x3164caa30000?}, 0xc?) runtime/pprof/pprof.go:405 +0x149 net/http/pprof.handler.ServeHTTP({0x3164cabaa0d1, 0x9}, {0x27b7218, 0x3164caa30000}, 0x3164ca7363c0) net/http/pprof/pprof.go:272 +0x554 net/http/pprof.Index({0x27b7218, 0x3164caa30000}, 0x3164ca7363c0?) net/http/pprof/pprof.go:391 +0xdc net/http.HandlerFunc.ServeHTTP(0x2a859c0?, {0x27b7218?, 0x3164caa30000?}, 0xaf7d3a?) net/http/server.go:2358 +0x29 net/http.(*ServeMux).ServeHTTP(0x48dab9?, {0x27b7218, 0x3164caa30000}, 0x3164ca7363c0) net/http/server.go:2923 +0x1cf net/http.serverHandler.ServeHTTP({0x3164caae1640?}, {0x27b7218?, 0x3164caa30000?}, 0x1?) net/http/server.go:3436 +0x8e net/http.(*conn).serve(0x3164ca6a4990, {0x27ba170, 0x3164ca6f4cf0}) net/http/server.go:2157 +0x6dc created by net/http.(*Server).Serve in goroutine 57 net/http/server.go:3604 +0x4fd goroutine 1 [chan receive, 1044 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*Listener).Run(0x3164ca6720c0, {0x27ba720, 0x3164caa5f0c0}) github.com/FerretDB/FerretDB/internal/clientconn/listener.go:196 +0x212 main.run() github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:604 +0x12e5 main.main() github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:234 +0x75 goroutine 23 [syscall, 1044 minutes]: os/signal.signal_recv() runtime/sigqueue.go:152 +0x98 os/signal.loop() os/signal/signal_unix.go:23 +0x13 created by os/signal.Notify.func2.1 in goroutine 1 os/signal/signal.go:164 +0x1f goroutine 24 [select, 1044 minutes]: os/signal.NotifyContext.func1() os/signal/signal.go:304 +0x7c created by os/signal.NotifyContext in goroutine 1 os/signal/signal.go:303 +0x165 goroutine 25 [chan receive, 1044 minutes]: main.run.func2() github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:440 +0x35 created by main.run in goroutine 1 github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:439 +0x865 goroutine 26 [chan receive, 1044 minutes]: github.com/FerretDB/FerretDB/internal/util/debug.(*Handler).Serve(0x3164ca6f4b70, {0x27ba720, 0x3164caa5f0c0}) github.com/FerretDB/FerretDB/internal/util/debug/debug.go:324 +0x6a6 main.run.func3() github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:480 +0x33f created by main.run in goroutine 1 github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:455 +0x9c9 goroutine 13 [IO wait, 10 minutes]: internal/poll.runtime_pollWait(0x771de12c6000, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca97a380?, 0x3164ca91a000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164ca97a380, {0x3164ca91a000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164ca97a380, {0x3164ca91a000?, 0x4271b3?, 0x3164cac0f4c8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164ca46a0b8, {0x3164ca91a000?, 0x2a87d40?, 0x3164cac0f520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164ca7fe480, {0x3164ca570960, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164ca7fe480}, {0x3164ca570960, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164ca570950, 0x3164ca7fe480) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164ca7fe480) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164ca7fe420, {0x27ba1a8?, 0x3164ca6407d0?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 28 [select, 1044 minutes]: database/sql.(*DB).connectionOpener(0x3164caa831e0, {0x27ba1a8, 0x3164caa801e0}) database/sql/sql.go:1266 +0x89 created by database/sql.OpenDB in goroutine 1 database/sql/sql.go:846 +0x135 goroutine 54 [select]: github.com/arl/statsviz.(*Server).init.func1() github.com/arl/statsviz@v0.8.2/statsviz.go:147 +0x127 created by github.com/arl/statsviz.(*Server).init in goroutine 26 github.com/arl/statsviz@v0.8.2/statsviz.go:141 +0x265 goroutine 57 [IO wait]: internal/poll.runtime_pollWait(0x771de12c6a00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca626280?, 0x100?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0x3164ca626280) internal/poll/fd_unix.go:618 +0x27d net.(*netFD).accept(0x3164ca626280) net/fd_unix.go:149 +0x29 net.(*TCPListener).accept(0x3164ca580880) net/tcpsock_posix.go:159 +0x1b net.(*TCPListener).Accept(0x3164ca580880) net/tcpsock.go:387 +0x30 net/http.(*Server).Serve(0x3164ca822280, {0x27b7038, 0x3164ca580880}) net/http/server.go:3574 +0x379 github.com/FerretDB/FerretDB/internal/util/debug.(*Handler).Serve.func2() github.com/FerretDB/FerretDB/internal/util/debug/debug.go:319 +0x4a created by github.com/FerretDB/FerretDB/internal/util/debug.(*Handler).Serve in goroutine 26 github.com/FerretDB/FerretDB/internal/util/debug/debug.go:318 +0x689 goroutine 29 [select, 1044 minutes]: database/sql.(*DB).connectionOpener(0x3164caa83ad0, {0x27ba1a8, 0x3164caa80690}) database/sql/sql.go:1266 +0x89 created by database/sql.OpenDB in goroutine 1 database/sql/sql.go:846 +0x135 goroutine 30 [select]: github.com/FerretDB/FerretDB/internal/handler.(*Handler).runCappedCleanup(0x3164ca9630e0) github.com/FerretDB/FerretDB/internal/handler/handler.go:424 +0x1da github.com/FerretDB/FerretDB/internal/handler.New.func1() github.com/FerretDB/FerretDB/internal/handler/handler.go:231 +0x49 created by github.com/FerretDB/FerretDB/internal/handler.New in goroutine 1 github.com/FerretDB/FerretDB/internal/handler/handler.go:228 +0x979 goroutine 31 [select]: github.com/FerretDB/FerretDB/internal/handler.(*Handler).runTTLCleanup(0x3164ca9630e0) github.com/FerretDB/FerretDB/internal/handler/handler.go:450 +0x1da github.com/FerretDB/FerretDB/internal/handler.New.func2() github.com/FerretDB/FerretDB/internal/handler/handler.go:239 +0x49 created by github.com/FerretDB/FerretDB/internal/handler.New in goroutine 1 github.com/FerretDB/FerretDB/internal/handler/handler.go:236 +0x9db goroutine 32 [select]: github.com/FerretDB/FerretDB/internal/handler.(*Handler).runSelfRegulation(0x3164ca9630e0) github.com/FerretDB/FerretDB/internal/handler/selfregulate.go:224 +0x266 github.com/FerretDB/FerretDB/internal/handler.New.func3() github.com/FerretDB/FerretDB/internal/handler/handler.go:247 +0x49 created by github.com/FerretDB/FerretDB/internal/handler.New in goroutine 1 github.com/FerretDB/FerretDB/internal/handler/handler.go:244 +0xa3b goroutine 129 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 63 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 71 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 69 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 5 [IO wait, 610 minutes]: internal/poll.runtime_pollWait(0x771de12c6800, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca55e180?, 0x101?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0x3164ca55e180) internal/poll/fd_unix.go:618 +0x27d net.(*netFD).accept(0x3164ca55e180) net/fd_unix.go:149 +0x29 net.(*TCPListener).accept(0x3164ca70c840) net/tcpsock_posix.go:159 +0x1b net.(*TCPListener).Accept(0x3164ca70c840) net/tcpsock.go:387 +0x30 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop({0x27ba720, 0x3164caa5f0c0}, {0x27b7038, 0x3164ca70c840}, 0x3164ca97f1a0, 0x3164ca6720c0) github.com/FerretDB/FerretDB/internal/clientconn/listener.go:224 +0x6f github.com/FerretDB/FerretDB/internal/clientconn.(*Listener).Run.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:166 +0x6a created by github.com/FerretDB/FerretDB/internal/clientconn.(*Listener).Run in goroutine 1 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:160 +0xcc goroutine 70 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 69 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 63 [IO wait, 10 minutes]: internal/poll.runtime_pollWait(0x771de03c5000, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca670800?, 0x3164ca92f000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164ca670800, {0x3164ca92f000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164ca670800, {0x3164ca92f000?, 0x4271b3?, 0x3164cac0b4c8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164ca50a1a8, {0x3164ca92f000?, 0x2a87d40?, 0x3164cac0b520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164ca804840, {0x3164cac84990, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164ca804840}, {0x3164cac84990, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164cac84980, 0x3164ca804840) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164ca804840) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164ca8047e0, {0x27ba1a8?, 0x3164ca640910?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 64 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 63 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 14 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 13 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 44 [IO wait, 438 minutes]: internal/poll.runtime_pollWait(0x771de12c6600, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca9c8f80?, 0x3164ca546000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164ca9c8f80, {0x3164ca546000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164ca9c8f80, {0x3164ca546000?, 0x4271b3?, 0x3164ca5774c8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164caa48028, {0x3164ca546000?, 0x3164ca490808?, 0x3164ca577520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164ca9bc840, {0x3164ca7fb680, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164ca9bc840}, {0x3164ca7fb680, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164ca7fb650, 0x3164ca9bc840) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164ca9bc840) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164ca9bc7e0, {0x27ba1a8?, 0x3164ca77e3c0?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 45 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 44 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 69 [IO wait]: internal/poll.runtime_pollWait(0x771de12c6400, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca8dc000?, 0x3164ca5e4000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164ca8dc000, {0x3164ca5e4000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164ca8dc000, {0x3164ca5e4000?, 0x4271b3?, 0x3164ca9054c8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164ca50a008, {0x3164ca5e4000?, 0x2a87d40?, 0x3164ca905520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164ca8f2540, {0x3164ca7627a0, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164ca8f2540}, {0x3164ca7627a0, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164ca762760, 0x3164ca8f2540) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164ca8f2540) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164ca8f24e0, {0x27ba1a8?, 0x3164ca8ec3c0?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 75 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 16 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 72 [IO wait]: internal/poll.runtime_pollWait(0x771de12c6200, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca8dc580?, 0x3164ca8fb000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164ca8dc580, {0x3164ca8fb000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164ca8dc580, {0x3164ca8fb000?, 0x4271b3?, 0x3164ca9074c8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164ca50a010, {0x3164ca8fb000?, 0x2a87d40?, 0x3164ca907520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164ca8f2600, {0x3164ca762e80, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164ca8f2600}, {0x3164ca762e80, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164ca762e70, 0x3164ca8f2600) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164ca8f2600) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164ca8f25a0, {0x27ba1a8?, 0x3164ca8ec460?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 73 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 72 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 74 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 72 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 46 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 44 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 15 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 13 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 16 [IO wait]: internal/poll.runtime_pollWait(0x771de12c5e00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca97a480?, 0x3164ca8fd000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164ca97a480, {0x3164ca8fd000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164ca97a480, {0x3164ca8fd000?, 0x4271b3?, 0x3164cac074c8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164ca46a0e8, {0x3164ca8fd000?, 0x3164ca490808?, 0x3164cac07520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164ca8f26c0, {0x3164cac85040, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164ca8f26c0}, {0x3164cac85040, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164cac85030, 0x3164ca8f26c0) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164ca8f26c0) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164ca8f2660, {0x27ba1a8?, 0x3164ca8ec500?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 76 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 16 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 109 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 133 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 103 [IO wait, 10 minutes]: internal/poll.runtime_pollWait(0x771de03c5200, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca670d80?, 0x3164ca74c000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164ca670d80, {0x3164ca74c000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164ca670d80, {0x3164ca74c000?, 0x4270a8?, 0x10?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164ca46a100, {0x3164ca74c000?, 0x3164caf0f9c4?, 0x3164cab4d520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164ca8f31a0, {0x3164caf0f9e0, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164ca8f31a0}, {0x3164caf0f9e0, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164caf0f9d0, 0x3164ca8f31a0) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164ca8f31a0) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164ca8f3140, {0x27ba1a8?, 0x3164ca8eca00?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 98 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 79 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 115 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 103 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 97 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 79 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 79 [IO wait]: internal/poll.runtime_pollWait(0x771de12c5c00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca8dd600?, 0x3164ca91c000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164ca8dd600, {0x3164ca91c000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164ca8dd600, {0x3164ca91c000?, 0x4271b3?, 0x3164ca5eb4c8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164ca50a048, {0x3164ca91c000?, 0x2a87d40?, 0x3164ca5eb520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164ca7fe540, {0x3164ca763280, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164ca7fe540}, {0x3164ca763280, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164ca763260, 0x3164ca7fe540) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164ca7fe540) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164ca7fe4e0, {0x27ba1a8?, 0x3164ca640870?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 113 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 80 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 80 [select]: github.com/FerretDB/FerretDB/internal/handler.(*Handler).awaitData(0x3164ca9630e0, {0x27ba170, 0x3164ca9678c0}, 0x3164cac8d280) github.com/FerretDB/FerretDB/internal/handler/msg_getmore.go:394 +0x3b6 github.com/FerretDB/FerretDB/internal/handler.(*Handler).MsgGetMore(0x3164ca9630e0, {0x27ba170, 0x3164ca9678c0}, 0x0?) github.com/FerretDB/FerretDB/internal/handler/msg_getmore.go:252 +0x1236 github.com/FerretDB/FerretDB/internal/handler.(*Handler).initCommands.func2({0x27ba170, 0x3164ca9678c0}, 0x3164caa84220) github.com/FerretDB/FerretDB/internal/handler/commands.go:369 +0x62 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).handleOpMsg(0x0?, {0x27ba170, 0x3164ca9678c0}, 0x3164caa84220, {0x3164cac85808, 0x7}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:583 +0x70 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).route(0x3164ca8f3080, {0x27ba170, 0x3164ca7766c0}, 0x3164cac85810, {0x27beae0, 0x3164caa84220}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:436 +0x6da github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164ca8f3080, {0x27ba1a8?, 0x3164ca8ec960?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:286 +0xde5 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 87 [IO wait, 10 minutes]: internal/poll.runtime_pollWait(0x771de03c5800, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164caa65080?, 0x3164ca7c9000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164caa65080, {0x3164ca7c9000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164caa65080, {0x3164ca7c9000?, 0x4271b3?, 0x3164cac034c8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164caa48060, {0x3164ca7c9000?, 0x2a87d40?, 0x3164cac03520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164ca6e1140, {0x3164cac84130, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164ca6e1140}, {0x3164cac84130, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164cac84120, 0x3164ca6e1140) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164ca6e1140) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164ca6e10e0, {0x27ba1a8?, 0x3164ca77f360?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 88 [IO wait]: internal/poll.runtime_pollWait(0x771de03c5600, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164caa65100?, 0x3164ca7b7000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164caa65100, {0x3164ca7b7000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164caa65100, {0x3164ca7b7000?, 0x4271b3?, 0x3164cac894c8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164caa48068, {0x3164ca7b7000?, 0x3164ca490808?, 0x3164cac89520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164ca6e1080, {0x3164cac847b0, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164ca6e1080}, {0x3164cac847b0, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164cac847a0, 0x3164ca6e1080) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164ca6e1080) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164ca6e1020, {0x27ba1a8?, 0x3164ca77f2c0?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 89 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 88 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 90 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 88 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 91 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 87 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 92 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 87 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 114 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 80 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 116 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 103 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 108 [select, 1044 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 133 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 133 [IO wait, 10 minutes]: internal/poll.runtime_pollWait(0x771de03c4e00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca9c8680?, 0x3164ca573000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164ca9c8680, {0x3164ca573000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164ca9c8680, {0x3164ca573000?, 0x4271b3?, 0x3164cabd14c8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164ca50a1b0, {0x3164ca573000?, 0x2a87d40?, 0x3164cabd1520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164ca6733e0, {0x3164ca762870, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164ca6733e0}, {0x3164ca762870, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164ca762860, 0x3164ca6733e0) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164ca6733e0) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164ca673380, {0x27ba1a8?, 0x3164ca77e4b0?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 15645 [IO wait, 10 minutes]: internal/poll.runtime_pollWait(0x771de03c4a00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca55f580?, 0x3164cab9c000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164ca55f580, {0x3164cab9c000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164ca55f580, {0x3164cab9c000?, 0x4271b3?, 0x3164ca57b4c8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164caa480e0, {0x3164cab9c000?, 0x3164ca4e2808?, 0x3164ca57b520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164cab8f680, {0x3164ca7fa350, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164cab8f680}, {0x3164ca7fa350, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164ca7fa2e0, 0x3164cab8f680) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164cab8f680) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164cab8f620, {0x27ba1a8?, 0x3164cab82870?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 461462 [IO wait, 370 minutes]: internal/poll.runtime_pollWait(0x771de0be3c00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca626400?, 0x3164ca57d000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164ca626400, {0x3164ca57d000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164ca626400, {0x3164ca57d000?, 0x4271b3?, 0x3164cad154c8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164ca46a078, {0x3164ca57d000?, 0x2a87d40?, 0x3164cad15520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164cae09b00, {0x3164ca571730, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164cae09b00}, {0x3164ca571730, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164ca571700, 0x3164cae09b00) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164cae09b00) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164cae09aa0, {0x27ba1a8?, 0x3164cad0a280?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 15606 [select, 1030 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 15605 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 15713 [select, 1030 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 15616 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 15646 [select, 1030 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 15645 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 1107615 [select]: github.com/FerretDB/FerretDB/internal/clientconn/cursor.(*Registry).NewCursor.func1() github.com/FerretDB/FerretDB/internal/clientconn/cursor/registry.go:159 +0xb1 created by github.com/FerretDB/FerretDB/internal/clientconn/cursor.(*Registry).NewCursor in goroutine 80 github.com/FerretDB/FerretDB/internal/clientconn/cursor/registry.go:156 +0x537 goroutine 461569 [select, 610 minutes]: github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay.func1() github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:37 +0xb5 created by github.com/FerretDB/FerretDB/internal/util/ctxutil.WithDelay in goroutine 461462 github.com/FerretDB/FerretDB/internal/util/ctxutil/ctxutil.go:36 +0xec goroutine 461570 [select, 610 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 461462 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 15607 [select, 1030 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 15605 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 1106680 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x771de0be3600, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164cacb0280?, 0x3164caad6000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164cacb0280, {0x3164caad6000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164cacb0280, {0x3164caad6000?, 0x516380?, 0x3164cacb0280?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164ca602190, {0x3164caad6000?, 0x0?, 0x72?}) net/net.go:196 +0x45 net/http.(*connReader).Read(0x3164cab19980, {0x3164caad6000, 0x1000, 0x1000}) net/http/server.go:856 +0x150 bufio.(*Reader).fill(0x3164caa4e9c0) bufio/bufio.go:113 +0x103 bufio.(*Reader).Peek(0x3164caa4e9c0, 0x4) bufio/bufio.go:152 +0x52 net/http.(*conn).serve(0x3164ca6a4870, {0x27ba170, 0x3164ca6f4cf0}) net/http/server.go:2193 +0x833 created by net/http.(*Server).Serve in goroutine 57 net/http/server.go:3604 +0x4fd goroutine 15605 [IO wait]: internal/poll.runtime_pollWait(0x771de03c4c00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca97ab80?, 0x3164ca7b6000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164ca97ab80, {0x3164ca7b6000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164ca97ab80, {0x3164ca7b6000?, 0x4271b3?, 0x3164cad114c8?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164ca602120, {0x3164ca7b6000?, 0x3164ca4e2808?, 0x3164cad11520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164cab43c20, {0x3164cac85770, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164cab43c20}, {0x3164cac85770, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164cac85760, 0x3164cab43c20) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164cab43c20) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164cab43bc0, {0x27ba1a8?, 0x3164ca544a00?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 15616 [IO wait, 10 minutes]: internal/poll.runtime_pollWait(0x771de0be3e00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca9c8980?, 0x3164ca572000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164ca9c8980, {0x3164ca572000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164ca9c8980, {0x3164ca572000?, 0x4270a8?, 0x10?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164caa48038, {0x3164ca572000?, 0x3164caf0f214?, 0x3164cabd5520?}) net/net.go:196 +0x45 bufio.(*Reader).Read(0x3164ca9bcd80, {0x3164caf0f230, 0x10, 0x493429?}) bufio/bufio.go:245 +0x193 io.ReadAtLeast({0x27a83a8, 0x3164ca9bcd80}, {0x3164caf0f230, 0x10, 0x10}, 0x10) io/io.go:335 +0x83 io.ReadFull(...) io/io.go:354 github.com/FerretDB/wire.(*MsgHeader).readFrom(0x3164caf0f220, 0x3164ca9bcd80) github.com/FerretDB/wire@v0.1.7/msg_header.go:64 +0x65 github.com/FerretDB/wire.ReadMessage(0x3164ca9bcd80) github.com/FerretDB/wire@v0.1.7/msg_body.go:61 +0x50 github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run(0x3164ca9bcd20, {0x27ba1a8?, 0x3164ca77f5e0?}) github.com/FerretDB/FerretDB/internal/clientconn/conn.go:256 +0xbb6 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop.func1() github.com/FerretDB/FerretDB/internal/clientconn/listener.go:294 +0x57f created by github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop in goroutine 5 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:244 +0x185 goroutine 15714 [select, 1030 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 15616 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 1106691 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x771de0be3a00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0x3164ca670a80?, 0x3164ca869000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x3164ca670a80, {0x3164ca869000, 0x1000, 0x1000}) internal/poll/fd_unix.go:170 +0x2a8 net.(*netFD).Read(0x3164ca670a80, {0x3164ca869000?, 0x407d3c?, 0x2597c48?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164ca50a220, {0x3164ca869000?, 0x3164ca9901e0?, 0x2596680?}) net/net.go:196 +0x45 net/http.(*persistConn).Read(0x3164ca976640, {0x3164ca869000?, 0x27a7c68?, 0x2a4bf40?}) net/http/transport.go:2300 +0x47 bufio.(*Reader).fill(0x3164caa103c0) bufio/bufio.go:113 +0x103 bufio.(*Reader).Peek(0x3164caa103c0, 0x1) bufio/bufio.go:152 +0x52 net/http.(*persistConn).readLoop(0x3164ca976640) net/http/transport.go:2493 +0x17e created by net/http.(*Transport).dialConn in goroutine 1106690 net/http/transport.go:2123 +0x1da5 goroutine 15647 [select, 1030 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run.func2() github.com/FerretDB/FerretDB/internal/clientconn/conn.go:161 +0x85 created by github.com/FerretDB/FerretDB/internal/clientconn.(*conn).run in goroutine 15645 github.com/FerretDB/FerretDB/internal/clientconn/conn.go:160 +0x257 goroutine 1108266 [runnable]: syscall.Syscall(0x0, 0x29, 0x3164caae1661, 0x1) syscall/syscall_linux.go:74 +0x25 syscall.read(0x3164ca55f380?, {0x3164caae1661?, 0x2669800?, 0x3164ca89fee8?}) syscall/zsyscall_linux_amd64.go:736 +0x38 syscall.Read(...) syscall/syscall_unix.go:183 internal/poll.ignoringEINTRIO(...) internal/poll/fd_unix.go:743 internal/poll.(*FD).Read(0x3164ca55f380, {0x3164caae1661, 0x1, 0x1}) internal/poll/fd_unix.go:166 +0x214 net.(*netFD).Read(0x3164ca55f380, {0x3164caae1661?, 0x3164ca89ff98?, 0x3164ca89ff80?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0x3164caa482e8, {0x3164caae1661?, 0x3164ca6b2620?, 0x3164ca99ca10?}) net/net.go:196 +0x45 net/http.(*connReader).backgroundRead(0x3164caae1640) net/http/server.go:746 +0x32 created by net/http.(*connReader).startBackgroundRead in goroutine 1108265 net/http/server.go:742 +0xba goroutine 1106692 [select, 1 minutes]: net/http.(*persistConn).writeLoop(0x3164ca976640) net/http/transport.go:2833 +0xe6 created by net/http.(*Transport).dialConn in goroutine 1106690 net/http/transport.go:2124 +0x1e05