goroutine 1108587 [running]: runtime/pprof.writeGoroutineStacks({0x133c780, 0xc0001880e0}) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/pprof/pprof.go:743 +0x6a runtime/pprof.writeGoroutine({0x133c780?, 0xc0001880e0?}, 0x41a238?) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/pprof/pprof.go:732 +0x25 runtime/pprof.(*Profile).WriteTo(0x1ad3a70?, {0x133c780?, 0xc0001880e0?}, 0xc?) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/pprof/pprof.go:369 +0x14b net/http/pprof.handler.ServeHTTP({0x10a264d, 0x9}, {0x1344368, 0xc0001880e0}, 0xc00051e120) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/pprof/pprof.go:267 +0x52f github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc000282d80, {0x1344368, 0xc0001880e0}, 0xc00051e120) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:480 +0x2e6 net/http.HandlerFunc.ServeHTTP(0xc0000a1598?, {0x1344368?, 0xc0001880e0?}, 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, 0xc0001880e0}, 0xc00051e120) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/middleware/nocache.go:55 +0x28d net/http.HandlerFunc.ServeHTTP(0xc00059a6c0?, {0x1344368?, 0xc0001880e0?}, 0xc0000a1660?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc000282d80, {0x1344368, 0xc0001880e0}, 0xc00051e120) /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, 0xc0001880e0}, 0xc00051e120) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:327 +0x1bb net/http.HandlerFunc.ServeHTTP(0xc00001e0f0?, {0x1344368?, 0xc0001880e0?}, 0xc00014e018?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0002820c0, {0x1344368, 0xc0001880e0}, 0xc00051e120) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:480 +0x2e6 net/http.HandlerFunc.ServeHTTP(0xc00059a6c0?, {0x1344368?, 0xc0001880e0?}, 0xc0004d8830?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0002820c0, {0x1344368, 0xc0001880e0}, 0xc00051e120) /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, 0xc0001880e0}, 0xc00051e120) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:327 +0x1bb net/http.HandlerFunc.ServeHTTP(0xc00001e0f0?, {0x1344368?, 0xc0001880e0?}, 0xc000cc2544?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc000282de0, {0x1344368, 0xc0001880e0}, 0xc00051e120) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:480 +0x2e6 net/http.HandlerFunc.ServeHTTP(0xc0002095e0?, {0x1344368?, 0xc0001880e0?}, 0xc00051e120?) /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, 0xc0001880e0}, 0xc00051e120) /home/runner/go/pkg/mod/github.com/go-chi/cors@v1.2.1/cors.go:228 +0x17e net/http.HandlerFunc.ServeHTTP(0x7f53289cb518?, {0x1344368?, 0xc0001880e0?}, 0x30?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/0xERR0R/blocky/server.secureHeadersMiddleware.func1({0x1344368?, 0xc0001880e0?}, 0x1accd01?) /home/runner/work/blocky/blocky/server/http.go:79 +0x338 net/http.HandlerFunc.ServeHTTP(0x1346850?, {0x1344368?, 0xc0001880e0?}, 0x1accdb0?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc000282de0, {0x1344368, 0xc0001880e0}, 0xc000303320) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:90 +0x2ee net/http.serverHandler.ServeHTTP({0xc0007136b0?}, {0x1344368?, 0xc0001880e0?}, 0x6?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:3142 +0x8e net/http.(*conn).serve(0xc00017a480, {0x1346818, 0xc00031e810}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2044 +0x5e8 created by net/http.(*Server).Serve in goroutine 57 /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:3290 +0x4b4 goroutine 1 [chan receive, 47395 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(0xc0000c5400?, {0xc00026fb20?, 0x4?, 0x109c0c2?}) /home/runner/work/blocky/blocky/cmd/root.go:42 +0xc6 github.com/spf13/cobra.(*Command).execute(0xc0001b1508, {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(0xc0001b1508) /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 58 [select, 47395 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 12 [syscall, 47395 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 59 [select, 47395 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 56 [IO wait, 47395 minutes]: internal/poll.runtime_pollWait(0x7f5328cc3bc8, 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(0xc000156300) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc000156300) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc00008a880) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc00008a880) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock.go:327 +0x30 crypto/tls.(*listener).Accept(0xc0003708a0) /opt/hostedtoolcache/go/1.22.10/x64/src/crypto/tls/tls.go:66 +0x27 github.com/miekg/dns.(*Server).serveTCP(0xc000166240, {0x13443f8, 0xc0003708a0}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:474 +0x12c github.com/miekg/dns.(*Server).ListenAndServe(0xc000166240) /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 69 [select, 117 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc000807fd0?, {0x1346850, 0xc000118000}, 0xc00014c480?, 0xc000ba22b0) /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 57 [IO wait]: internal/poll.runtime_pollWait(0x7f5328cc3eb0, 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(0xc000156280) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc000156280) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc000138280) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc000138280) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock.go:327 +0x30 net/http.(*Server).Serve(0xc0000c4000, {0x1344458, 0xc000138280}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:3260 +0x33e github.com/0xERR0R/blocky/server.(*httpServer).Serve(0xc0000c4000, {0x1346850, 0xc000118000}, {0x1344458, 0xc000138280}) /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 65 [select, 115 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc00006bfd0?, {0x1346850, 0xc000118000}, 0xc00014c1e0?, 0xc00046c270) /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 55 [IO wait, 47395 minutes]: internal/poll.runtime_pollWait(0x7f5328cc3ad0, 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(0xc00028e080) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc00028e080) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc000138000) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc000138000) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock.go:327 +0x30 github.com/miekg/dns.(*Server).serveTCP(0xc000166120, {0x1344458, 0xc000138000}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:474 +0x12c github.com/miekg/dns.(*Server).ListenAndServe(0xc000166120) /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 70 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x1346850, 0xc000118000}, 0xc0000244e0) /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 54 [IO wait]: internal/poll.runtime_pollWait(0x7f5328cc3db8, 0x72) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc00028e100?, 0xc0002ae000?, 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(0xc00028e100, {0xc0002ae000, 0xffff, 0xffff}, {0xc000cc2510, 0x28, 0x28}, 0x0, 0xc00029ca60) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:355 +0x339 net.(*netFD).readMsgInet6(0xc00028e100, {0xc0002ae000?, 0x41a238?, 0x7f53289cb518?}, {0xc000cc2510?, 0x5?, 0xc00029cad0?}, 0x411bbb?, 0x7f536f7905b8?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_posix.go:90 +0x31 net.(*UDPConn).readMsg(0xc00029cbc0?, {0xc0002ae000?, 0x7f5328cc3e00?, 0x24ccc32b3a9e01?}, {0xc000cc2510?, 0x1226c10?, 0xf8bfe0?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/udpsock_posix.go:106 +0x8d net.(*UDPConn).ReadMsgUDPAddrPort(0xc00011e018, {0xc0002ae000?, 0xc000100808?, 0xc000cc2510?}, {0xc000cc2510?, 0x0?, 0xc000cc2510?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/udpsock.go:203 +0x3e net.(*UDPConn).ReadMsgUDP(0xa1a617be4b34a?, {0xc0002ae000?, 0x4b3020?, 0xc00028e100?}, {0xc000cc2510?, 0xc00029cc78?, 0x5da5c8?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/udpsock.go:191 +0x25 github.com/miekg/dns.ReadFromSessionUDP(0xc00011e018, {0xc0002ae000, 0xffff, 0xffff}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/udp.go:43 +0x87 github.com/miekg/dns.(*Server).readUDP(0xc000166000, 0xc00011e018, 0x77359400) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:716 +0x105 github.com/miekg/dns.defaultReader.ReadUDP({0xc000236500?}, 0xc00011e018?, 0x77359400?) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:174 +0x13 github.com/miekg/dns.(*Server).serveUDP(0xc000166000, {0x134ce60, 0xc00011e018}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:530 +0x26e github.com/miekg/dns.(*Server).ListenAndServe(0xc000166000) /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 71 [select, 57 minutes]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x1346850, 0xc000118000}, 0xc0000245d0) /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 72 [select, 1001 minutes]: github.com/0xERR0R/blocky/resolver.(*QueryLoggingResolver).writeLog(0xc000118050, {0x1346850?, 0xc000118000?}) /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 73 [select, 117 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x0?, {0x1346850, 0xc000118000}, 0x0?, 0xc00008a0a0) /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 78 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x1346850, 0xc000118000}, 0xc000344420) /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 79 [chan receive, 47395 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 57 /home/runner/work/blocky/blocky/server/http.go:44 +0x85 goroutine 1108603 [IO wait]: internal/poll.runtime_pollWait(0x7f53289d6998, 0x72) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc000156580?, 0xc0007136c1?, 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(0xc000156580, {0xc0007136c1, 0x1, 0x1}) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:164 +0x27a net.(*netFD).Read(0xc000156580, {0xc0007136c1?, 0xc000068748?, 0x474810?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc0003f1d38, {0xc0007136c1?, 0xc00033ca80?, 0xc00048d508?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/net.go:185 +0x45 net/http.(*connReader).backgroundRead(0xc0007136b0) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:681 +0x37 created by net/http.(*connReader).startBackgroundRead in goroutine 1108587 /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:677 +0xba