goroutine 76060 [running]: runtime/pprof.writeGoroutineStacks({0xe76100, 0x4000393180}) /usr/local/go/src/runtime/pprof/pprof.go:743 +0x6c runtime/pprof.writeGoroutine({0xe76100?, 0x4000393180?}, 0xffff3f91f728?) /usr/local/go/src/runtime/pprof/pprof.go:732 +0x2c runtime/pprof.(*Profile).WriteTo(0x15bd560?, {0xe76100?, 0x4000393180?}, 0xc?) /usr/local/go/src/runtime/pprof/pprof.go:369 +0x148 net/http/pprof.handler.ServeHTTP({0xbe2c71, 0x9}, {0xe7ddc8, 0x4000393180}, 0x40004a4000) /usr/local/go/src/net/http/pprof/pprof.go:267 +0x444 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0x400019bb60, {0xe7ddc8, 0x4000393180}, 0x40004a4000) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:459 +0x288 net/http.HandlerFunc.ServeHTTP(0x40004db718?, {0xe7ddc8?, 0x4000393180?}, 0x7?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/chi/v5/middleware.NoCache.func1({0xe7ddc8, 0x4000393180}, 0x40004a4000) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/middleware/nocache.go:55 +0x218 net/http.HandlerFunc.ServeHTTP(0x4000baa4b0?, {0xe7ddc8?, 0x4000393180?}, 0x40004db7e8?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0x400019bb60, {0xe7ddc8, 0x4000393180}, 0x40004a4000) /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, 0x4000393180}, 0x40004a4000) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:327 +0x1e0 net/http.HandlerFunc.ServeHTTP(0x400015a000?, {0xe7ddc8?, 0x4000393180?}, 0x40000ba7e4?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0x400019bb00, {0xe7ddc8, 0x4000393180}, 0x40004a4000) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:459 +0x288 net/http.HandlerFunc.ServeHTTP(0x40003febe0?, {0xe7ddc8?, 0x4000393180?}, 0x40004a4000?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/cors.(*Cors).Handler-fm.(*Cors).Handler.func1({0xe7ddc8, 0x4000393180}, 0x40004a4000) /go/pkg/mod/github.com/go-chi/cors@v1.2.1/cors.go:228 +0x19c net/http.HandlerFunc.ServeHTTP(0xb3ba00?, {0xe7ddc8?, 0x4000393180?}, 0x10?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/0xERR0R/blocky/server.secureHeader.func1({0xe7ddc8, 0x4000393180}, 0x40004a4000) /go/src/server/server_endpoints.go:44 +0x2e0 net/http.HandlerFunc.ServeHTTP(0xe80318?, {0xe7ddc8?, 0x4000393180?}, 0x15b6930?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0x400019bb00, {0xe7ddc8, 0x4000393180}, 0x40004839e0) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:90 +0x280 net/http.serverHandler.ServeHTTP({0x400017d890?}, {0xe7ddc8?, 0x4000393180?}, 0x6?) /usr/local/go/src/net/http/server.go:3137 +0xbc net/http.(*conn).serve(0x400030a480, {0xe802e0, 0x400049af90}) /usr/local/go/src/net/http/server.go:2039 +0x508 created by net/http.(*Server).Serve in goroutine 64 /usr/local/go/src/net/http/server.go:3285 +0x3f0 goroutine 1 [chan receive, 31951 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(0x4000318a00?, {0x1648360?, 0x4?, 0xbdc774?}) /go/src/cmd/root.go:43 +0x8c github.com/spf13/cobra.(*Command).execute(0x40001d4308, {0x400003a130, 0x0, 0x0}) /go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:983 +0x840 github.com/spf13/cobra.(*Command).ExecuteC(0x40001d4308) /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 21 [chan receive, 31951 minutes]: github.com/ramr/go-reaper.sigChildHandler(0x40000aa180) /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 20 /go/pkg/mod/github.com/ramr/go-reaper@v0.2.1/reaper.go:44 +0x7c goroutine 20 [chan receive, 31951 minutes]: github.com/ramr/go-reaper.reapChildren({0x15e2160?, 0x4f8d0?, 0x6e?, 0x27?}) /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 35 /go/pkg/mod/github.com/ramr/go-reaper@v0.2.1/reaper.go:129 +0xd4 goroutine 23 [syscall, 31951 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 21 /usr/local/go/src/os/signal/signal.go:151 +0x28 goroutine 86 [select, 33 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x0?, {0xe80318, 0x40001a5b30}, 0x0?, 0x40004240c0) /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 31 [select, 31 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x0?, {0xe80318, 0x40001a5b30}, 0x88de4?, 0x40003f3e90) /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 83 [select, 33 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x0?, {0xe80318, 0x40001a5b30}, 0x88de4?, 0x4000814120) /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 85 [select, 33 minutes]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0xe80318, 0x40001a5b30}, 0x400078c690) /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 84 [select, 1 minutes]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0xe80318, 0x40001a5b30}, 0x400078c5a0) /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 87 [select, 97 minutes]: github.com/0xERR0R/blocky/resolver.(*QueryLoggingResolver).writeLog(0x4000487380, {0xe80318?, 0x40001a5b30?}) /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 92 [select, 1 minutes]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0xe80318, 0x40001a5b30}, 0x400078cc00) /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 62 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0xffff3fc84bc8, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0xa0 internal/poll.(*pollDesc).wait(0x400012e080?, 0x400037a000?, 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(0x400012e080, {0x400037a000, 0xffff, 0xffff}, {0x40001ea780, 0x28, 0x28}, 0x0, 0x4000195a30) /usr/local/go/src/internal/poll/fd_unix.go:355 +0x254 net.(*netFD).readMsgInet6(0x400012e080, {0x400037a000?, 0x4000195a18?, 0x6f8a4?}, {0x40001ea780?, 0x203dc?, 0x4000195a78?}, 0x70478?, 0x4000195a78?) /usr/local/go/src/net/fd_posix.go:90 +0x2c net.(*UDPConn).readMsg(0x4000195b08?, {0x400037a000?, 0x0?, 0xd656d0?}, {0x40001ea780?, 0xffff3fc84cb8?, 0x4000195b98?}) /usr/local/go/src/net/udpsock_posix.go:106 +0x88 net.(*UDPConn).ReadMsgUDPAddrPort(0x400041e000, {0x400037a000?, 0x40001ea780?, 0x0?}, {0x40001ea780?, 0x40001ea780?, 0x4000195bc8?}) /usr/local/go/src/net/udpsock.go:203 +0x34 net.(*UDPConn).ReadMsgUDP(0x40001899d0?, {0x400037a000?, 0x4000195c08?, 0x94690?}, {0x40001ea780?, 0x3b81e4?, 0x4000195c48?}) /usr/local/go/src/net/udpsock.go:191 +0x24 github.com/miekg/dns.ReadFromSessionUDP(0x400041e000, {0x400037a000, 0xffff, 0xffff}) /go/pkg/mod/github.com/miekg/dns@v1.1.59/udp.go:43 +0x70 github.com/miekg/dns.(*Server).readUDP(0x40001d2d80, 0x400041e000, 0x77359400) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:699 +0x158 github.com/miekg/dns.defaultReader.ReadUDP({0x40000ac4b0?}, 0x400041e000?, 0x77359400?) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:174 +0x1c github.com/miekg/dns.(*Server).serveUDP(0x40001d2d80, {0xe868c0, 0x400041e000}) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:517 +0x20c github.com/miekg/dns.(*Server).ListenAndServe(0x40001d2d80) /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 63 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0xffff3fc84db8, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0xa0 internal/poll.(*pollDesc).wait(0x9?, 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(0x4000442000) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x250 net.(*netFD).accept(0x4000442000) /usr/local/go/src/net/fd_unix.go:172 +0x28 net.(*TCPListener).accept(0x4000250000) /usr/local/go/src/net/tcpsock_posix.go:159 +0x28 net.(*TCPListener).Accept(0x4000250000) /usr/local/go/src/net/tcpsock.go:327 +0x2c github.com/miekg/dns.(*Server).serveTCP(0x40001d2ea0, {0xe7deb8, 0x4000250000}) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:461 +0xe4 github.com/miekg/dns.(*Server).ListenAndServe(0x40001d2ea0) /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 64 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0xffff3fc84eb0, 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(0x4000315280) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x250 net.(*netFD).accept(0x4000315280) /usr/local/go/src/net/fd_unix.go:172 +0x28 net.(*TCPListener).accept(0x40001a1ac0) /usr/local/go/src/net/tcpsock_posix.go:159 +0x28 net.(*TCPListener).Accept(0x40001a1ac0) /usr/local/go/src/net/tcpsock.go:327 +0x2c net/http.(*Server).Serve(0x40008360f0, {0xe7deb8, 0x40001a1ac0}) /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 97 [select, 31951 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 98 [select, 31951 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 76059 [IO wait]: internal/poll.runtime_pollWait(0xffff3f88cee0, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0xa0 internal/poll.(*pollDesc).wait(0x400027e380?, 0x40002fd000?, 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(0x400027e380, {0x40002fd000, 0x1000, 0x1000}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x200 net.(*netFD).Read(0x400027e380, {0x40002fd000?, 0x0?, 0x0?}) /usr/local/go/src/net/fd_posix.go:55 +0x28 net.(*conn).Read(0x400018e410, {0x40002fd000?, 0x72?, 0x4000e9a0f8?}) /usr/local/go/src/net/net.go:179 +0x34 net/http.(*connReader).Read(0x4000e9a0f0, {0x40002fd000, 0x1000, 0x1000}) /usr/local/go/src/net/http/server.go:789 +0x224 bufio.(*Reader).fill(0x40003200c0) /usr/local/go/src/bufio/bufio.go:110 +0xf8 bufio.(*Reader).Peek(0x40003200c0, 0x4) /usr/local/go/src/bufio/bufio.go:148 +0x60 net/http.(*conn).serve(0x400030a3f0, {0xe802e0, 0x400049af90}) /usr/local/go/src/net/http/server.go:2074 +0x63c created by net/http.(*Server).Serve in goroutine 64 /usr/local/go/src/net/http/server.go:3285 +0x3f0 goroutine 76043 [IO wait]: internal/poll.runtime_pollWait(0xffff3f902d70, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0xa0 internal/poll.(*pollDesc).wait(0x400027e400?, 0x400017d8a1?, 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(0x400027e400, {0x400017d8a1, 0x1, 0x1}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x200 net.(*netFD).Read(0x400027e400, {0x400017d8a1?, 0x400018e3d0?, 0x77359400?}) /usr/local/go/src/net/fd_posix.go:55 +0x28 net.(*conn).Read(0x400018e418, {0x400017d8a1?, 0x77359400?, 0xe7b200?}) /usr/local/go/src/net/net.go:179 +0x34 net/http.(*connReader).backgroundRead(0x400017d890) /usr/local/go/src/net/http/server.go:681 +0x40 created by net/http.(*connReader).startBackgroundRead in goroutine 76060 /usr/local/go/src/net/http/server.go:677 +0xc8