goroutine 15736917 [running]: runtime/pprof.writeGoroutineStacks({0x557b1470daa0, 0xc00011c1e0}) runtime/pprof/pprof.go:756 +0x6b runtime/pprof.writeGoroutine({0x557b1470daa0?, 0xc00011c1e0?}, 0x75?) runtime/pprof/pprof.go:745 +0x25 runtime/pprof.(*Profile).WriteTo(0x557b14f32ac0?, {0x557b1470daa0?, 0xc00011c1e0?}, 0xc?) runtime/pprof/pprof.go:371 +0x14b net/http/pprof.handler.ServeHTTP({0x557b13f31392, 0x9}, {0x557b14716798, 0xc00011c1e0}, 0xc0001de280) net/http/pprof/pprof.go:272 +0x52a github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0002c69c0, {0x557b14716798, 0xc00011c1e0}, 0xc0001de280) github.com/go-chi/chi/v5@v5.2.1/mux.go:480 +0x2e2 net/http.HandlerFunc.ServeHTTP(0x557b14672de0?, {0x557b14716798?, 0xc00011c1e0?}, 0xd?) net/http/server.go:2322 +0x29 github.com/go-chi/chi/v5/middleware.NoCache.func1({0x557b14716798, 0xc00011c1e0}, 0xc0001de280) github.com/go-chi/chi/v5@v5.2.1/middleware/nocache.go:55 +0x28d net/http.HandlerFunc.ServeHTTP(0xc00072bb30?, {0x557b14716798?, 0xc00011c1e0?}, 0xc000049678?) net/http/server.go:2322 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0002c69c0, {0x557b14716798, 0xc00011c1e0}, 0xc0001de280) github.com/go-chi/chi/v5@v5.2.1/mux.go:73 +0x32f github.com/go-chi/chi/v5.(*Mux).Mount.func1({0x557b14716798, 0xc00011c1e0}, 0xc0001de280) github.com/go-chi/chi/v5@v5.2.1/mux.go:327 +0x1bb net/http.HandlerFunc.ServeHTTP(0xc00011c2d0?, {0x557b14716798?, 0xc00011c1e0?}, 0xc0006d94b8?) net/http/server.go:2322 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0002c6000, {0x557b14716798, 0xc00011c1e0}, 0xc0001de280) github.com/go-chi/chi/v5@v5.2.1/mux.go:480 +0x2e2 net/http.HandlerFunc.ServeHTTP(0xc00072bb30?, {0x557b14716798?, 0xc00011c1e0?}, 0xc000049848?) net/http/server.go:2322 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0002c6000, {0x557b14716798, 0xc00011c1e0}, 0xc0001de280) github.com/go-chi/chi/v5@v5.2.1/mux.go:73 +0x32f github.com/go-chi/chi/v5.(*Mux).Mount.func1({0x557b14716798, 0xc00011c1e0}, 0xc0001de280) github.com/go-chi/chi/v5@v5.2.1/mux.go:327 +0x1bb net/http.HandlerFunc.ServeHTTP(0xc00011c2d0?, {0x557b14716798?, 0xc00011c1e0?}, 0xc000799624?) net/http/server.go:2322 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0002c6a20, {0x557b14716798, 0xc00011c1e0}, 0xc0001de280) github.com/go-chi/chi/v5@v5.2.1/mux.go:480 +0x2e2 net/http.HandlerFunc.ServeHTTP(0xc0004a5720?, {0x557b14716798?, 0xc00011c1e0?}, 0xc0001de280?) net/http/server.go:2322 +0x29 github.com/go-chi/cors.(*Cors).Handler-fm.(*Cors).Handler.func1({0x557b14716798, 0xc00011c1e0}, 0xc0001de280) github.com/go-chi/cors@v1.2.1/cors.go:228 +0x164 net/http.HandlerFunc.ServeHTTP(0x557b14672de0?, {0x557b14716798?, 0xc00011c1e0?}, 0x10?) net/http/server.go:2322 +0x29 github.com/0xERR0R/blocky/server.secureHeadersMiddleware.func1({0x557b14716798?, 0xc00011c1e0?}, 0xc0001de280?) github.com/0xERR0R/blocky/server/http.go:79 +0x312 net/http.HandlerFunc.ServeHTTP(0x557b14718cb0?, {0x557b14716798?, 0xc00011c1e0?}, 0x557b14f2b5e0?) net/http/server.go:2322 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0002c6a20, {0x557b14716798, 0xc00011c1e0}, 0xc0001de140) github.com/go-chi/chi/v5@v5.2.1/mux.go:90 +0x2ee net/http.serverHandler.ServeHTTP({0xc00041fe80?}, {0x557b14716798?, 0xc00011c1e0?}, 0x6?) net/http/server.go:3340 +0x8e net/http.(*conn).serve(0xc0003e6bd0, {0x557b14718c78, 0xc000baf170}) net/http/server.go:2109 +0x665 created by net/http.(*Server).Serve in goroutine 75 net/http/server.go:3493 +0x485 goroutine 1 [chan receive, 15922 minutes]: github.com/0xERR0R/blocky/cmd.startServer(0xc0004a6d00?, {0xc000271c60?, 0x4?, 0x557b13f2ab77?}) github.com/0xERR0R/blocky/cmd/serve.go:79 +0x36b github.com/spf13/cobra.(*Command).execute(0xc0004de008, {0xc000271c40, 0x2, 0x2}) github.com/spf13/cobra@v1.9.1/command.go:1015 +0xb02 github.com/spf13/cobra.(*Command).ExecuteC(0xc000145208) github.com/spf13/cobra@v1.9.1/command.go:1148 +0x465 github.com/spf13/cobra.(*Command).Execute(...) github.com/spf13/cobra@v1.9.1/command.go:1071 github.com/0xERR0R/blocky/cmd.Execute() github.com/0xERR0R/blocky/cmd/root.go:112 +0x18 main.main() github.com/0xERR0R/blocky/main.go:10 +0x13 goroutine 61 [select, 82 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc0002fdfd0?, {0x557b14718cb0, 0xc0000e86e0}, 0xc00036c850?, 0xc000abd430) github.com/0xERR0R/blocky/config/config.go:382 +0xf7 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 github.com/0xERR0R/blocky/config/config.go:365 +0xc6 goroutine 14 [syscall, 15922 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 57 [select, 82 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc0000617d0?, {0x557b14718cb0, 0xc0000e86e0}, 0xc00036c620?, 0xc0001b34a0) github.com/0xERR0R/blocky/config/config.go:382 +0xf7 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 github.com/0xERR0R/blocky/config/config.go:365 +0xc6 goroutine 64 [select]: github.com/0xERR0R/blocky/resolver.(*QueryLoggingResolver).writeLog(0xc000bf0780, {0x557b14718cb0?, 0xc0000e86e0?}) github.com/0xERR0R/blocky/resolver/query_logging_resolver.go:223 +0xea created by github.com/0xERR0R/blocky/resolver.NewQueryLoggingResolver in goroutine 1 github.com/0xERR0R/blocky/resolver/query_logging_resolver.go:110 +0x4b9 goroutine 63 [select, 23 minutes]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x557b14718cb0, 0xc0000e86e0}, 0xc000baf9e0) github.com/0xERR0R/blocky/cache/expirationcache/expiration_cache.go:104 +0xef created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 github.com/0xERR0R/blocky/cache/expirationcache/expiration_cache.go:94 +0x2db goroutine 62 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x557b14718cb0, 0xc0000e86e0}, 0xc000baf8f0) github.com/0xERR0R/blocky/cache/expirationcache/expiration_cache.go:104 +0xef created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 github.com/0xERR0R/blocky/cache/expirationcache/expiration_cache.go:94 +0x2db goroutine 65 [select, 82 minutes]: github.com/0xERR0R/blocky/resolver.(*QueryLoggingResolver).periodicCleanUp(0xc000bf0780, {0x557b14718cb0, 0xc0000e86e0}) github.com/0xERR0R/blocky/resolver/query_logging_resolver.go:126 +0xed created by github.com/0xERR0R/blocky/resolver.NewQueryLoggingResolver in goroutine 1 github.com/0xERR0R/blocky/resolver/query_logging_resolver.go:114 +0x537 goroutine 66 [select, 82 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc0000657d0?, {0x557b14718cb0, 0xc0000e86e0}, 0x557b14720690?, 0xc000b68760) github.com/0xERR0R/blocky/config/config.go:382 +0xf7 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 github.com/0xERR0R/blocky/config/config.go:365 +0xc6 goroutine 67 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x557b14718cb0, 0xc0000e86e0}, 0xc000bafbc0) github.com/0xERR0R/blocky/cache/expirationcache/expiration_cache.go:104 +0xef created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 github.com/0xERR0R/blocky/cache/expirationcache/expiration_cache.go:94 +0x2db goroutine 72 [IO wait]: internal/poll.runtime_pollWait(0x7ffa25a36800, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0001ae180?, 0xc000850000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).ReadMsgInet6(0xc0001ae180, {0xc000850000, 0xffff, 0xffff}, {0xc000799410, 0x28, 0x28}, 0x0, 0xc00089da60) internal/poll/fd_unix.go:349 +0x330 net.(*netFD).readMsgInet6(0xc0001ae180, {0xc000850000?, 0xc0000105e8?, 0x0?}, {0xc000799410?, 0x0?, 0x17f018002000000?}, 0xc00089da78?, 0x557b133d208a?) net/fd_posix.go:103 +0x31 net.(*UDPConn).readMsg(0xc00089dbc0?, {0xc000850000?, 0x7ffa25a36848?, 0x364e474d843ac?}, {0xc000799410?, 0x557b147037f0?, 0x557b145f4660?}) net/udpsock_posix.go:106 +0x90 net.(*UDPConn).ReadMsgUDPAddrPort(0xc0000503c0, {0xc000850000?, 0x557b13434a45?, 0x557b1347d245?}, {0xc000799410?, 0xc00089dc30?, 0x557b1347d189?}) net/udpsock.go:200 +0x3e net.(*UDPConn).ReadMsgUDP(0x364e3851bd002?, {0xc000850000?, 0x557b1347d220?, 0xc0001ae180?}, {0xc000799410?, 0xc00089dc78?, 0x557b135799e8?}) net/udpsock.go:188 +0x25 github.com/miekg/dns.ReadFromSessionUDP(0xc0000503c0, {0xc000850000, 0xffff, 0xffff}) github.com/miekg/dns@v1.1.66/udp.go:43 +0x85 github.com/miekg/dns.(*Server).readUDP(0xc000114ea0, 0xc0000503c0, 0x77359400) github.com/miekg/dns@v1.1.66/server.go:717 +0xfd github.com/miekg/dns.defaultReader.ReadUDP({0xc00015e470?}, 0x1?, 0xc00015e400?) github.com/miekg/dns@v1.1.66/server.go:174 +0x13 github.com/miekg/dns.(*Server).serveUDP(0xc000114ea0, {0x557b1471f540, 0xc0000503c0}) github.com/miekg/dns@v1.1.66/server.go:531 +0x245 github.com/miekg/dns.(*Server).ListenAndServe(0xc000114ea0) github.com/miekg/dns@v1.1.66/server.go:360 +0x559 github.com/0xERR0R/blocky/server.(*Server).Start.func1() github.com/0xERR0R/blocky/server/server.go:398 +0x29 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 github.com/0xERR0R/blocky/server/server.go:397 +0xbe goroutine 73 [IO wait, 129 minutes]: internal/poll.runtime_pollWait(0x7ffa25a36400, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0001ae280?, 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(0xc0001ae280) internal/poll/fd_unix.go:613 +0x28c net.(*netFD).accept(0xc0001ae280) net/fd_unix.go:161 +0x29 net.(*TCPListener).accept(0xc0001cc480) net/tcpsock_posix.go:159 +0x1b net.(*TCPListener).Accept(0xc0001cc480) net/tcpsock.go:380 +0x30 github.com/miekg/dns.(*Server).serveTCP(0xc000114fc0, {0x557b147168b8, 0xc0001cc480}) github.com/miekg/dns@v1.1.66/server.go:475 +0x107 github.com/miekg/dns.(*Server).ListenAndServe(0xc000114fc0) github.com/miekg/dns@v1.1.66/server.go:332 +0x3de github.com/0xERR0R/blocky/server.(*Server).Start.func1() github.com/0xERR0R/blocky/server/server.go:398 +0x29 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 github.com/0xERR0R/blocky/server/server.go:397 +0xbe goroutine 74 [IO wait, 3 minutes]: internal/poll.runtime_pollWait(0x7ffa25a36200, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0001ae300?, 0x9003d208a?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc0001ae300) internal/poll/fd_unix.go:613 +0x28c net.(*netFD).accept(0xc0001ae300) net/fd_unix.go:161 +0x29 net.(*TCPListener).accept(0xc0001cc4c0) net/tcpsock_posix.go:159 +0x1b net.(*TCPListener).Accept(0xc0001cc4c0) net/tcpsock.go:380 +0x30 crypto/tls.(*listener).Accept(0xc000239b60) crypto/tls/tls.go:79 +0x24 github.com/miekg/dns.(*Server).serveTCP(0xc000115440, {0x557b14716828, 0xc000239b60}) github.com/miekg/dns@v1.1.66/server.go:475 +0x107 github.com/miekg/dns.(*Server).ListenAndServe(0xc000115440) github.com/miekg/dns@v1.1.66/server.go:346 +0x819 github.com/0xERR0R/blocky/server.(*Server).Start.func1() github.com/0xERR0R/blocky/server/server.go:398 +0x29 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 github.com/0xERR0R/blocky/server/server.go:397 +0xbe goroutine 75 [IO wait]: internal/poll.runtime_pollWait(0x7ffa25a36a00, 0x72) runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0001afd00?, 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(0xc0001afd00) internal/poll/fd_unix.go:613 +0x28c net.(*netFD).accept(0xc0001afd00) net/fd_unix.go:161 +0x29 net.(*TCPListener).accept(0xc00003f080) net/tcpsock_posix.go:159 +0x1b net.(*TCPListener).Accept(0xc00003f080) net/tcpsock.go:380 +0x30 crypto/tls.(*listener).Accept(0xc0003f3068) crypto/tls/tls.go:79 +0x24 net/http.(*Server).Serve(0xc000115b00, {0x557b14716828, 0xc0003f3068}) net/http/server.go:3463 +0x30c github.com/0xERR0R/blocky/server.(*httpServer).Serve(0xc000115b00, {0x557b14718cb0, 0xc0000e86e0}, {0x557b14716828, 0xc0003f3068}) github.com/0xERR0R/blocky/server/http.go:50 +0x9b github.com/0xERR0R/blocky/server.(*Server).Start.func2() github.com/0xERR0R/blocky/server/server.go:410 +0x11d created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 github.com/0xERR0R/blocky/server/server.go:407 +0x194 goroutine 76 [select, 15922 minutes]: github.com/0xERR0R/blocky/server.registerPrintConfigurationTrigger.func1() github.com/0xERR0R/blocky/server/server_config_trigger.go:19 +0x8e created by github.com/0xERR0R/blocky/server.registerPrintConfigurationTrigger in goroutine 1 github.com/0xERR0R/blocky/server/server_config_trigger.go:17 +0xce goroutine 77 [select, 15922 minutes]: github.com/0xERR0R/blocky/cmd.startServer.func1() github.com/0xERR0R/blocky/cmd/serve.go:65 +0x96 created by github.com/0xERR0R/blocky/cmd.startServer in goroutine 1 github.com/0xERR0R/blocky/cmd/serve.go:64 +0x286 goroutine 79 [chan receive, 15922 minutes]: github.com/0xERR0R/blocky/server.(*httpServer).Serve.func1() github.com/0xERR0R/blocky/server/http.go:45 +0x2c created by github.com/0xERR0R/blocky/server.(*httpServer).Serve in goroutine 75 github.com/0xERR0R/blocky/server/http.go:44 +0x85 goroutine 15736919 [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 15736917 net/http/server.go:698 +0xb6