goroutine 146017 [running]: runtime/pprof.writeGoroutineStacks({0x133c780, 0xc0001482a0}) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/pprof/pprof.go:743 +0x6a runtime/pprof.writeGoroutine({0x133c780?, 0xc0001482a0?}, 0x41a238?) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/pprof/pprof.go:732 +0x25 runtime/pprof.(*Profile).WriteTo(0x1ad3a70?, {0x133c780?, 0xc0001482a0?}, 0xc?) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/pprof/pprof.go:369 +0x14b net/http/pprof.handler.ServeHTTP({0x10a264d, 0x9}, {0x1344368, 0xc0001482a0}, 0xc000048480) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/pprof/pprof.go:267 +0x52f github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0002c66c0, {0x1344368, 0xc0001482a0}, 0xc000048480) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:480 +0x2e6 net/http.HandlerFunc.ServeHTTP(0xc0004cb598?, {0x1344368?, 0xc0001482a0?}, 0x7?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5/middleware.NoCache.func1({0x1344368, 0xc0001482a0}, 0xc000048480) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/middleware/nocache.go:55 +0x28d net/http.HandlerFunc.ServeHTTP(0xc00010ec00?, {0x1344368?, 0xc0001482a0?}, 0xc0004cb660?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0002c66c0, {0x1344368, 0xc0001482a0}, 0xc000048480) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:73 +0x32f github.com/go-chi/chi/v5.(*Mux).Mount.func1({0x1344368, 0xc0001482a0}, 0xc000048480) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:327 +0x1bb net/http.HandlerFunc.ServeHTTP(0xc000236000?, {0x1344368?, 0xc0001482a0?}, 0xc000046048?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0002c6060, {0x1344368, 0xc0001482a0}, 0xc000048480) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:480 +0x2e6 net/http.HandlerFunc.ServeHTTP(0xc00010ec00?, {0x1344368?, 0xc0001482a0?}, 0xc0004cf830?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0002c6060, {0x1344368, 0xc0001482a0}, 0xc000048480) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:73 +0x32f github.com/go-chi/chi/v5.(*Mux).Mount.func1({0x1344368, 0xc0001482a0}, 0xc000048480) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:327 +0x1bb net/http.HandlerFunc.ServeHTTP(0xc000236000?, {0x1344368?, 0xc0001482a0?}, 0xc000cda1e4?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0002c6720, {0x1344368, 0xc0001482a0}, 0xc000048480) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:480 +0x2e6 net/http.HandlerFunc.ServeHTTP(0xc0001b75e0?, {0x1344368?, 0xc0001482a0?}, 0xc000048480?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/cors.(*Cors).Handler-fm.(*Cors).Handler.func1({0x1344368, 0xc0001482a0}, 0xc000048480) /home/runner/go/pkg/mod/github.com/go-chi/cors@v1.2.1/cors.go:228 +0x17e net/http.HandlerFunc.ServeHTTP(0x7f7c3d3f7908?, {0x1344368?, 0xc0001482a0?}, 0x30?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/0xERR0R/blocky/server.secureHeadersMiddleware.func1({0x1344368?, 0xc0001482a0?}, 0x1accd01?) /home/runner/work/blocky/blocky/server/http.go:79 +0x338 net/http.HandlerFunc.ServeHTTP(0x1346850?, {0x1344368?, 0xc0001482a0?}, 0x1accdb0?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0002c6720, {0x1344368, 0xc0001482a0}, 0xc000048240) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:90 +0x2ee net/http.serverHandler.ServeHTTP({0xc00010e9f0?}, {0x1344368?, 0xc0001482a0?}, 0x6?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:3142 +0x8e net/http.(*conn).serve(0xc000040000, {0x1346818, 0xc000e1b6e0}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2044 +0x5e8 created by net/http.(*Server).Serve in goroutine 84 /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:3290 +0x4b4 goroutine 1 [chan receive, 27854 minutes]: github.com/0xERR0R/blocky/cmd.startServer(0x0?, {0x0?, 0x0?, 0x0?}) /home/runner/work/blocky/blocky/cmd/serve.go:79 +0x38b github.com/0xERR0R/blocky/cmd.NewRootCommand.func1(0xc00014ae00?, {0xc000150c80?, 0x4?, 0x109c0c2?}) /home/runner/work/blocky/blocky/cmd/root.go:42 +0xc6 github.com/spf13/cobra.(*Command).execute(0xc0002c4008, {0xc00003e4c0, 0x2, 0x2}) /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:985 +0xaca github.com/spf13/cobra.(*Command).ExecuteC(0xc0002c4008) /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff github.com/spf13/cobra.(*Command).Execute(...) /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1041 github.com/0xERR0R/blocky/cmd.Execute() /home/runner/work/blocky/blocky/cmd/root.go:112 +0x18 main.main() /home/runner/work/blocky/blocky/main.go:10 +0x13 goroutine 20 [syscall, 27854 minutes]: os/signal.signal_recv() /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/sigqueue.go:152 +0x29 os/signal.loop() /opt/hostedtoolcache/go/1.22.10/x64/src/os/signal/signal_unix.go:23 +0x13 created by os/signal.Notify.func1.1 in goroutine 1 /opt/hostedtoolcache/go/1.22.10/x64/src/os/signal/signal.go:151 +0x1f goroutine 71 [select, 15 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc0003077d0?, {0x1346850, 0xc0002f80a0}, 0xc0000a6300?, 0xc0005066a0) /home/runner/work/blocky/blocky/config/config.go:382 +0x112 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /home/runner/work/blocky/blocky/config/config.go:365 +0xc6 goroutine 67 [select, 14 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc000062fd0?, {0x1346850, 0xc0002f80a0}, 0xc0000a60c0?, 0xc0002fa980) /home/runner/work/blocky/blocky/config/config.go:382 +0x112 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /home/runner/work/blocky/blocky/config/config.go:365 +0xc6 goroutine 72 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x1346850, 0xc0002f80a0}, 0xc000e1a780) /home/runner/work/blocky/blocky/cache/expirationcache/expiration_cache.go:104 +0xf8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /home/runner/work/blocky/blocky/cache/expirationcache/expiration_cache.go:94 +0x2db goroutine 73 [select, 15 minutes]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x1346850, 0xc0002f80a0}, 0xc000e1a870) /home/runner/work/blocky/blocky/cache/expirationcache/expiration_cache.go:104 +0xf8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /home/runner/work/blocky/blocky/cache/expirationcache/expiration_cache.go:94 +0x2db goroutine 74 [select, 292 minutes]: github.com/0xERR0R/blocky/resolver.(*QueryLoggingResolver).writeLog(0xc0000be3c0, {0x1346850?, 0xc0002f80a0?}) /home/runner/work/blocky/blocky/resolver/query_logging_resolver.go:223 +0xea created by github.com/0xERR0R/blocky/resolver.NewQueryLoggingResolver in goroutine 1 /home/runner/work/blocky/blocky/resolver/query_logging_resolver.go:110 +0x519 goroutine 75 [select, 15 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x0?, {0x1346850, 0xc0002f80a0}, 0x0?, 0xc000150180) /home/runner/work/blocky/blocky/config/config.go:382 +0x112 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /home/runner/work/blocky/blocky/config/config.go:365 +0xc6 goroutine 80 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x1346850, 0xc0002f80a0}, 0xc000e1afc0) /home/runner/work/blocky/blocky/cache/expirationcache/expiration_cache.go:104 +0xf8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /home/runner/work/blocky/blocky/cache/expirationcache/expiration_cache.go:94 +0x2db goroutine 81 [IO wait]: internal/poll.runtime_pollWait(0x7f7c3d3baad0, 0x72) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc000164280?, 0xc0003a0000?, 0x0) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).ReadMsgInet6(0xc000164280, {0xc0003a0000, 0xffff, 0xffff}, {0xc000dc0180, 0x28, 0x28}, 0x0, 0xc0002e2a60) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:355 +0x339 net.(*netFD).readMsgInet6(0xc000164280, {0xc0003a0000?, 0x41a238?, 0x7f7c3d11c2d8?}, {0xc000dc0180?, 0x1f?, 0xc0002e2ad0?}, 0x411bbb?, 0xc0002e2ad0?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_posix.go:90 +0x31 net.(*UDPConn).readMsg(0xc0002e2bc0?, {0xc0003a0000?, 0x7f7c3d3bab18?, 0x5f006fa266e4e?}, {0xc000dc0180?, 0x1226c10?, 0xf8bfe0?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/udpsock_posix.go:106 +0x8d net.(*UDPConn).ReadMsgUDPAddrPort(0xc00012e120, {0xc0003a0000?, 0xc00047a008?, 0xc000dc0180?}, {0xc000dc0180?, 0x0?, 0xc000dc0180?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/udpsock.go:203 +0x3e net.(*UDPConn).ReadMsgUDP(0x5f005e3c6205c?, {0xc0003a0000?, 0x4b3020?, 0xc000164280?}, {0xc000dc0180?, 0xc0002e2c78?, 0x5da5c8?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/udpsock.go:191 +0x25 github.com/miekg/dns.ReadFromSessionUDP(0xc00012e120, {0xc0003a0000, 0xffff, 0xffff}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/udp.go:43 +0x87 github.com/miekg/dns.(*Server).readUDP(0xc00014eea0, 0xc00012e120, 0x77359400) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:716 +0x105 github.com/miekg/dns.defaultReader.ReadUDP({0xc0002f8d20?}, 0xc00012e120?, 0x77359400?) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:174 +0x13 github.com/miekg/dns.(*Server).serveUDP(0xc00014eea0, {0x134ce60, 0xc00012e120}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:530 +0x26e github.com/miekg/dns.(*Server).ListenAndServe(0xc00014eea0) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:359 +0x5b0 github.com/0xERR0R/blocky/server.(*Server).Start.func1() /home/runner/work/blocky/blocky/server/server.go:396 +0x29 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /home/runner/work/blocky/blocky/server/server.go:395 +0xd0 goroutine 82 [IO wait, 27854 minutes]: internal/poll.runtime_pollWait(0x7f7c3d3bacc0, 0x72) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0x9?, 0x0?, 0x0) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc000164300) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc000164300) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc0009b0500) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc0009b0500) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock.go:327 +0x30 github.com/miekg/dns.(*Server).serveTCP(0xc00014efc0, {0x1344458, 0xc0009b0500}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:474 +0x12c github.com/miekg/dns.(*Server).ListenAndServe(0xc00014efc0) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:331 +0x413 github.com/0xERR0R/blocky/server.(*Server).Start.func1() /home/runner/work/blocky/blocky/server/server.go:396 +0x29 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /home/runner/work/blocky/blocky/server/server.go:395 +0xd0 goroutine 83 [IO wait, 27854 minutes]: internal/poll.runtime_pollWait(0x7f7c3d3babc8, 0x72) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xa?, 0x0?, 0x0) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc000164380) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc000164380) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc0009b0520) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc0009b0520) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock.go:327 +0x30 crypto/tls.(*listener).Accept(0xc0009a6450) /opt/hostedtoolcache/go/1.22.10/x64/src/crypto/tls/tls.go:66 +0x27 github.com/miekg/dns.(*Server).serveTCP(0xc00014f0e0, {0x13443f8, 0xc0009a6450}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:474 +0x12c github.com/miekg/dns.(*Server).ListenAndServe(0xc00014f0e0) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:345 +0x887 github.com/0xERR0R/blocky/server.(*Server).Start.func1() /home/runner/work/blocky/blocky/server/server.go:396 +0x29 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /home/runner/work/blocky/blocky/server/server.go:395 +0xd0 goroutine 84 [IO wait]: internal/poll.runtime_pollWait(0x7f7c3d3baeb0, 0x72) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0x3?, 0x2d?, 0x0) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc000165a00) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc000165a00) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc000151660) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc000151660) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock.go:327 +0x30 net/http.(*Server).Serve(0xc0000b6100, {0x1344458, 0xc000151660}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:3260 +0x33e github.com/0xERR0R/blocky/server.(*httpServer).Serve(0xc0000b6100, {0x1346850, 0xc0002f80a0}, {0x1344458, 0xc000151660}) /home/runner/work/blocky/blocky/server/http.go:50 +0x9b github.com/0xERR0R/blocky/server.(*Server).Start.func2() /home/runner/work/blocky/blocky/server/server.go:408 +0x130 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /home/runner/work/blocky/blocky/server/server.go:405 +0x1b1 goroutine 85 [select, 27854 minutes]: github.com/0xERR0R/blocky/server.registerPrintConfigurationTrigger.func1() /home/runner/work/blocky/blocky/server/server_config_trigger.go:19 +0x8e created by github.com/0xERR0R/blocky/server.registerPrintConfigurationTrigger in goroutine 1 /home/runner/work/blocky/blocky/server/server_config_trigger.go:17 +0xd0 goroutine 86 [select, 27854 minutes]: github.com/0xERR0R/blocky/cmd.startServer.func1() /home/runner/work/blocky/blocky/cmd/serve.go:65 +0x96 created by github.com/0xERR0R/blocky/cmd.startServer in goroutine 1 /home/runner/work/blocky/blocky/cmd/serve.go:64 +0x2a5 goroutine 88 [chan receive, 27854 minutes]: github.com/0xERR0R/blocky/server.(*httpServer).Serve.func1() /home/runner/work/blocky/blocky/server/http.go:45 +0x2c created by github.com/0xERR0R/blocky/server.(*httpServer).Serve in goroutine 84 /home/runner/work/blocky/blocky/server/http.go:44 +0x85 goroutine 146018 [runnable]: net/http.(*connReader).startBackgroundRead.gowrap2() /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:677 runtime.goexit({}) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/asm_amd64.s:1695 +0x1 created by net/http.(*connReader).startBackgroundRead in goroutine 146017 /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:677 +0xba