goroutine 3826 [running]: runtime/pprof.writeGoroutineStacks({0x12f3f20, 0xc0001022a0}) /usr/local/go/src/runtime/pprof/pprof.go:743 +0x6a runtime/pprof.writeGoroutine({0x12f3f20?, 0xc0001022a0?}, 0x41a218?) /usr/local/go/src/runtime/pprof/pprof.go:732 +0x25 runtime/pprof.(*Profile).WriteTo(0x1a63480?, {0x12f3f20?, 0xc0001022a0?}, 0xc?) /usr/local/go/src/runtime/pprof/pprof.go:369 +0x14b net/http/pprof.handler.ServeHTTP({0x1060f98, 0x9}, {0x12fba88, 0xc0001022a0}, 0xc00027e5a0) /usr/local/go/src/net/http/pprof/pprof.go:267 +0x52f github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0002b4c00, {0x12fba88, 0xc0001022a0}, 0xc00027e5a0) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:459 +0x2e6 net/http.HandlerFunc.ServeHTTP(0xc000027768?, {0x12fba88?, 0xc0001022a0?}, 0x6?) /usr/local/go/src/net/http/server.go:2166 +0x29 github.com/go-chi/chi/v5/middleware.NoCache.func1({0x12fba88, 0xc0001022a0}, 0xc00027e5a0) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/middleware/nocache.go:55 +0x28d net/http.HandlerFunc.ServeHTTP(0xc0003ad320?, {0x12fba88?, 0xc0001022a0?}, 0xc000027830?) /usr/local/go/src/net/http/server.go:2166 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0002b4c00, {0x12fba88, 0xc0001022a0}, 0xc00027e5a0) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:73 +0x32f github.com/go-chi/chi/v5.(*Mux).Mount.func1({0x12fba88, 0xc0001022a0}, 0xc00027e5a0) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:327 +0x1bb net/http.HandlerFunc.ServeHTTP(0xc0001fa4b0?, {0x12fba88?, 0xc0001022a0?}, 0xc0002821b4?) /usr/local/go/src/net/http/server.go:2166 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc0002b4ba0, {0x12fba88, 0xc0001022a0}, 0xc00027e5a0) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:459 +0x2e6 net/http.HandlerFunc.ServeHTTP(0xc0003a70e0?, {0x12fba88?, 0xc0001022a0?}, 0xc00027e5a0?) /usr/local/go/src/net/http/server.go:2166 +0x29 github.com/go-chi/cors.(*Cors).Handler-fm.(*Cors).Handler.func1({0x12fba88, 0xc0001022a0}, 0xc00027e5a0) /go/pkg/mod/github.com/go-chi/cors@v1.2.1/cors.go:228 +0x17e net/http.HandlerFunc.ServeHTTP(0xfb9c60?, {0x12fba88?, 0xc0001022a0?}, 0x10?) /usr/local/go/src/net/http/server.go:2166 +0x29 github.com/0xERR0R/blocky/server.secureHeader.func1({0x12fba88, 0xc0001022a0}, 0xc00027e5a0) /go/src/server/server_endpoints.go:44 +0x30c net/http.HandlerFunc.ServeHTTP(0x12fdf80?, {0x12fba88?, 0xc0001022a0?}, 0x1a5c8b0?) /usr/local/go/src/net/http/server.go:2166 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc0002b4ba0, {0x12fba88, 0xc0001022a0}, 0xc00027e480) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:90 +0x2ee net/http.serverHandler.ServeHTTP({0xc0003ad230?}, {0x12fba88?, 0xc0001022a0?}, 0x6?) /usr/local/go/src/net/http/server.go:3137 +0x8e net/http.(*conn).serve(0xc000110090, {0x12fdf48, 0xc0002f74d0}) /usr/local/go/src/net/http/server.go:2039 +0x5e8 created by net/http.(*Server).Serve in goroutine 61 /usr/local/go/src/net/http/server.go:3285 +0x4b4 goroutine 1 [chan receive, 549 minutes]: github.com/0xERR0R/blocky/cmd.startServer(0x0?, {0x0?, 0x0?, 0x0?}) /go/src/cmd/serve.go:77 +0x38b github.com/0xERR0R/blocky/cmd.NewRootCommand.func1(0xc0001c5100?, {0x1ae8160?, 0x4?, 0x105aac0?}) /go/src/cmd/root.go:43 +0xab github.com/spf13/cobra.(*Command).execute(0xc00012d508, {0xc00003e170, 0x0, 0x0}) /go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:983 +0xaca github.com/spf13/cobra.(*Command).ExecuteC(0xc00012d508) /go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x3ff github.com/spf13/cobra.(*Command).Execute(...) /go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039 github.com/0xERR0R/blocky/cmd.Execute() /go/src/cmd/root.go:113 +0x18 main.main() /go/src/main.go:10 +0x13 goroutine 10 [chan receive, 549 minutes]: github.com/ramr/go-reaper.sigChildHandler(0xc0002b4060) /go/pkg/mod/github.com/ramr/go-reaper@v0.2.1/reaper.go:25 +0x72 created by github.com/ramr/go-reaper.reapChildren in goroutine 9 /go/pkg/mod/github.com/ramr/go-reaper@v0.2.1/reaper.go:44 +0x7b goroutine 9 [chan receive, 549 minutes]: github.com/ramr/go-reaper.reapChildren({0x0?, 0x0?, 0x0?, 0x0?}) /go/pkg/mod/github.com/ramr/go-reaper@v0.2.1/reaper.go:50 +0x96 created by github.com/ramr/go-reaper.Start in goroutine 8 /go/pkg/mod/github.com/ramr/go-reaper@v0.2.1/reaper.go:129 +0xd0 goroutine 12 [syscall, 549 minutes]: os/signal.signal_recv() /usr/local/go/src/runtime/sigqueue.go:152 +0x29 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x13 created by os/signal.Notify.func1.1 in goroutine 10 /usr/local/go/src/os/signal/signal.go:151 +0x1f goroutine 43 [select, 70 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc000305fd0?, {0x12fdf80, 0xc00031eff0}, 0xc0004dcf00?, 0xc00023eb90) /go/src/config/config.go:374 +0x112 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /go/src/config/config.go:357 +0xc6 goroutine 47 [select, 70 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc000304fd0?, {0x12fdf80, 0xc00031eff0}, 0xc0004dd380?, 0xc00023eba0) /go/src/config/config.go:374 +0x112 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /go/src/config/config.go:357 +0xc6 goroutine 48 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x12fdf80, 0xc00031eff0}, 0xc0002f7f50) /go/src/cache/expirationcache/expiration_cache.go:104 +0xf8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /go/src/cache/expirationcache/expiration_cache.go:94 +0x2db goroutine 49 [select, 10 minutes]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x12fdf80, 0xc00031eff0}, 0xc0000a49c0) /go/src/cache/expirationcache/expiration_cache.go:104 +0xf8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /go/src/cache/expirationcache/expiration_cache.go:94 +0x2db goroutine 50 [select, 70 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x0?, {0x12fdf80, 0xc00031eff0}, 0x0?, 0xc0001eaea0) /go/src/config/config.go:374 +0x112 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /go/src/config/config.go:357 +0xc6 goroutine 51 [select, 26 minutes]: github.com/0xERR0R/blocky/resolver.(*QueryLoggingResolver).writeLog(0xc0001ff040, {0x12fdf80?, 0xc00031eff0?}) /go/src/resolver/query_logging_resolver.go:197 +0xea created by github.com/0xERR0R/blocky/resolver.NewQueryLoggingResolver in goroutine 1 /go/src/resolver/query_logging_resolver.go:86 +0x4cc goroutine 56 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x12fdf80, 0xc00031eff0}, 0xc0000a52f0) /go/src/cache/expirationcache/expiration_cache.go:104 +0xf8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /go/src/cache/expirationcache/expiration_cache.go:94 +0x2db goroutine 57 [IO wait]: internal/poll.runtime_pollWait(0x7b7680865ad0, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc000046080?, 0xc0003b6000?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).ReadMsgInet6(0xc000046080, {0xc0003b6000, 0xffff, 0xffff}, {0xc000282060, 0x28, 0x28}, 0x0, 0xc0002cfa68) /usr/local/go/src/internal/poll/fd_unix.go:355 +0x339 net.(*netFD).readMsgInet6(0xc000046080, {0xc0003b6000?, 0x41a218?, 0x7b7680888688?}, {0xc000282060?, 0x16?, 0xc0002cfad8?}, 0x411b9b?, 0xc0002cfad8?) /usr/local/go/src/net/fd_posix.go:90 +0x31 net.(*UDPConn).readMsg(0xc0002cfbc8?, {0xc0003b6000?, 0x7b7680865b18?, 0x39b33e5cd2090?}, {0xc000282060?, 0x11e3b38?, 0xf50280?}) /usr/local/go/src/net/udpsock_posix.go:106 +0x8d net.(*UDPConn).ReadMsgUDPAddrPort(0xc000050510, {0xc0003b6000?, 0xc0001dd808?, 0xc000282060?}, {0xc000282060?, 0x0?, 0xc000282060?}) /usr/local/go/src/net/udpsock.go:203 +0x3e net.(*UDPConn).ReadMsgUDP(0x1dfcedb6848e?, {0xc0003b6000?, 0x4b2fe0?, 0xc000046080?}, {0xc000282060?, 0xc0002cfc80?, 0x5d9fc8?}) /usr/local/go/src/net/udpsock.go:191 +0x25 github.com/miekg/dns.ReadFromSessionUDP(0xc000050510, {0xc0003b6000, 0xffff, 0xffff}) /go/pkg/mod/github.com/miekg/dns@v1.1.59/udp.go:43 +0x87 github.com/miekg/dns.(*Server).readUDP(0xc00027e7e0, 0xc000050510, 0x77359400) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:699 +0x105 github.com/miekg/dns.defaultReader.ReadUDP({0xc00027e7e0?}, 0xf51540?, 0xc0002ffd40?) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:174 +0x13 github.com/miekg/dns.(*Server).serveUDP(0xc00027e7e0, {0x1304540, 0xc000050510}) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:517 +0x262 github.com/miekg/dns.(*Server).ListenAndServe(0xc00027e7e0) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:346 +0x570 github.com/0xERR0R/blocky/server.(*Server).Start.func1() /go/src/server/server.go:487 +0x29 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /go/src/server/server.go:486 +0xdf goroutine 58 [IO wait, 2 minutes]: internal/poll.runtime_pollWait(0x7b76808659d8, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xb?, 0x1?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc000046180) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc000046180) /usr/local/go/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc000074400) /usr/local/go/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc000074400) /usr/local/go/src/net/tcpsock.go:327 +0x30 github.com/miekg/dns.(*Server).serveTCP(0xc00027e900, {0x12fbb78, 0xc000074400}) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:461 +0x12c github.com/miekg/dns.(*Server).ListenAndServe(0xc00027e900) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:318 +0x3d3 github.com/0xERR0R/blocky/server.(*Server).Start.func1() /go/src/server/server.go:487 +0x29 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /go/src/server/server.go:486 +0xdf goroutine 59 [IO wait, 26 minutes]: internal/poll.runtime_pollWait(0x7b76808658e0, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0xc?, 0x1?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc000046200) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc000046200) /usr/local/go/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc000074440) /usr/local/go/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc000074440) /usr/local/go/src/net/tcpsock.go:327 +0x30 crypto/tls.(*listener).Accept(0xc0002ae618) /usr/local/go/src/crypto/tls/tls.go:66 +0x27 github.com/miekg/dns.(*Server).serveTCP(0xc00027ea20, {0x12fbb18, 0xc0002ae618}) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:461 +0x12c github.com/miekg/dns.(*Server).ListenAndServe(0xc00027ea20) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:332 +0x847 github.com/0xERR0R/blocky/server.(*Server).Start.func1() /go/src/server/server.go:487 +0x29 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /go/src/server/server.go:486 +0xdf goroutine 60 [IO wait, 549 minutes]: internal/poll.runtime_pollWait(0x7b7680865eb0, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0x3?, 0x10?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc000332680) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc000332680) /usr/local/go/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc0003a2a00) /usr/local/go/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc0003a2a00) /usr/local/go/src/net/tcpsock.go:327 +0x30 net/http.(*Server).Serve(0xc0001fa0f0, {0x12fbb78, 0xc0003a2a00}) /usr/local/go/src/net/http/server.go:3255 +0x33e github.com/0xERR0R/blocky/server.(*Server).Start.func2() /go/src/server/server.go:507 +0x145 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /go/src/server/server.go:497 +0x194 goroutine 61 [IO wait]: internal/poll.runtime_pollWait(0x7b7680865db8, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0x85 internal/poll.(*pollDesc).wait(0x7?, 0xc000303990?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc000332700) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc000332700) /usr/local/go/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc0003a2a20) /usr/local/go/src/net/tcpsock_posix.go:159 +0x1e net.(*TCPListener).Accept(0xc0003a2a20) /usr/local/go/src/net/tcpsock.go:327 +0x30 crypto/tls.(*listener).Accept(0xc0002ae630) /usr/local/go/src/crypto/tls/tls.go:66 +0x27 net/http.(*Server).Serve(0xc0001fa1e0, {0x12fbb18, 0xc0002ae630}) /usr/local/go/src/net/http/server.go:3255 +0x33e net/http.(*Server).ServeTLS(0xc0001fa1e0, {0x12fbb78, 0xc0003a2a20}, {0x0, 0x0}, {0x0, 0x0}) /usr/local/go/src/net/http/server.go:3325 +0x486 github.com/0xERR0R/blocky/server.(*Server).Start.func3() /go/src/server/server.go:533 +0x2f6 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /go/src/server/server.go:517 +0x2d4 goroutine 62 [select, 549 minutes]: github.com/0xERR0R/blocky/server.registerPrintConfigurationTrigger.func1() /go/src/server/server_config_trigger.go:19 +0x8e created by github.com/0xERR0R/blocky/server.registerPrintConfigurationTrigger in goroutine 1 /go/src/server/server_config_trigger.go:17 +0xd0 goroutine 63 [select, 549 minutes]: github.com/0xERR0R/blocky/cmd.startServer.func1() /go/src/cmd/serve.go:63 +0x96 created by github.com/0xERR0R/blocky/cmd.startServer in goroutine 1 /go/src/cmd/serve.go:62 +0x2a5 goroutine 3827 [runnable]: net/http.(*connReader).startBackgroundRead.gowrap2() /usr/local/go/src/net/http/server.go:677 runtime.goexit({}) /usr/local/go/src/runtime/asm_amd64.s:1695 +0x1 created by net/http.(*connReader).startBackgroundRead in goroutine 3826 /usr/local/go/src/net/http/server.go:677 +0xba