goroutine 5889 [running]: runtime/pprof.writeGoroutineStacks({0xe76100, 0x40003ce620}) /usr/local/go/src/runtime/pprof/pprof.go:743 +0x6c runtime/pprof.writeGoroutine({0xe76100?, 0x40003ce620?}, 0xffff6f8701f8?) /usr/local/go/src/runtime/pprof/pprof.go:732 +0x2c runtime/pprof.(*Profile).WriteTo(0x15bd560?, {0xe76100?, 0x40003ce620?}, 0xc?) /usr/local/go/src/runtime/pprof/pprof.go:369 +0x148 net/http/pprof.handler.ServeHTTP({0xbe2c71, 0x9}, {0xe7ddc8, 0x40003ce620}, 0x40000fd320) /usr/local/go/src/net/http/pprof/pprof.go:267 +0x444 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0x40003368a0, {0xe7ddc8, 0x40003ce620}, 0x40000fd320) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:459 +0x288 net/http.HandlerFunc.ServeHTTP(0x40002ab718?, {0xe7ddc8?, 0x40003ce620?}, 0x7?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/chi/v5/middleware.NoCache.func1({0xe7ddc8, 0x40003ce620}, 0x40000fd320) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/middleware/nocache.go:55 +0x218 net/http.HandlerFunc.ServeHTTP(0x40038a5dd0?, {0xe7ddc8?, 0x40003ce620?}, 0x40002ab7e8?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0x40003368a0, {0xe7ddc8, 0x40003ce620}, 0x40000fd320) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:73 +0x2c4 github.com/go-chi/chi/v5.(*Mux).Mount.func1({0xe7ddc8, 0x40003ce620}, 0x40000fd320) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:327 +0x1e0 net/http.HandlerFunc.ServeHTTP(0x40004e02d0?, {0xe7ddc8?, 0x40003ce620?}, 0x4002cf65a4?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0x4000336840, {0xe7ddc8, 0x40003ce620}, 0x40000fd320) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:459 +0x288 net/http.HandlerFunc.ServeHTTP(0x4000309ea0?, {0xe7ddc8?, 0x40003ce620?}, 0x40000fd320?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/cors.(*Cors).Handler-fm.(*Cors).Handler.func1({0xe7ddc8, 0x40003ce620}, 0x40000fd320) /go/pkg/mod/github.com/go-chi/cors@v1.2.1/cors.go:228 +0x19c net/http.HandlerFunc.ServeHTTP(0xb3ba00?, {0xe7ddc8?, 0x40003ce620?}, 0x10?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/0xERR0R/blocky/server.secureHeader.func1({0xe7ddc8, 0x40003ce620}, 0x40000fd320) /go/src/server/server_endpoints.go:44 +0x2e0 net/http.HandlerFunc.ServeHTTP(0xe80318?, {0xe7ddc8?, 0x40003ce620?}, 0x15b6930?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0x4000336840, {0xe7ddc8, 0x40003ce620}, 0x40000fd200) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:90 +0x280 net/http.serverHandler.ServeHTTP({0x4001378ea0?}, {0xe7ddc8?, 0x40003ce620?}, 0x6?) /usr/local/go/src/net/http/server.go:3137 +0xbc net/http.(*conn).serve(0x40004593b0, {0xe802e0, 0x400038f020}) /usr/local/go/src/net/http/server.go:2039 +0x508 created by net/http.(*Server).Serve in goroutine 56 /usr/local/go/src/net/http/server.go:3285 +0x3f0 goroutine 1 [chan receive, 129 minutes]: github.com/0xERR0R/blocky/cmd.startServer(0x0?, {0x0?, 0x0?, 0x0?}) /go/src/cmd/serve.go:77 +0x328 github.com/0xERR0R/blocky/cmd.NewRootCommand.func1(0x400013f300?, {0x1648360?, 0x4?, 0xbdc774?}) /go/src/cmd/root.go:43 +0x8c github.com/spf13/cobra.(*Command).execute(0x40001bd508, {0x4000114120, 0x0, 0x0}) /go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:983 +0x840 github.com/spf13/cobra.(*Command).ExecuteC(0x40001bd508) /go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x344 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 +0x20 main.main() /go/src/main.go:10 +0x1c goroutine 24 [chan receive, 129 minutes]: github.com/ramr/go-reaper.sigChildHandler(0x4000336600) /go/pkg/mod/github.com/ramr/go-reaper@v0.2.1/reaper.go:25 +0x6c created by github.com/ramr/go-reaper.reapChildren in goroutine 23 /go/pkg/mod/github.com/ramr/go-reaper@v0.2.1/reaper.go:44 +0x7c goroutine 22 [syscall, 129 minutes]: os/signal.signal_recv() /usr/local/go/src/runtime/sigqueue.go:152 +0x30 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x1c created by os/signal.Notify.func1.1 in goroutine 1 /usr/local/go/src/os/signal/signal.go:151 +0x28 goroutine 23 [chan receive, 129 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 +0x8c created by github.com/ramr/go-reaper.Start in goroutine 20 /go/pkg/mod/github.com/ramr/go-reaper@v0.2.1/reaper.go:129 +0xd4 goroutine 41 [select, 129 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x0?, {0xe80318, 0x400033ca00}, 0x0?, 0x4000343260) /go/src/config/config.go:374 +0xd8 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /go/src/config/config.go:357 +0xc4 goroutine 43 [select, 129 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x0?, {0xe80318, 0x400033ca00}, 0x0?, 0x4000343270) /go/src/config/config.go:374 +0xd8 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /go/src/config/config.go:357 +0xc4 goroutine 44 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0xe80318, 0x400033ca00}, 0x40003706f0) /go/src/cache/expirationcache/expiration_cache.go:104 +0xc8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /go/src/cache/expirationcache/expiration_cache.go:94 +0x2dc goroutine 45 [select, 10 minutes]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0xe80318, 0x400033ca00}, 0x40003707e0) /go/src/cache/expirationcache/expiration_cache.go:104 +0xc8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /go/src/cache/expirationcache/expiration_cache.go:94 +0x2dc goroutine 46 [select, 129 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x0?, {0xe80318, 0x400033ca00}, 0x0?, 0x400034cae0) /go/src/config/config.go:374 +0xd8 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /go/src/config/config.go:357 +0xc4 goroutine 47 [select]: github.com/0xERR0R/blocky/resolver.(*QueryLoggingResolver).writeLog(0x400035adc0, {0xe80318?, 0x400033ca00?}) /go/src/resolver/query_logging_resolver.go:197 +0xac created by github.com/0xERR0R/blocky/resolver.NewQueryLoggingResolver in goroutine 1 /go/src/resolver/query_logging_resolver.go:86 +0x3f8 goroutine 52 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0xe80318, 0x400033ca00}, 0x4000370d50) /go/src/cache/expirationcache/expiration_cache.go:104 +0xc8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /go/src/cache/expirationcache/expiration_cache.go:94 +0x2dc goroutine 5890 [IO wait]: internal/poll.runtime_pollWait(0xffff6fbf74c0, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0xa0 internal/poll.(*pollDesc).wait(0x40000ab580?, 0x4000399000?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x28 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x40000ab580, {0x4000399000, 0x1000, 0x1000}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x200 net.(*netFD).Read(0x40000ab580, {0x4000399000?, 0x0?, 0x0?}) /usr/local/go/src/net/fd_posix.go:55 +0x28 net.(*conn).Read(0x4001296f90, {0x4000399000?, 0x72?, 0x4001378e48?}) /usr/local/go/src/net/net.go:179 +0x34 net/http.(*connReader).Read(0x4001378e40, {0x4000399000, 0x1000, 0x1000}) /usr/local/go/src/net/http/server.go:789 +0x224 bufio.(*Reader).fill(0x4000640a20) /usr/local/go/src/bufio/bufio.go:110 +0xf8 bufio.(*Reader).Peek(0x4000640a20, 0x4) /usr/local/go/src/bufio/bufio.go:148 +0x60 net/http.(*conn).serve(0x4000459440, {0xe802e0, 0x400038f020}) /usr/local/go/src/net/http/server.go:2074 +0x63c created by net/http.(*Server).Serve in goroutine 56 /usr/local/go/src/net/http/server.go:3285 +0x3f0 goroutine 54 [IO wait]: internal/poll.runtime_pollWait(0xffff6fbf7c80, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0xa0 internal/poll.(*pollDesc).wait(0x40000aa080?, 0x40003e2000?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x28 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).ReadMsgInet6(0x40000aa080, {0x40003e2000, 0xffff, 0xffff}, {0x4002cf6570, 0x28, 0x28}, 0x0, 0x40003e1a30) /usr/local/go/src/internal/poll/fd_unix.go:355 +0x254 net.(*netFD).readMsgInet6(0x40000aa080, {0x40003e2000?, 0x40003e1a18?, 0x6f8a4?}, {0x4002cf6570?, 0x203dc?, 0x40003e1a78?}, 0x70478?, 0x40003e1a78?) /usr/local/go/src/net/fd_posix.go:90 +0x2c net.(*UDPConn).readMsg(0x40003e1b08?, {0x40003e2000?, 0x0?, 0xd656d0?}, {0x4002cf6570?, 0xffff6fbf7d70?, 0x40003e1b98?}) /usr/local/go/src/net/udpsock_posix.go:106 +0x88 net.(*UDPConn).ReadMsgUDPAddrPort(0x400006a088, {0x40003e2000?, 0x4002cf6570?, 0x0?}, {0x4002cf6570?, 0x4002cf6570?, 0x40003e1bc8?}) /usr/local/go/src/net/udpsock.go:203 +0x34 net.(*UDPConn).ReadMsgUDP(0x15e0820?, {0x40003e2000?, 0x40003e1c08?, 0x94690?}, {0x4002cf6570?, 0x3b81e4?, 0x40003e1c48?}) /usr/local/go/src/net/udpsock.go:191 +0x24 github.com/miekg/dns.ReadFromSessionUDP(0x400006a088, {0x40003e2000, 0xffff, 0xffff}) /go/pkg/mod/github.com/miekg/dns@v1.1.59/udp.go:43 +0x70 github.com/miekg/dns.(*Server).readUDP(0x400030b9e0, 0x400006a088, 0x77359400) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:699 +0x158 github.com/miekg/dns.defaultReader.ReadUDP({0x4000092640?}, 0x400006a088?, 0x77359400?) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:174 +0x1c github.com/miekg/dns.(*Server).serveUDP(0x400030b9e0, {0xe868c0, 0x400006a088}) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:517 +0x20c github.com/miekg/dns.(*Server).ListenAndServe(0x400030b9e0) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:346 +0x49c github.com/0xERR0R/blocky/server.(*Server).Start.func1() /go/src/server/server.go:487 +0x30 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /go/src/server/server.go:486 +0xc0 goroutine 55 [IO wait, 129 minutes]: internal/poll.runtime_pollWait(0xffff6fbf7b88, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0xa0 internal/poll.(*pollDesc).wait(0x9?, 0x6?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x28 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0x40000aa200) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x250 net.(*netFD).accept(0x40000aa200) /usr/local/go/src/net/fd_unix.go:172 +0x28 net.(*TCPListener).accept(0x40001603c0) /usr/local/go/src/net/tcpsock_posix.go:159 +0x28 net.(*TCPListener).Accept(0x40001603c0) /usr/local/go/src/net/tcpsock.go:327 +0x2c github.com/miekg/dns.(*Server).serveTCP(0x400030bb00, {0xe7deb8, 0x40001603c0}) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:461 +0xe4 github.com/miekg/dns.(*Server).ListenAndServe(0x400030bb00) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:318 +0x34c github.com/0xERR0R/blocky/server.(*Server).Start.func1() /go/src/server/server.go:487 +0x30 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /go/src/server/server.go:486 +0xc0 goroutine 56 [IO wait]: internal/poll.runtime_pollWait(0xffff6fbf7e70, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0xa0 internal/poll.(*pollDesc).wait(0x3?, 0x8?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x28 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0x400035e000) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x250 net.(*netFD).accept(0x400035e000) /usr/local/go/src/net/fd_unix.go:172 +0x28 net.(*TCPListener).accept(0x400034c580) /usr/local/go/src/net/tcpsock_posix.go:159 +0x28 net.(*TCPListener).Accept(0x400034c580) /usr/local/go/src/net/tcpsock.go:327 +0x2c net/http.(*Server).Serve(0x40001ba000, {0xe7deb8, 0x400034c580}) /usr/local/go/src/net/http/server.go:3255 +0x2a8 github.com/0xERR0R/blocky/server.(*Server).Start.func2() /go/src/server/server.go:507 +0x12c created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /go/src/server/server.go:497 +0x160 goroutine 57 [select, 129 minutes]: github.com/0xERR0R/blocky/server.registerPrintConfigurationTrigger.func1() /go/src/server/server_config_trigger.go:19 +0x88 created by github.com/0xERR0R/blocky/server.registerPrintConfigurationTrigger in goroutine 1 /go/src/server/server_config_trigger.go:17 +0xcc goroutine 58 [select, 129 minutes]: github.com/0xERR0R/blocky/cmd.startServer.func1() /go/src/cmd/serve.go:63 +0x80 created by github.com/0xERR0R/blocky/cmd.startServer in goroutine 1 /go/src/cmd/serve.go:62 +0x23c goroutine 5929 [IO wait]: internal/poll.runtime_pollWait(0xffff6fbf7d78, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0xa0 internal/poll.(*pollDesc).wait(0x40000ab500?, 0x4001378eb1?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x28 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0x40000ab500, {0x4001378eb1, 0x1, 0x1}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x200 net.(*netFD).Read(0x40000ab500, {0x4001378eb1?, 0x0?, 0x0?}) /usr/local/go/src/net/fd_posix.go:55 +0x28 net.(*conn).Read(0x4001296f88, {0x4001378eb1?, 0x400033c8c0?, 0x400019ecf0?}) /usr/local/go/src/net/net.go:179 +0x34 net/http.(*connReader).backgroundRead(0x4001378ea0) /usr/local/go/src/net/http/server.go:681 +0x40 created by net/http.(*connReader).startBackgroundRead in goroutine 5889 /usr/local/go/src/net/http/server.go:677 +0xc8