goroutine 3342 [running]: runtime/pprof.writeGoroutineStacks({0x14cad80, 0xc000469a40}) /usr/local/go/src/runtime/pprof/pprof.go:764 +0x6a runtime/pprof.writeGoroutine({0x14cad80?, 0xc000469a40?}, 0xc0002218c8?) /usr/local/go/src/runtime/pprof/pprof.go:753 +0x25 runtime/pprof.(*Profile).WriteTo(0x1cfd6b0?, {0x14cad80?, 0xc000469a40?}, 0xc?) /usr/local/go/src/runtime/pprof/pprof.go:377 +0x14b net/http/pprof.handler.ServeHTTP({0x11decd4, 0x9}, {0x14d4100, 0xc000469a40}, 0xc00017d180) /usr/local/go/src/net/http/pprof/pprof.go:272 +0x52f github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc00040a2a0, {0x14d4100, 0xc000469a40}, 0xc00017d180) /go/pkg/mod/github.com/go-chi/chi/v5@v5.2.1/mux.go:480 +0x2e2 net/http.HandlerFunc.ServeHTTP(0x11482e0?, {0x14d4100?, 0xc000469a40?}, 0x6?) /usr/local/go/src/net/http/server.go:2294 +0x29 github.com/go-chi/chi/v5/middleware.NoCache.func1({0x14d4100, 0xc000469a40}, 0xc00017d180) /go/pkg/mod/github.com/go-chi/chi/v5@v5.2.1/middleware/nocache.go:55 +0x28d net/http.HandlerFunc.ServeHTTP(0xc000338b40?, {0x14d4100?, 0xc000469a40?}, 0xc0002cb680?) /usr/local/go/src/net/http/server.go:2294 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc00040a2a0, {0x14d4100, 0xc000469a40}, 0xc00017d180) /go/pkg/mod/github.com/go-chi/chi/v5@v5.2.1/mux.go:73 +0x32f github.com/go-chi/chi/v5.(*Mux).Mount.func1({0x14d4100, 0xc000469a40}, 0xc00017d180) /go/pkg/mod/github.com/go-chi/chi/v5@v5.2.1/mux.go:327 +0x1bb net/http.HandlerFunc.ServeHTTP(0xc0001140f0?, {0x14d4100?, 0xc000469a40?}, 0xc00045d7b8?) /usr/local/go/src/net/http/server.go:2294 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc00040a000, {0x14d4100, 0xc000469a40}, 0xc00017d180) /go/pkg/mod/github.com/go-chi/chi/v5@v5.2.1/mux.go:480 +0x2e2 net/http.HandlerFunc.ServeHTTP(0xc000338b40?, {0x14d4100?, 0xc000469a40?}, 0xc0002cb850?) /usr/local/go/src/net/http/server.go:2294 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc00040a000, {0x14d4100, 0xc000469a40}, 0xc00017d180) /go/pkg/mod/github.com/go-chi/chi/v5@v5.2.1/mux.go:73 +0x32f github.com/go-chi/chi/v5.(*Mux).Mount.func1({0x14d4100, 0xc000469a40}, 0xc00017d180) /go/pkg/mod/github.com/go-chi/chi/v5@v5.2.1/mux.go:327 +0x1bb net/http.HandlerFunc.ServeHTTP(0xc0001140f0?, {0x14d4100?, 0xc000469a40?}, 0xc0004eea84?) /usr/local/go/src/net/http/server.go:2294 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc00040a300, {0x14d4100, 0xc000469a40}, 0xc00017d180) /go/pkg/mod/github.com/go-chi/chi/v5@v5.2.1/mux.go:480 +0x2e2 net/http.HandlerFunc.ServeHTTP(0xc00014c500?, {0x14d4100?, 0xc000469a40?}, 0xc00017d180?) /usr/local/go/src/net/http/server.go:2294 +0x29 github.com/go-chi/cors.(*Cors).Handler-fm.(*Cors).Handler.func1({0x14d4100, 0xc000469a40}, 0xc00017d180) /go/pkg/mod/github.com/go-chi/cors@v1.2.1/cors.go:228 +0x17e net/http.HandlerFunc.ServeHTTP(0x11482e0?, {0x14d4100?, 0xc000469a40?}, 0x10?) /usr/local/go/src/net/http/server.go:2294 +0x29 github.com/0xERR0R/blocky/server.secureHeadersMiddleware.func1({0x14d4100?, 0xc000469a40?}, 0xc00017d180?) /go/server/http.go:79 +0x312 net/http.HandlerFunc.ServeHTTP(0x14d6310?, {0x14d4100?, 0xc000469a40?}, 0x1cf6220?) /usr/local/go/src/net/http/server.go:2294 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc00040a300, {0x14d4100, 0xc000469a40}, 0xc00017d040) /go/pkg/mod/github.com/go-chi/chi/v5@v5.2.1/mux.go:90 +0x2ee net/http.serverHandler.ServeHTTP({0xc000338a80?}, {0x14d4100?, 0xc000469a40?}, 0x1?) /usr/local/go/src/net/http/server.go:3301 +0x8e net/http.(*conn).serve(0xc0004921b0, {0x14d62d8, 0xc0004119b0}) /usr/local/go/src/net/http/server.go:2102 +0x625 created by net/http.(*Server).Serve in goroutine 129 /usr/local/go/src/net/http/server.go:3454 +0x485 goroutine 1 [chan receive, 302 minutes]: github.com/0xERR0R/blocky/cmd.startServer(0x0?, {0x0?, 0x0?, 0x0?}) /go/cmd/serve.go:79 +0x36b github.com/0xERR0R/blocky/cmd.NewRootCommand.func1(0xc0001c1100?, {0x1d440c0?, 0x4?, 0x11d866f?}) /go/cmd/root.go:42 +0xc6 github.com/spf13/cobra.(*Command).execute(0xc000137208, {0xc00003c0a0, 0x0, 0x0}) /go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1015 +0xaaa github.com/spf13/cobra.(*Command).ExecuteC(0xc000137208) /go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1148 +0x46f github.com/spf13/cobra.(*Command).Execute(...) /go/pkg/mod/github.com/spf13/cobra@v1.9.1/command.go:1071 github.com/0xERR0R/blocky/cmd.Execute() /go/cmd/root.go:112 +0x18 main.main() /go/main.go:10 +0x13 goroutine 15 [chan receive, 302 minutes]: github.com/ramr/go-reaper.sigChildHandler(0xc0003ca3f0) /go/pkg/mod/github.com/ramr/go-reaper@v0.2.3/reaper.go:70 +0x6c created by github.com/ramr/go-reaper.reapChildren in goroutine 14 /go/pkg/mod/github.com/ramr/go-reaper@v0.2.3/reaper.go:89 +0x9b goroutine 13 [syscall, 302 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 1 /usr/local/go/src/os/signal/signal.go:152 +0x1f goroutine 14 [chan receive, 302 minutes]: github.com/ramr/go-reaper.reapChildren({0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0}) /go/pkg/mod/github.com/ramr/go-reaper@v0.2.3/reaper.go:96 +0xdd created by github.com/ramr/go-reaper.Start in goroutine 11 /go/pkg/mod/github.com/ramr/go-reaper@v0.2.3/reaper.go:191 +0x1ba goroutine 111 [select, 63 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc0001f3fd0?, {0x14d6310, 0xc0003b2fa0}, 0xc000402230?, 0xc000150fd0) /go/config/config.go:382 +0xf7 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /go/config/config.go:365 +0xc6 goroutine 3343 [runnable]: net/http.(*connReader).startBackgroundRead.gowrap2() /usr/local/go/src/net/http/server.go:686 runtime.goexit({}) /usr/local/go/src/runtime/asm_amd64.s:1700 +0x1 created by net/http.(*connReader).startBackgroundRead in goroutine 3342 /usr/local/go/src/net/http/server.go:686 +0xb6 goroutine 115 [select, 63 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc0001f4fd0?, {0x14d6310, 0xc0003b2fa0}, 0xc000402460?, 0xc000150fe0) /go/config/config.go:382 +0xf7 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /go/config/config.go:365 +0xc6 goroutine 116 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x14d6310, 0xc0003b2fa0}, 0xc0003b52f0) /go/cache/expirationcache/expiration_cache.go:104 +0xef created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /go/cache/expirationcache/expiration_cache.go:94 +0x2db goroutine 117 [select, 3 minutes]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x14d6310, 0xc0003b2fa0}, 0xc0003b53e0) /go/cache/expirationcache/expiration_cache.go:104 +0xef created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /go/cache/expirationcache/expiration_cache.go:94 +0x2db goroutine 118 [select]: github.com/0xERR0R/blocky/resolver.(*QueryLoggingResolver).writeLog(0xc0000aaa50, {0x14d6310?, 0xc0003b2fa0?}) /go/resolver/query_logging_resolver.go:223 +0xea created by github.com/0xERR0R/blocky/resolver.NewQueryLoggingResolver in goroutine 1 /go/resolver/query_logging_resolver.go:110 +0x4d9 goroutine 119 [select, 302 minutes]: github.com/0xERR0R/blocky/resolver.(*QueryLoggingResolver).periodicCleanUp(0xc0000aaa50, {0x14d6310, 0xc0003b2fa0}) /go/resolver/query_logging_resolver.go:126 +0xed created by github.com/0xERR0R/blocky/resolver.NewQueryLoggingResolver in goroutine 1 /go/resolver/query_logging_resolver.go:114 +0x557 goroutine 120 [select, 63 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0xc000414d20?, {0x14d6310, 0xc0003b2fa0}, 0x5a6d44?, 0xc000174140) /go/config/config.go:382 +0xf7 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /go/config/config.go:365 +0xc6 goroutine 121 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x14d6310, 0xc0003b2fa0}, 0xc0003b55c0) /go/cache/expirationcache/expiration_cache.go:104 +0xef created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /go/cache/expirationcache/expiration_cache.go:94 +0x2db goroutine 122 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x14d6310, 0xc0003b2fa0}, 0xc0003b56b0) /go/cache/expirationcache/expiration_cache.go:104 +0xef created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /go/cache/expirationcache/expiration_cache.go:94 +0x2db goroutine 127 [IO wait]: internal/poll.runtime_pollWait(0x75cd60090590, 0x72) /usr/local/go/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc000046200?, 0xc0004a0000?, 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(0xc000046200, {0xc0004a0000, 0xffff, 0xffff}, {0xc0004ee8d0, 0x28, 0x28}, 0x0, 0xc0000dda60) /usr/local/go/src/internal/poll/fd_unix.go:356 +0x330 net.(*netFD).readMsgInet6(0xc000046200, {0xc0004a0000?, 0xc00000e4c8?, 0x0?}, {0xc0004ee8d0?, 0xc0000dda58?, 0x417911?}, 0xc0000dda98?, 0x462bec?) /usr/local/go/src/net/fd_posix.go:90 +0x31 net.(*UDPConn).readMsg(0xc0000ddbc0?, {0xc0004a0000?, 0x75cd600905d8?, 0x12e75d9e059470?}, {0xc0004ee8d0?, 0x1389720?, 0x10cc500?}) /usr/local/go/src/net/udpsock_posix.go:106 +0x90 net.(*UDPConn).ReadMsgUDPAddrPort(0xc000052388, {0xc0004a0000?, 0x476e39?, 0x4be305?}, {0xc0004ee8d0?, 0xc0000ddc30?, 0x4be249?}) /usr/local/go/src/net/udpsock.go:203 +0x3e net.(*UDPConn).ReadMsgUDP(0x1081626464c3?, {0xc0004a0000?, 0x4be2e0?, 0xc000046200?}, {0xc0004ee8d0?, 0xc0000ddc78?, 0x5b9148?}) /usr/local/go/src/net/udpsock.go:191 +0x25 github.com/miekg/dns.ReadFromSessionUDP(0xc000052388, {0xc0004a0000, 0xffff, 0xffff}) /go/pkg/mod/github.com/miekg/dns@v1.1.66/udp.go:43 +0x85 github.com/miekg/dns.(*Server).readUDP(0xc000392480, 0xc000052388, 0x77359400) /go/pkg/mod/github.com/miekg/dns@v1.1.66/server.go:717 +0xfd github.com/miekg/dns.defaultReader.ReadUDP({0x1cf9110?}, 0x10cd900?, 0xc0003bc210?) /go/pkg/mod/github.com/miekg/dns@v1.1.66/server.go:174 +0x13 github.com/miekg/dns.(*Server).serveUDP(0xc000392480, {0x14dc880, 0xc000052388}) /go/pkg/mod/github.com/miekg/dns@v1.1.66/server.go:531 +0x245 github.com/miekg/dns.(*Server).ListenAndServe(0xc000392480) /go/pkg/mod/github.com/miekg/dns@v1.1.66/server.go:360 +0x559 github.com/0xERR0R/blocky/server.(*Server).Start.func1() /go/server/server.go:398 +0x29 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /go/server/server.go:397 +0xcf goroutine 128 [IO wait]: internal/poll.runtime_pollWait(0x75cd60090478, 0x72) /usr/local/go/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc000046300?, 0x900000036?, 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(0xc000046300) /usr/local/go/src/internal/poll/fd_unix.go:620 +0x295 net.(*netFD).accept(0xc000046300) /usr/local/go/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc0003ffdc0) /usr/local/go/src/net/tcpsock_posix.go:159 +0x1b net.(*TCPListener).Accept(0xc0003ffdc0) /usr/local/go/src/net/tcpsock.go:380 +0x30 github.com/miekg/dns.(*Server).serveTCP(0xc0003925a0, {0x14d41f0, 0xc0003ffdc0}) /go/pkg/mod/github.com/miekg/dns@v1.1.66/server.go:475 +0x107 github.com/miekg/dns.(*Server).ListenAndServe(0xc0003925a0) /go/pkg/mod/github.com/miekg/dns@v1.1.66/server.go:332 +0x3de github.com/0xERR0R/blocky/server.(*Server).Start.func1() /go/server/server.go:398 +0x29 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /go/server/server.go:397 +0xcf goroutine 129 [IO wait]: internal/poll.runtime_pollWait(0x75cd60090e50, 0x72) /usr/local/go/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0003c4500?, 0x900000036?, 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(0xc0003c4500) /usr/local/go/src/internal/poll/fd_unix.go:620 +0x295 net.(*netFD).accept(0xc0003c4500) /usr/local/go/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc000387b80) /usr/local/go/src/net/tcpsock_posix.go:159 +0x1b net.(*TCPListener).Accept(0xc000387b80) /usr/local/go/src/net/tcpsock.go:380 +0x30 crypto/tls.(*listener).Accept(0xc000331830) /usr/local/go/src/crypto/tls/tls.go:67 +0x24 net/http.(*Server).Serve(0xc00044eb40, {0x14d4190, 0xc000331830}) /usr/local/go/src/net/http/server.go:3424 +0x30c github.com/0xERR0R/blocky/server.(*httpServer).Serve(0xc00044eb40, {0x14d6310, 0xc0003b2fa0}, {0x14d4190, 0xc000331830}) /go/server/http.go:50 +0x9b github.com/0xERR0R/blocky/server.(*Server).Start.func2() /go/server/server.go:410 +0x130 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /go/server/server.go:407 +0x1b1 goroutine 130 [select, 302 minutes]: github.com/0xERR0R/blocky/server.registerPrintConfigurationTrigger.func1() /go/server/server_config_trigger.go:19 +0x8e created by github.com/0xERR0R/blocky/server.registerPrintConfigurationTrigger in goroutine 1 /go/server/server_config_trigger.go:17 +0xce goroutine 131 [select, 302 minutes]: github.com/0xERR0R/blocky/cmd.startServer.func1() /go/cmd/serve.go:65 +0x96 created by github.com/0xERR0R/blocky/cmd.startServer in goroutine 1 /go/cmd/serve.go:64 +0x286 goroutine 133 [chan receive, 302 minutes]: github.com/0xERR0R/blocky/server.(*httpServer).Serve.func1() /go/server/http.go:45 +0x2c created by github.com/0xERR0R/blocky/server.(*httpServer).Serve in goroutine 129 /go/server/http.go:44 +0x85 goroutine 3319 [IO wait]: internal/poll.runtime_pollWait(0x75cd60090d38, 0x72) /usr/local/go/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc000046800?, 0xc00041e000?, 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).Read(0xc000046800, {0xc00041e000, 0x1300, 0x1300}) /usr/local/go/src/internal/poll/fd_unix.go:165 +0x27a net.(*netFD).Read(0xc000046800, {0xc00041e000?, 0xc00041e03e?, 0x5?}) /usr/local/go/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc000052568, {0xc00041e000?, 0x75cd19617f50?, 0x75cd6031d108?}) /usr/local/go/src/net/net.go:194 +0x45 crypto/tls.(*atLeastReader).Read(0xc00038e288, {0xc00041e000?, 0x12bd?, 0x0?}) /usr/local/go/src/crypto/tls/conn.go:809 +0x3b bytes.(*Buffer).ReadFrom(0xc0000be9b8, {0x14cbac0, 0xc00038e288}) /usr/local/go/src/bytes/buffer.go:211 +0x98 crypto/tls.(*Conn).readFromUntil(0xc0000be708, {0x14cb300, 0xc000052568}, 0x440754?) /usr/local/go/src/crypto/tls/conn.go:831 +0xde crypto/tls.(*Conn).readRecordOrCCS(0xc0000be708, 0x0) /usr/local/go/src/crypto/tls/conn.go:629 +0x3cf crypto/tls.(*Conn).readRecord(...) /usr/local/go/src/crypto/tls/conn.go:591 crypto/tls.(*Conn).Read(0xc0000be708, {0xc00040f000, 0x1000, 0x75cd6005a2b8?}) /usr/local/go/src/crypto/tls/conn.go:1385 +0x145 bufio.(*Reader).Read(0xc000508360, {0xc000469460, 0x9, 0x28?}) /usr/local/go/src/bufio/bufio.go:245 +0x197 io.ReadAtLeast({0x14ca840, 0xc000508360}, {0xc000469460, 0x9, 0x9}, 0x9) /usr/local/go/src/io/io.go:335 +0x91 io.ReadFull(...) /usr/local/go/src/io/io.go:354 net/http.http2readFrameHeader({0xc000469460, 0x9, 0xc000261398?}, {0x14ca840?, 0xc000508360?}) /usr/local/go/src/net/http/h2_bundle.go:1805 +0x65 net/http.(*http2Framer).ReadFrame(0xc000469420) /usr/local/go/src/net/http/h2_bundle.go:2072 +0x7d net/http.(*http2clientConnReadLoop).run(0xc0002a9fa8) /usr/local/go/src/net/http/h2_bundle.go:9933 +0xda net/http.(*http2ClientConn).readLoop(0xc000261340) /usr/local/go/src/net/http/h2_bundle.go:9812 +0x79 created by net/http.(*http2Transport).newClientConn in goroutine 3318 /usr/local/go/src/net/http/h2_bundle.go:8334 +0xde5