goroutine 60041 [running]: runtime/pprof.writeGoroutineStacks({0x133c780, 0xc0001882a0}) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/pprof/pprof.go:743 +0x6a runtime/pprof.writeGoroutine({0x133c780?, 0xc0001882a0?}, 0x41a238?) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/pprof/pprof.go:732 +0x25 runtime/pprof.(*Profile).WriteTo(0x1ad3a70?, {0x133c780?, 0xc0001882a0?}, 0xc?) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/pprof/pprof.go:369 +0x14b net/http/pprof.handler.ServeHTTP({0x10a264d, 0x9}, {0x1344368, 0xc0001882a0}, 0xc000094900) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/pprof/pprof.go:267 +0x52f github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0004e0c60, {0x1344368, 0xc0001882a0}, 0xc000094900) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:480 +0x2e6 net/http.HandlerFunc.ServeHTTP(0xc000031598?, {0x1344368?, 0xc0001882a0?}, 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, 0xc0001882a0}, 0xc000094900) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/middleware/nocache.go:55 +0x28d net/http.HandlerFunc.ServeHTTP(0xc000373920?, {0x1344368?, 0xc0001882a0?}, 0xc000031660?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0004e0c60, {0x1344368, 0xc0001882a0}, 0xc000094900) /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, 0xc0001882a0}, 0xc000094900) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:327 +0x1bb net/http.HandlerFunc.ServeHTTP(0xc0000d2000?, {0x1344368?, 0xc0001882a0?}, 0xc0000482e8?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0004e0240, {0x1344368, 0xc0001882a0}, 0xc000094900) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:480 +0x2e6 net/http.HandlerFunc.ServeHTTP(0xc000373920?, {0x1344368?, 0xc0001882a0?}, 0xc000305830?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0004e0240, {0x1344368, 0xc0001882a0}, 0xc000094900) /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, 0xc0001882a0}, 0xc000094900) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:327 +0x1bb net/http.HandlerFunc.ServeHTTP(0xc0000d2000?, {0x1344368?, 0xc0001882a0?}, 0xc000ad7cb4?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0004e0cc0, {0x1344368, 0xc0001882a0}, 0xc000094900) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:480 +0x2e6 net/http.HandlerFunc.ServeHTTP(0xc00029fae0?, {0x1344368?, 0xc0001882a0?}, 0xc000094900?) /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, 0xc0001882a0}, 0xc000094900) /home/runner/go/pkg/mod/github.com/go-chi/cors@v1.2.1/cors.go:228 +0x17e net/http.HandlerFunc.ServeHTTP(0x7fb549156918?, {0x1344368?, 0xc0001882a0?}, 0x30?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/0xERR0R/blocky/server.secureHeadersMiddleware.func1({0x1344368?, 0xc0001882a0?}, 0x1accd01?) /home/runner/work/blocky/blocky/server/http.go:79 +0x338 net/http.HandlerFunc.ServeHTTP(0x1346850?, {0x1344368?, 0xc0001882a0?}, 0x1accdb0?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0004e0cc0, {0x1344368, 0xc0001882a0}, 0xc0000947e0) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:90 +0x2ee net/http.serverHandler.ServeHTTP({0xc000373800?}, {0x1344368?, 0xc0001882a0?}, 0x6?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:3142 +0x8e net/http.(*conn).serve(0xc00015d5f0, {0x1346818, 0xc000372ed0}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2044 +0x5e8 created by net/http.(*Server).Serve in goroutine 85 /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:3290 +0x4b4 goroutine 1 [chan receive, 5926 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(0xc00017cf00?, {0xc0002fec20?, 0x4?, 0x109c0c2?}) /home/runner/work/blocky/blocky/cmd/root.go:42 +0xc6 github.com/spf13/cobra.(*Command).execute(0xc00033e308, {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(0xc00033e308) /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 5 [syscall, 5926 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 68 [select, 166 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc000997fd0?, {0x1346850, 0xc0002d3900}, 0xc0004c61e0?, 0xc000274350) /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, 167 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc00006a7d0?, {0x1346850, 0xc0002d3900}, 0xc0004c63c0?, 0xc0008b2090) /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 74 [select, 47 minutes]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x1346850, 0xc0002d3900}, 0xc0001b4cf0) /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]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x1346850, 0xc0002d3900}, 0xc0001b4b10) /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 75 [select, 45 minutes]: github.com/0xERR0R/blocky/resolver.(*QueryLoggingResolver).writeLog(0xc0000de5a0, {0x1346850?, 0xc0002d3900?}) /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 76 [select, 167 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x0?, {0x1346850, 0xc0002d3900}, 0x0?, 0xc0000dc140) /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 81 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x1346850, 0xc0002d3900}, 0xc0001b5a10) /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 82 [IO wait]: internal/poll.runtime_pollWait(0x7fb54910fbc8, 0x72) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc0001ee100?, 0xc000554000?, 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(0xc0001ee100, {0xc000554000, 0xffff, 0xffff}, {0xc0002f4720, 0x28, 0x28}, 0x0, 0xc000306a60) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:355 +0x339 net.(*netFD).readMsgInet6(0xc0001ee100, {0xc000554000?, 0x41a238?, 0x7fb548e0f0c0?}, {0xc0002f4720?, 0xc000306a78?, 0xc000306ad0?}, 0x411bbb?, 0xc000306ad0?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_posix.go:90 +0x31 net.(*UDPConn).readMsg(0xc000306bc0?, {0xc000554000?, 0x7fb54910fc10?, 0x1228d7edb7a4d0?}, {0xc0002f4720?, 0x1226c10?, 0xf8bfe0?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/udpsock_posix.go:106 +0x8d net.(*UDPConn).ReadMsgUDPAddrPort(0xc00006c428, {0xc000554000?, 0xc00006f008?, 0xc0002f4720?}, {0xc0002f4720?, 0x0?, 0xc0002f4720?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/udpsock.go:203 +0x3e net.(*UDPConn).ReadMsgUDP(0x1436377aa8879?, {0xc000554000?, 0x4b3020?, 0xc0001ee100?}, {0xc0002f4720?, 0xc000306c78?, 0x5da5c8?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/udpsock.go:191 +0x25 github.com/miekg/dns.ReadFromSessionUDP(0xc00006c428, {0xc000554000, 0xffff, 0xffff}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/udp.go:43 +0x87 github.com/miekg/dns.(*Server).readUDP(0xc00015eea0, 0xc00006c428, 0x77359400) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:716 +0x105 github.com/miekg/dns.defaultReader.ReadUDP({0xc00010a0a0?}, 0xc00006c428?, 0x77359400?) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:174 +0x13 github.com/miekg/dns.(*Server).serveUDP(0xc00015eea0, {0x134ce60, 0xc00006c428}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:530 +0x26e github.com/miekg/dns.(*Server).ListenAndServe(0xc00015eea0) /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 83 [IO wait, 5926 minutes]: internal/poll.runtime_pollWait(0x7fb54910fad0, 0x72) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0x8?, 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(0xc0001ee080) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc0001ee080) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc0001f8000) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc0001f8000) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock.go:327 +0x30 github.com/miekg/dns.(*Server).serveTCP(0xc00015efc0, {0x1344458, 0xc0001f8000}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:474 +0x12c github.com/miekg/dns.(*Server).ListenAndServe(0xc00015efc0) /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 84 [IO wait, 5926 minutes]: internal/poll.runtime_pollWait(0x7fb54910fcc0, 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(0xc000326180) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc000326180) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc0000dc9c0) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc0000dc9c0) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock.go:327 +0x30 crypto/tls.(*listener).Accept(0xc000442f00) /opt/hostedtoolcache/go/1.22.10/x64/src/crypto/tls/tls.go:66 +0x27 github.com/miekg/dns.(*Server).serveTCP(0xc00015f0e0, {0x13443f8, 0xc000442f00}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:474 +0x12c github.com/miekg/dns.(*Server).ListenAndServe(0xc00015f0e0) /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 85 [IO wait]: internal/poll.runtime_pollWait(0x7fb54910feb0, 0x72) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0x3?, 0x1?, 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(0xc000326800) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc000326800) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc0002ff600) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc0002ff600) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock.go:327 +0x30 net/http.(*Server).Serve(0xc00017c100, {0x1344458, 0xc0002ff600}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:3260 +0x33e github.com/0xERR0R/blocky/server.(*httpServer).Serve(0xc00017c100, {0x1346850, 0xc0002d3900}, {0x1344458, 0xc0002ff600}) /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 86 [select, 5926 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 87 [select, 5926 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 89 [chan receive, 5926 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 85 /home/runner/work/blocky/blocky/server/http.go:44 +0x85 goroutine 60042 [IO wait]: internal/poll.runtime_pollWait(0x7fb54910f500, 0x72) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc000326580?, 0xc000373811?, 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).Read(0xc000326580, {0xc000373811, 0x1, 0x1}) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:164 +0x27a net.(*netFD).Read(0xc000326580, {0xc000373811?, 0xc000992748?, 0x474810?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc000118048, {0xc000373811?, 0x0?, 0xc0003734d8?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/net.go:185 +0x45 net/http.(*connReader).backgroundRead(0xc000373800) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:681 +0x37 created by net/http.(*connReader).startBackgroundRead in goroutine 60041 /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:677 +0xba