goroutine profile: total 16 2 @ 0x4892c1 1 @ 0x41a769 0x4830a9 0xe0d2d3 0x4892c1 # 0x4830a8 os/signal.signal_recv+0x28 runtime/sigqueue.go:152 # 0xe0d2d2 os/signal.loop+0x12 os/signal/signal_unix.go:23 1 @ 0x4263bc 0x41c9af 0x47e825 0x41d325 0x8be5b6 0x8be5aa 0x8bd8e5 0x13ed2ea 0x13edd9a 0x858ee9 0x85adc7 0x87984e 0x856fe5 0x4892c1 # 0x8be5b5 text/tabwriter.NewWriter+0x5d5 text/tabwriter/tabwriter.go:600 # 0x8be5a9 runtime/pprof.printCountProfile+0x5c9 runtime/pprof/pprof.go:486 # 0x8bd8e4 runtime/pprof.(*Profile).WriteTo+0x2e4 runtime/pprof/pprof.go:385 # 0x13ed2e9 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:272 # 0x13edd99 net/http/pprof.Index+0xd9 net/http/pprof/pprof.go:389 # 0x858ee8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2322 # 0x85adc6 net/http.(*ServeMux).ServeHTTP+0x1c6 net/http/server.go:2861 # 0x87984d net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3340 # 0x856fe4 net/http.(*conn).serve+0x664 net/http/server.go:2109 1 @ 0x43f971 0x47fedd 0x8c0ad1 0x8c08e5 0x8bd74b 0x13ed2ea 0x13edd9a 0x858ee9 0x85adc7 0x87984e 0x856fe5 0x4892c1 # 0x8c0ad0 runtime/pprof.writeRuntimeProfile+0xb0 runtime/pprof/pprof.go:788 # 0x8c08e4 runtime/pprof.writeGoroutine+0x44 runtime/pprof/pprof.go:747 # 0x8bd74a runtime/pprof.(*Profile).WriteTo+0x14a runtime/pprof/pprof.go:371 # 0x13ed2e9 net/http/pprof.handler.ServeHTTP+0x529 net/http/pprof/pprof.go:272 # 0x13edd99 net/http/pprof.Index+0xd9 net/http/pprof/pprof.go:389 # 0x858ee8 net/http.HandlerFunc.ServeHTTP+0x28 net/http/server.go:2322 # 0x85adc6 net/http.(*ServeMux).ServeHTTP+0x1c6 net/http/server.go:2861 # 0x87984d net/http.serverHandler.ServeHTTP+0x8d net/http/server.go:3340 # 0x856fe4 net/http.(*conn).serve+0x664 net/http/server.go:2109 1 @ 0x48110e 0x414fb3 0x414b12 0x10eaa45 0x142a7b3 0x1428d15 0x44ab1d 0x4892c1 # 0x10eaa44 github.com/FerretDB/FerretDB/internal/clientconn.(*Listener).Run+0x1e4 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:196 # 0x142a7b2 main.run+0x12d2 github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:580 # 0x1428d14 main.main+0x74 github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:226 # 0x44ab1c runtime.main+0x29c runtime/proc.go:285 1 @ 0x48110e 0x414fb3 0x414b12 0x14260fc 0x142b4bc 0x4892c1 # 0x14260fb github.com/FerretDB/FerretDB/internal/util/debug.(*Handler).Serve+0x69b github.com/FerretDB/FerretDB/internal/util/debug/debug.go:324 # 0x142b4bb main.run.func3+0x33b github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:458 1 @ 0x48110e 0x414fb3 0x414b12 0x142b5f5 0x4892c1 # 0x142b5f4 main.run.func2+0x34 github.com/FerretDB/FerretDB/cmd/ferretdb/main.go:418 1 @ 0x48110e 0x443377 0x4802e5 0x505b07 0x50af2c 0x50af1a 0x72d9e9 0x744e5b 0x744030 0x10eb00f 0x10eae8a 0x4892c1 # 0x4802e4 internal/poll.runtime_pollWait+0x84 runtime/netpoll.go:351 # 0x505b06 internal/poll.(*pollDesc).wait+0x26 internal/poll/fd_poll_runtime.go:84 # 0x50af2b internal/poll.(*pollDesc).waitRead+0x28b internal/poll/fd_poll_runtime.go:89 # 0x50af19 internal/poll.(*FD).Accept+0x279 internal/poll/fd_unix.go:613 # 0x72d9e8 net.(*netFD).accept+0x28 net/fd_unix.go:161 # 0x744e5a net.(*TCPListener).accept+0x1a net/tcpsock_posix.go:159 # 0x74402f net.(*TCPListener).Accept+0x2f net/tcpsock.go:380 # 0x10eb00e github.com/FerretDB/FerretDB/internal/clientconn.acceptLoop+0x6e github.com/FerretDB/FerretDB/internal/clientconn/listener.go:224 # 0x10eae89 github.com/FerretDB/FerretDB/internal/clientconn.(*Listener).Run.func1+0x69 github.com/FerretDB/FerretDB/internal/clientconn/listener.go:166 1 @ 0x48110e 0x443377 0x4802e5 0x505b07 0x50af2c 0x50af1a 0x72d9e9 0x744e5b 0x744030 0x85c98c 0x142648a 0x4892c1 # 0x4802e4 internal/poll.runtime_pollWait+0x84 runtime/netpoll.go:351 # 0x505b06 internal/poll.(*pollDesc).wait+0x26 internal/poll/fd_poll_runtime.go:84 # 0x50af2b internal/poll.(*pollDesc).waitRead+0x28b internal/poll/fd_poll_runtime.go:89 # 0x50af19 internal/poll.(*FD).Accept+0x279 internal/poll/fd_unix.go:613 # 0x72d9e8 net.(*netFD).accept+0x28 net/fd_unix.go:161 # 0x744e5a net.(*TCPListener).accept+0x1a net/tcpsock_posix.go:159 # 0x74402f net.(*TCPListener).Accept+0x2f net/tcpsock.go:380 # 0x85c98b net/http.(*Server).Serve+0x30b net/http/server.go:3463 # 0x1426489 github.com/FerretDB/FerretDB/internal/util/debug.(*Handler).Serve.func2+0x49 github.com/FerretDB/FerretDB/internal/util/debug/debug.go:319 1 @ 0x48110e 0x45dad7 0x140acad 0x4892c1 # 0x140acac github.com/arl/statsviz.(*Server).init.func1+0x12c github.com/arl/statsviz@v0.8.1/statsviz.go:147 1 @ 0x48110e 0x45dad7 0xc838e7 0x4892c1 # 0xc838e6 database/sql.(*DB).connectionOpener+0x86 database/sql/sql.go:1261 1 @ 0x48110e 0x45dad7 0xe0ce06 0x4892c1 # 0xe0ce05 os/signal.NotifyContext.func1+0x65 os/signal/signal.go:289 1 @ 0x48110e 0x45dad7 0xf535fe 0xf522e9 0x4892c1 # 0xf535fd github.com/FerretDB/FerretDB/internal/handler.(*Handler).runCappedCleanup+0x1dd github.com/FerretDB/FerretDB/internal/handler/handler.go:400 # 0xf522e8 github.com/FerretDB/FerretDB/internal/handler.New.func1+0x48 github.com/FerretDB/FerretDB/internal/handler/handler.go:221 1 @ 0x48110e 0x45dad7 0xf539de 0xf52209 0x4892c1 # 0xf539dd github.com/FerretDB/FerretDB/internal/handler.(*Handler).runTTLCleanup+0x1dd github.com/FerretDB/FerretDB/internal/handler/handler.go:426 # 0xf52208 github.com/FerretDB/FerretDB/internal/handler.New.func2+0x48 github.com/FerretDB/FerretDB/internal/handler/handler.go:229 1 @ 0x48110e 0x45dad7 0xf95d11 0xf52129 0x4892c1 # 0xf95d10 github.com/FerretDB/FerretDB/internal/handler.(*Handler).runSelfRegulation+0x250 github.com/FerretDB/FerretDB/internal/handler/selfregulate.go:224 # 0xf52128 github.com/FerretDB/FerretDB/internal/handler.New.func3+0x48 github.com/FerretDB/FerretDB/internal/handler/handler.go:237