goroutine 282940 [running]: runtime/pprof.writeGoroutineStacks({0x1a8d900, 0xc0006f60f0}) runtime/pprof/pprof.go:756 +0x6b runtime/pprof.writeGoroutine({0x1a8d900?, 0xc0006f60f0?}, 0x40?) runtime/pprof/pprof.go:745 +0x25 runtime/pprof.(*Profile).WriteTo(0x28d6190?, {0x1a8d900?, 0xc0006f60f0?}, 0xc?) runtime/pprof/pprof.go:371 +0x14b net/http/pprof.handler.ServeHTTP({0xc0003d9181, 0x9}, {0x1a9c0c0, 0xc0006f60f0}, 0xc0006f4140) net/http/pprof/pprof.go:272 +0x52a net/http/pprof.Index({0x1a9c0c0, 0xc0006f60f0}, 0xc0006f4140?) net/http/pprof/pprof.go:389 +0xda net/http.HandlerFunc.ServeHTTP(0x2906e60?, {0x1a9c0c0?, 0xc0006f60f0?}, 0x851316?) net/http/server.go:2322 +0x29 net/http.(*ServeMux).ServeHTTP(0x47dc39?, {0x1a9c0c0, 0xc0006f60f0}, 0xc0006f4140) net/http/server.go:2861 +0x1c7 net/http.serverHandler.ServeHTTP({0xc0018a4140?}, {0x1a9c0c0?, 0xc0006f60f0?}, 0x1?) net/http/server.go:3340 +0x8e net/http.(*conn).serve(0xc000284360, {0x1a9eeb8, 0xc000301650}) net/http/server.go:2109 +0x665 created by net/http.(*Server).Serve in goroutine 42 net/http/server.go:3493 +0x485 goroutine 1 [chan receive, 10926 minutes]: github.com/FerretDB/FerretDB/internal/clientconn.(*Listener).Run(0xc0002d1380, {0x1a9f710, 0xc000215bc0}) github.com/FerretDB/FerretDB/internal/clientconn/listener.go:196 +0x1e5 main.run() github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:580 +0x12d3 main.main() github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:226 +0x75 goroutine 14 [syscall, 10926 minutes]: os/signal.signal_recv() runtime/sigqueue.go:152 +0x29 os/signal.loop() os/signal/signal_unix.go:23 +0x13 created by os/signal.Notify.func1.1 in goroutine 1 os/signal/signal.go:152 +0x1f goroutine 15 [select, 10926 minutes]: os/signal.NotifyContext.func1() os/signal/signal.go:289 +0x66 created by os/signal.NotifyContext in goroutine 1 os/signal/signal.go:288 +0x158 goroutine 16 [chan receive, 10926 minutes]: main.run.func2() github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:418 +0x35 created by main.run in goroutine 1 github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:417 +0x85d goroutine 49 [chan receive, 10926 minutes]: github.com/FerretDB/FerretDB/internal/util/debug.(*Handler).Serve(0xc0003014d0, {0x1a9f710, 0xc000215bc0}) github.com/FerretDB/FerretDB/internal/util/debug/debug.go:324 +0x69c main.run.func3() github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:458 +0x33c created by main.run in goroutine 1 github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:433 +0x99d goroutine 39 [select]: github.com/arl/statsviz.(*Server).init.func1() github.com/arl/statsviz@v0.8.1/statsviz.go:147 +0x12d created by github.com/arl/statsviz.(*Server).init in goroutine 49 github.com/arl/statsviz@v0.8.1/statsviz.go:141 +0x259 goroutine 51 [select, 10926 minutes]: database/sql.(*DB).connectionOpener(0xc0003c5930, {0x1a9eef0, 0xc0003ccc80}) database/sql/sql.go:1261 +0x87 created by database/sql.OpenDB in goroutine 1 database/sql/sql.go:841 +0x130 goroutine 42 [IO wait]: internal/poll.runtime_pollWait(0x7116424c6a00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc000320100?, 0x900000036?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc000320100) internal/poll/fd_unix.go:613 +0x28c net.(*netFD).accept(0xc000320100) net/fd_unix.go:161 +0x29 net.(*TCPListener).accept(0xc000304780) net/tcpsock_posix.go:159 +0x1b net.(*TCPListener).Accept(0xc000304780) net/tcpsock.go:380 +0x30 net/http.(*Server).Serve(0xc000358000, {0x1a9be50, 0xc000304780}) net/http/server.go:3463 +0x30c 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 49 github.com/FerretDB/FerretDB/internal/util/debug/debug.go:318 +0x67f goroutine 52 [select]: github.com/FerretDB/FerretDB/internal/handler.(*Handler).runCappedCleanup(0xc00027f650) github.com/FerretDB/FerretDB/internal/handler/handler.go:400 +0x1de github.com/FerretDB/FerretDB/internal/handler.New.func1() github.com/FerretDB/FerretDB/internal/handler/handler.go:221 +0x49 created by github.com/FerretDB/FerretDB/internal/handler.New in goroutine 1 github.com/FerretDB/FerretDB/internal/handler/handler.go:218 +0x7c7 goroutine 53 [select]: github.com/FerretDB/FerretDB/internal/handler.(*Handler).runTTLCleanup(0xc00027f650) github.com/FerretDB/FerretDB/internal/handler/handler.go:426 +0x1de github.com/FerretDB/FerretDB/internal/handler.New.func2() github.com/FerretDB/FerretDB/internal/handler/handler.go:229 +0x49 created by github.com/FerretDB/FerretDB/internal/handler.New in goroutine 1 github.com/FerretDB/FerretDB/internal/handler/handler.go:226 +0x81b goroutine 54 [select]: github.com/FerretDB/FerretDB/internal/handler.(*Handler).runSelfRegulation(0xc00027f650) github.com/FerretDB/FerretDB/internal/handler/selfregulate.go:224 +0x251 github.com/FerretDB/FerretDB/internal/handler.New.func3() github.com/FerretDB/FerretDB/internal/handler/handler.go:237 +0x49 created by github.com/FerretDB/FerretDB/internal/handler.New in goroutine 1 github.com/FerretDB/FerretDB/internal/handler/handler.go:234 +0x86f goroutine 19 [IO wait, 3 minutes]: internal/poll.runtime_pollWait(0x7116424c6800, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0002c1a80?, 0x0?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc0002c1a80) internal/poll/fd_unix.go:613 +0x28c net.(*netFD).accept(0xc0002c1a80) net/fd_unix.go:161 +0x29 net.(*TCPListener).accept(0xc0002bd140) net/tcpsock_posix.go:159 +0x1b net.(*TCPListener).Accept(0xc0002bd140) net/tcpsock.go:380 +0x30 github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop({0x1a9f710, 0xc000215bc0}, {0x1a9be50, 0xc0002bd140}, 0xc0004c8020, 0xc0002d1380) 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 +0xbb goroutine 282966 [runnable]: net/http.(*connReader).startBackgroundRead.gowrap2() net/http/server.go:698 runtime.goexit({}) runtime/asm_amd64.s:1693 +0x1 created by net/http.(*connReader).startBackgroundRead in goroutine 282939 net/http/server.go:698 +0xb6 goroutine 282941 [IO wait]: internal/poll.runtime_pollWait(0x711641ccfc00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc00025c200?, 0xc0018a4161?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc00025c200, {0xc0018a4161, 0x1, 0x1}) internal/poll/fd_unix.go:165 +0x279 net.(*netFD).Read(0xc00025c200, {0xc0018a4161?, 0x28d2c90?, 0xc001875f70?}) net/fd_posix.go:68 +0x25 net.(*conn).Read(0xc000504190, {0xc0018a4161?, 0xc0002c6fc0?, 0xc0006794a0?}) net/net.go:196 +0x45 net/http.(*connReader).backgroundRead(0xc0018a4140) net/http/server.go:702 +0x33 created by net/http.(*connReader).startBackgroundRead in goroutine 282940 net/http/server.go:698 +0xb6 goroutine 282939 [runnable]: text/tabwriter.(*Writer).addLine(0xc001a58580, 0x0) text/tabwriter/tabwriter.go:119 +0x85 text/tabwriter.(*Writer).Write(0xc001a58580, {0xc000314120, 0x3b, 0x120}) text/tabwriter/tabwriter.go:540 +0xc05 fmt.Fprintf({0x1a90720, 0xc001a58580}, {0x180fb15, 0x28}, {0xc0004d96d8, 0x5, 0x5}) fmt/print.go:225 +0x97 runtime/pprof.writeHeapInternal({0x1a8d900, 0xc0005485a0}, 0x1, {0x17e2b77, 0xb}) runtime/pprof/pprof.go:663 +0x44d runtime/pprof.writeAlloc({0x1a8d900?, 0xc0005485a0?}, 0xa?) runtime/pprof/pprof.go:591 +0x29 runtime/pprof.(*Profile).WriteTo(0x28d6190?, {0x1a8d900?, 0xc0005485a0?}, 0xc?) runtime/pprof/pprof.go:371 +0x14b net/http/pprof.handler.ServeHTTP({0xc0003ec881, 0x6}, {0x1a9c0c0, 0xc0005485a0}, 0xc0001ba500) net/http/pprof/pprof.go:272 +0x52a net/http/pprof.Index({0x1a9c0c0, 0xc0005485a0}, 0xc0001ba500?) net/http/pprof/pprof.go:389 +0xda net/http.HandlerFunc.ServeHTTP(0x2906e60?, {0x1a9c0c0?, 0xc0005485a0?}, 0x851316?) net/http/server.go:2322 +0x29 net/http.(*ServeMux).ServeHTTP(0x47dc39?, {0x1a9c0c0, 0xc0005485a0}, 0xc0001ba500) net/http/server.go:2861 +0x1c7 net/http.serverHandler.ServeHTTP({0xc000b84180?}, {0x1a9c0c0?, 0xc0005485a0?}, 0x1?) net/http/server.go:3340 +0x8e net/http.(*conn).serve(0xc0002842d0, {0x1a9eeb8, 0xc000301650}) net/http/server.go:2109 +0x665 created by net/http.(*Server).Serve in goroutine 42 net/http/server.go:3493 +0x485