goroutine 1266 [running]: runtime/pprof.writeGoroutineStacks({0xe76100, 0x40003ec2a0}) /usr/local/go/src/runtime/pprof/pprof.go:743 +0x6c runtime/pprof.writeGoroutine({0xe76100?, 0x40003ec2a0?}, 0xffff3c47ecb8?) /usr/local/go/src/runtime/pprof/pprof.go:732 +0x2c runtime/pprof.(*Profile).WriteTo(0x15bd560?, {0xe76100?, 0x40003ec2a0?}, 0xc?) /usr/local/go/src/runtime/pprof/pprof.go:369 +0x148 net/http/pprof.handler.ServeHTTP({0xbe2c71, 0x9}, {0xe7ddc8, 0x40003ec2a0}, 0x4000294360) /usr/local/go/src/net/http/pprof/pprof.go:267 +0x444 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0x400033e720, {0xe7ddc8, 0x40003ec2a0}, 0x4000294360) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:459 +0x288 net/http.HandlerFunc.ServeHTTP(0x4000013718?, {0xe7ddc8?, 0x40003ec2a0?}, 0xd?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/chi/v5/middleware.NoCache.func1({0xe7ddc8, 0x40003ec2a0}, 0x4000294360) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/middleware/nocache.go:55 +0x218 net/http.HandlerFunc.ServeHTTP(0x400021c960?, {0xe7ddc8?, 0x40003ec2a0?}, 0x40000137e8?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0x400033e720, {0xe7ddc8, 0x40003ec2a0}, 0x4000294360) /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, 0x40003ec2a0}, 0x4000294360) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:327 +0x1e0 net/http.HandlerFunc.ServeHTTP(0x40001ba1e0?, {0xe7ddc8?, 0x40003ec2a0?}, 0x40003302a4?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0x400033e6c0, {0xe7ddc8, 0x40003ec2a0}, 0x4000294360) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:459 +0x288 net/http.HandlerFunc.ServeHTTP(0x4000368280?, {0xe7ddc8?, 0x40003ec2a0?}, 0x4000294360?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/cors.(*Cors).Handler-fm.(*Cors).Handler.func1({0xe7ddc8, 0x40003ec2a0}, 0x4000294360) /go/pkg/mod/github.com/go-chi/cors@v1.2.1/cors.go:228 +0x19c net/http.HandlerFunc.ServeHTTP(0xb3ba00?, {0xe7ddc8?, 0x40003ec2a0?}, 0x10?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/0xERR0R/blocky/server.secureHeader.func1({0xe7ddc8, 0x40003ec2a0}, 0x4000294360) /go/src/server/server_endpoints.go:44 +0x2e0 net/http.HandlerFunc.ServeHTTP(0xe80318?, {0xe7ddc8?, 0x40003ec2a0?}, 0x15b6930?) /usr/local/go/src/net/http/server.go:2166 +0x38 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0x400033e6c0, {0xe7ddc8, 0x40003ec2a0}, 0x40003a2480) /go/pkg/mod/github.com/go-chi/chi/v5@v5.0.12/mux.go:90 +0x280 net/http.serverHandler.ServeHTTP({0x40001bec00?}, {0xe7ddc8?, 0x40003ec2a0?}, 0x6?) /usr/local/go/src/net/http/server.go:3137 +0xbc net/http.(*conn).serve(0x4000094cf0, {0xe802e0, 0x40001191d0}) /usr/local/go/src/net/http/server.go:2039 +0x508 created by net/http.(*Server).Serve in goroutine 10 /usr/local/go/src/net/http/server.go:3285 +0x3f0 goroutine 1 [chan receive, 245 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(0x4000141300?, {0x1648360?, 0x4?, 0xbdc774?}) /go/src/cmd/root.go:43 +0x8c github.com/spf13/cobra.(*Command).execute(0x40001bd508, {0x4000116120, 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 6 [chan receive, 245 minutes]: github.com/ramr/go-reaper.sigChildHandler(0x4000088060) /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 5 /go/pkg/mod/github.com/ramr/go-reaper@v0.2.1/reaper.go:44 +0x7c goroutine 5 [chan receive, 245 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 21 [syscall, 245 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 6 /usr/local/go/src/os/signal/signal.go:151 +0x28 goroutine 56 [select, 245 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 40 [select, 6 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x0?, {0xe80318, 0x4000344b40}, 0x88de4?, 0x400035cfc0) /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 8 [IO wait]: internal/poll.runtime_pollWait(0xffff3c479d78, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0xa0 internal/poll.(*pollDesc).wait(0x4000362300?, 0x40002ac000?, 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(0x4000362300, {0x40002ac000, 0xffff, 0xffff}, {0x40000481e0, 0x28, 0x28}, 0x0, 0x40003d7a30) /usr/local/go/src/internal/poll/fd_unix.go:355 +0x254 net.(*netFD).readMsgInet6(0x4000362300, {0x40002ac000?, 0x40003d7a38?, 0x55124?}, {0x40000481e0?, 0x203dc?, 0x40003d7a38?}, 0x55114?, 0x40003d7a38?) /usr/local/go/src/net/fd_posix.go:90 +0x2c net.(*UDPConn).readMsg(0x40003d7b08?, {0x40002ac000?, 0x0?, 0xd656d0?}, {0x40000481e0?, 0xffff3c479e68?, 0x40003d7b98?}) /usr/local/go/src/net/udpsock_posix.go:106 +0x88 net.(*UDPConn).ReadMsgUDPAddrPort(0x400011c060, {0x40002ac000?, 0x40000481e0?, 0x0?}, {0x40000481e0?, 0x40000481e0?, 0x40003d7bc8?}) /usr/local/go/src/net/udpsock.go:203 +0x34 net.(*UDPConn).ReadMsgUDP(0x15e0820?, {0x40002ac000?, 0x40003d7c08?, 0x94690?}, {0x40000481e0?, 0x3b81e4?, 0x40003d7c48?}) /usr/local/go/src/net/udpsock.go:191 +0x24 github.com/miekg/dns.ReadFromSessionUDP(0x400011c060, {0x40002ac000, 0xffff, 0xffff}) /go/pkg/mod/github.com/miekg/dns@v1.1.59/udp.go:43 +0x70 github.com/miekg/dns.(*Server).readUDP(0x40002958c0, 0x400011c060, 0x77359400) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:699 +0x158 github.com/miekg/dns.defaultReader.ReadUDP({0x40002958c0?}, 0x400011c060?, 0x77359400?) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:174 +0x1c github.com/miekg/dns.(*Server).serveUDP(0x40002958c0, {0xe868c0, 0x400011c060}) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:517 +0x20c github.com/miekg/dns.(*Server).ListenAndServe(0x40002958c0) /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 44 [select, 6 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x0?, {0xe80318, 0x4000344b40}, 0x88de4?, 0x400035cfd0) /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 45 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0xe80318, 0x4000344b40}, 0x4000384510) /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, 6 minutes]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0xe80318, 0x4000344b40}, 0x4000384600) /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 47 [select, 6 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x0?, {0xe80318, 0x4000344b40}, 0x0?, 0x400035eb60) /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 48 [select, 242 minutes]: github.com/0xERR0R/blocky/resolver.(*QueryLoggingResolver).writeLog(0x400036cc40, {0xe80318?, 0x4000344b40?}) /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 53 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0xe80318, 0x4000344b40}, 0x4000384b70) /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 9 [IO wait, 245 minutes]: internal/poll.runtime_pollWait(0xffff3c479c80, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0xa0 internal/poll.(*pollDesc).wait(0x7?, 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(0x4000362100) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x250 net.(*netFD).accept(0x4000362100) /usr/local/go/src/net/fd_unix.go:172 +0x28 net.(*TCPListener).accept(0x4000204000) /usr/local/go/src/net/tcpsock_posix.go:159 +0x28 net.(*TCPListener).Accept(0x4000204000) /usr/local/go/src/net/tcpsock.go:327 +0x2c github.com/miekg/dns.(*Server).serveTCP(0x40002959e0, {0xe7deb8, 0x4000204000}) /go/pkg/mod/github.com/miekg/dns@v1.1.59/server.go:461 +0xe4 github.com/miekg/dns.(*Server).ListenAndServe(0x40002959e0) /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 10 [IO wait]: internal/poll.runtime_pollWait(0xffff3c479e70, 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(0x4000362280) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x250 net.(*netFD).accept(0x4000362280) /usr/local/go/src/net/fd_unix.go:172 +0x28 net.(*TCPListener).accept(0x400035e600) /usr/local/go/src/net/tcpsock_posix.go:159 +0x28 net.(*TCPListener).Accept(0x400035e600) /usr/local/go/src/net/tcpsock.go:327 +0x2c net/http.(*Server).Serve(0x40001ba000, {0xe7deb8, 0x400035e600}) /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, 245 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 1262 [IO wait]: internal/poll.runtime_pollWait(0xffff3c479a90, 0x72) /usr/local/go/src/runtime/netpoll.go:345 +0xa0 internal/poll.(*pollDesc).wait(0x4000362700?, 0x40001bec11?, 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(0x4000362700, {0x40001bec11, 0x1, 0x1}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x200 net.(*netFD).Read(0x4000362700, {0x40001bec11?, 0x400101d701?, 0x4000020420?}) /usr/local/go/src/net/fd_posix.go:55 +0x28 net.(*conn).Read(0x400006a018, {0x40001bec11?, 0x400001d768?, 0x1648360?}) /usr/local/go/src/net/net.go:179 +0x34 net/http.(*connReader).backgroundRead(0x40001bec00) /usr/local/go/src/net/http/server.go:681 +0x40 created by net/http.(*connReader).startBackgroundRead in goroutine 1266 /usr/local/go/src/net/http/server.go:677 +0xc8