goroutine 91938 [running]: runtime/pprof.writeGoroutineStacks({0x133c780, 0xc0001ce380}) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/pprof/pprof.go:743 +0x6a runtime/pprof.writeGoroutine({0x133c780?, 0xc0001ce380?}, 0x41a238?) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/pprof/pprof.go:732 +0x25 runtime/pprof.(*Profile).WriteTo(0x1ad3a70?, {0x133c780?, 0xc0001ce380?}, 0xc?) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/pprof/pprof.go:369 +0x14b net/http/pprof.handler.ServeHTTP({0x10a264d, 0x9}, {0x1344368, 0xc0001ce380}, 0xc000032120) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/pprof/pprof.go:267 +0x52f github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc000218a80, {0x1344368, 0xc0001ce380}, 0xc000032120) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:480 +0x2e6 net/http.HandlerFunc.ServeHTTP(0xc00002b598?, {0x1344368?, 0xc0001ce380?}, 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, 0xc0001ce380}, 0xc000032120) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/middleware/nocache.go:55 +0x28d net/http.HandlerFunc.ServeHTTP(0xc0004a1590?, {0x1344368?, 0xc0001ce380?}, 0xc00002b660?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc000218a80, {0x1344368, 0xc0001ce380}, 0xc000032120) /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, 0xc0001ce380}, 0xc000032120) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:327 +0x1bb net/http.HandlerFunc.ServeHTTP(0xc0000d8000?, {0x1344368?, 0xc0001ce380?}, 0xc0003ea228?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc000218240, {0x1344368, 0xc0001ce380}, 0xc000032120) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:480 +0x2e6 net/http.HandlerFunc.ServeHTTP(0xc0004a1590?, {0x1344368?, 0xc0001ce380?}, 0xc0003a9830?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc000218240, {0x1344368, 0xc0001ce380}, 0xc000032120) /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, 0xc0001ce380}, 0xc000032120) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:327 +0x1bb net/http.HandlerFunc.ServeHTTP(0xc0000d8000?, {0x1344368?, 0xc0001ce380?}, 0xc000ffc544?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc000218ae0, {0x1344368, 0xc0001ce380}, 0xc000032120) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:480 +0x2e6 net/http.HandlerFunc.ServeHTTP(0xc0000a7ae0?, {0x1344368?, 0xc0001ce380?}, 0xc000032120?) /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, 0xc0001ce380}, 0xc000032120) /home/runner/go/pkg/mod/github.com/go-chi/cors@v1.2.1/cors.go:228 +0x17e net/http.HandlerFunc.ServeHTTP(0x7fe9de13fa20?, {0x1344368?, 0xc0001ce380?}, 0x30?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/0xERR0R/blocky/server.secureHeadersMiddleware.func1({0x1344368?, 0xc0001ce380?}, 0x1accd01?) /home/runner/work/blocky/blocky/server/http.go:79 +0x338 net/http.HandlerFunc.ServeHTTP(0x1346850?, {0x1344368?, 0xc0001ce380?}, 0x1accdb0?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2171 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc000218ae0, {0x1344368, 0xc0001ce380}, 0xc000636240) /home/runner/go/pkg/mod/github.com/go-chi/chi/v5@v5.2.0/mux.go:90 +0x2ee net/http.serverHandler.ServeHTTP({0xc00003f980?}, {0x1344368?, 0xc0001ce380?}, 0x6?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:3142 +0x8e net/http.(*conn).serve(0xc0001a07e0, {0x1346818, 0xc0002f7b90}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:2044 +0x5e8 created by net/http.(*Server).Serve in goroutine 77 /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:3290 +0x4b4 goroutine 1 [chan receive, 48871 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(0xc0002bb000?, {0xc0000a3de0?, 0x4?, 0x109c0c2?}) /home/runner/work/blocky/blocky/cmd/root.go:42 +0xc6 github.com/spf13/cobra.(*Command).execute(0xc0002d6308, {0xc000120490, 0x2, 0x2}) /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:985 +0xaca github.com/spf13/cobra.(*Command).ExecuteC(0xc0002d6308) /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 22 [syscall, 48871 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 65 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x1346850, 0xc000344640}, 0xc0003cc540) /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 64 [select, 153 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc0009c8fd0?, {0x1346850, 0xc000344640}, 0xc00010c780?, 0xc0009e2020) /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 60 [select, 151 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc000065fd0?, {0x1346850, 0xc000344640}, 0xc00010c180?, 0xc0004cb130) /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 66 [select, 33 minutes]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x1346850, 0xc000344640}, 0xc0003cc630) /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 67 [select, 143 minutes]: github.com/0xERR0R/blocky/resolver.(*QueryLoggingResolver).writeLog(0xc000c66190, {0x1346850?, 0xc000344640?}) /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 68 [select, 153 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x0?, {0x1346850, 0xc000344640}, 0x0?, 0xc0003c61e0) /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 73 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x1346850, 0xc000344640}, 0xc0003ccba0) /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 [IO wait]: internal/poll.runtime_pollWait(0x7fe9de4bbc60, 0x72) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc00022c100?, 0xc000400000?, 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(0xc00022c100, {0xc000400000, 0xffff, 0xffff}, {0xc000ffc510, 0x28, 0x28}, 0x0, 0xc0003a5a60) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:355 +0x339 net.(*netFD).readMsgInet6(0xc00022c100, {0xc000400000?, 0x41a238?, 0x7fe9de13fa20?}, {0xc000ffc510?, 0xc0003a5a78?, 0xc0003a5ad0?}, 0x411bbb?, 0xc0003a5ad0?) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_posix.go:90 +0x31 net.(*UDPConn).readMsg(0xc0003a5bc0?, {0xc000400000?, 0x7fe9de4bbca8?, 0x188931b910dee1?}, {0xc000ffc510?, 0x1226c10?, 0xf8bfe0?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/udpsock_posix.go:106 +0x8d net.(*UDPConn).ReadMsgUDPAddrPort(0xc000124428, {0xc000400000?, 0xc00030f808?, 0xc000ffc510?}, {0xc000ffc510?, 0x0?, 0xc000ffc510?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/udpsock.go:203 +0x3e net.(*UDPConn).ReadMsgUDP(0xa6aeb10f1224d?, {0xc000400000?, 0x4b3020?, 0xc00022c100?}, {0xc000ffc510?, 0xc0003a5c78?, 0x5da5c8?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/udpsock.go:191 +0x25 github.com/miekg/dns.ReadFromSessionUDP(0xc000124428, {0xc000400000, 0xffff, 0xffff}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/udp.go:43 +0x87 github.com/miekg/dns.(*Server).readUDP(0xc00004b560, 0xc000124428, 0x77359400) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:716 +0x105 github.com/miekg/dns.defaultReader.ReadUDP({0xc00004b560?}, 0xc000124428?, 0x77359400?) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:174 +0x13 github.com/miekg/dns.(*Server).serveUDP(0xc00004b560, {0x134ce60, 0xc000124428}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:530 +0x26e github.com/miekg/dns.(*Server).ListenAndServe(0xc00004b560) /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 75 [IO wait, 48871 minutes]: internal/poll.runtime_pollWait(0x7fe9de4bbe50, 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(0xc00022c080) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc00022c080) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc000338020) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc000338020) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock.go:327 +0x30 github.com/miekg/dns.(*Server).serveTCP(0xc00004b680, {0x1344458, 0xc000338020}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:474 +0x12c github.com/miekg/dns.(*Server).ListenAndServe(0xc00004b680) /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 76 [IO wait, 48871 minutes]: internal/poll.runtime_pollWait(0x7fe9de4bbb68, 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(0xc00032e280) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc00032e280) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc0003c68e0) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc0003c68e0) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock.go:327 +0x30 crypto/tls.(*listener).Accept(0xc0003f08b8) /opt/hostedtoolcache/go/1.22.10/x64/src/crypto/tls/tls.go:66 +0x27 github.com/miekg/dns.(*Server).serveTCP(0xc00004b7a0, {0x13443f8, 0xc0003f08b8}) /home/runner/go/pkg/mod/github.com/miekg/dns@v1.1.62/server.go:474 +0x12c github.com/miekg/dns.(*Server).ListenAndServe(0xc00004b7a0) /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 77 [IO wait]: internal/poll.runtime_pollWait(0x7fe9de4bbf48, 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(0xc00032e380) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc00032e380) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc000338840) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc000338840) /opt/hostedtoolcache/go/1.22.10/x64/src/net/tcpsock.go:327 +0x30 net/http.(*Server).Serve(0xc000146000, {0x1344458, 0xc000338840}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:3260 +0x33e github.com/0xERR0R/blocky/server.(*httpServer).Serve(0xc000146000, {0x1346850, 0xc000344640}, {0x1344458, 0xc000338840}) /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 78 [select, 48871 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 79 [select, 48871 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 81 [chan receive, 48871 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 77 /home/runner/work/blocky/blocky/server/http.go:44 +0x85 goroutine 91928 [IO wait]: internal/poll.runtime_pollWait(0x7fe9de12c0c8, 0x72) /opt/hostedtoolcache/go/1.22.10/x64/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc00022c200?, 0xc00003f991?, 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(0xc00022c200, {0xc00003f991, 0x1, 0x1}) /opt/hostedtoolcache/go/1.22.10/x64/src/internal/poll/fd_unix.go:164 +0x27a net.(*netFD).Read(0xc00022c200, {0xc00003f991?, 0xc0009c3748?, 0x474810?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc00006c060, {0xc00003f991?, 0x0?, 0xc00003f6e8?}) /opt/hostedtoolcache/go/1.22.10/x64/src/net/net.go:185 +0x45 net/http.(*connReader).backgroundRead(0xc00003f980) /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:681 +0x37 created by net/http.(*connReader).startBackgroundRead in goroutine 91938 /opt/hostedtoolcache/go/1.22.10/x64/src/net/http/server.go:677 +0xba