goroutine 121475657 [running]: runtime/pprof.writeGoroutineStacks({0x1274080, 0xc00032a620}) /usr/local/go/src/runtime/pprof/pprof.go:703 +0x6a runtime/pprof.writeGoroutine({0x1274080?, 0xc00032a620?}, 0xc0003e5460?) /usr/local/go/src/runtime/pprof/pprof.go:692 +0x25 runtime/pprof.(*Profile).WriteTo(0xf4ec80?, {0x1274080?, 0xc00032a620?}, 0xc?) /usr/local/go/src/runtime/pprof/pprof.go:329 +0x146 net/http/pprof.handler.ServeHTTP({0xff155e, 0x9}, {0x127bb80, 0xc00032a620}, 0xc0015b59f0?) /usr/local/go/src/net/http/pprof/pprof.go:267 +0x4a8 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc000320c60, {0x127bb80, 0xc00032a620}, 0xc0009a5200) /root/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.11/mux.go:443 +0x2b4 net/http.HandlerFunc.ServeHTTP(0xc0003e5750?, {0x127bb80?, 0xc00032a620?}, 0x7?) /usr/local/go/src/net/http/server.go:2136 +0x29 github.com/go-chi/chi/v5/middleware.NoCache.func1({0x127bb80, 0xc00032a620}, 0xc0009a5200) /root/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.11/middleware/nocache.go:55 +0x28e net/http.HandlerFunc.ServeHTTP(0xc002500b70?, {0x127bb80?, 0xc00032a620?}, 0xc0003e5818?) /usr/local/go/src/net/http/server.go:2136 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc000320c60, {0x127bb80, 0xc00032a620}, 0xc0009a5200) /root/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.11/mux.go:73 +0x371 github.com/go-chi/chi/v5.(*Mux).Mount.func1({0x127bb80, 0xc00032a620}, 0xc0009a5200) /root/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.11/mux.go:315 +0x1bb net/http.HandlerFunc.ServeHTTP(0xe94e80?, {0x127bb80?, 0xc00032a620?}, 0xc00085e304?) /usr/local/go/src/net/http/server.go:2136 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc000320c00, {0x127bb80, 0xc00032a620}, 0xc0009a5200) /root/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.11/mux.go:443 +0x2b4 net/http.HandlerFunc.ServeHTTP(0xc000370820?, {0x127bb80?, 0xc00032a620?}, 0xc0009a5200?) /usr/local/go/src/net/http/server.go:2136 +0x29 github.com/go-chi/cors.(*Cors).Handler-fm.(*Cors).Handler.func1({0x127bb80, 0xc00032a620}, 0xc0009a5200) /root/go/pkg/mod/github.com/go-chi/cors@v1.2.1/cors.go:228 +0x17e net/http.HandlerFunc.ServeHTTP(0xf4ec80?, {0x127bb80?, 0xc00032a620?}, 0x10?) /usr/local/go/src/net/http/server.go:2136 +0x29 github.com/0xERR0R/blocky/server.secureHeader.func1({0x127bb80, 0xc00032a620}, 0x199d501?) /root/blocky/server/server_endpoints.go:44 +0x310 net/http.HandlerFunc.ServeHTTP(0x127e048?, {0x127bb80?, 0xc00032a620?}, 0x199d590?) /usr/local/go/src/net/http/server.go:2136 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc000320c00, {0x127bb80, 0xc00032a620}, 0xc0009a5100) /root/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.11/mux.go:90 +0x330 net/http.serverHandler.ServeHTTP({0xc0024492c0?}, {0x127bb80?, 0xc00032a620?}, 0x6?) /usr/local/go/src/net/http/server.go:2938 +0x8e net/http.(*conn).serve(0xc000036a20, {0x127e010, 0xc0014b0a50}) /usr/local/go/src/net/http/server.go:2009 +0x5f4 created by net/http.(*Server).Serve in goroutine 175 /usr/local/go/src/net/http/server.go:3086 +0x5cb goroutine 1 [chan receive, 283600 minutes]: github.com/0xERR0R/blocky/cmd.startServer(0x75eb872600000000?, {0xc0002afa18?, 0x0?, 0x0?}) /root/blocky/cmd/serve.go:77 +0x3a8 github.com/0xERR0R/blocky/cmd.NewRootCommand.func1(0xc000131300?, {0x19eb780?, 0x4?, 0xfeb22e?}) /root/blocky/cmd/root.go:43 +0xab github.com/spf13/cobra.(*Command).execute(0xc000004f00, {0xc0000340b0, 0x0, 0x0}) /root/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:983 +0xabc github.com/spf13/cobra.(*Command).ExecuteC(0xc000004f00) /root/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x3ff github.com/spf13/cobra.(*Command).Execute(...) /root/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039 github.com/0xERR0R/blocky/cmd.Execute() /root/blocky/cmd/root.go:113 +0x18 main.main() /root/blocky/main.go:10 +0x13 goroutine 174 [IO wait, 283600 minutes]: internal/poll.runtime_pollWait(0x7cc4b7cc7500, 0x72) /usr/local/go/src/runtime/netpoll.go:343 +0x85 internal/poll.(*pollDesc).wait(0xc000212000?, 0x1279440?, 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(0xc000212000) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc000212000) /usr/local/go/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc000344000) /usr/local/go/src/net/tcpsock_posix.go:152 +0x1e net.(*TCPListener).Accept(0xc000344000) /usr/local/go/src/net/tcpsock.go:315 +0x30 crypto/tls.(*listener).Accept(0xc000552318) /usr/local/go/src/crypto/tls/tls.go:66 +0x27 github.com/miekg/dns.(*Server).serveTCP(0xc0002ef0e0, {0x127bc70?, 0xc000552318}) /root/go/pkg/mod/github.com/miekg/dns@v1.1.57/server.go:461 +0x142 github.com/miekg/dns.(*Server).ListenAndServe(0xc0002ef0e0) /root/go/pkg/mod/github.com/miekg/dns@v1.1.57/server.go:332 +0x878 github.com/0xERR0R/blocky/server.(*Server).Start.func1() /root/blocky/server/server.go:487 +0x29 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /root/blocky/server/server.go:486 +0xdf goroutine 10 [syscall, 283600 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:151 +0x1f goroutine 33 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x127e048, 0xc000348aa0}, 0xc000398780) /root/blocky/cache/expirationcache/expiration_cache.go:104 +0xf8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /root/blocky/cache/expirationcache/expiration_cache.go:94 +0x305 goroutine 34 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x127e048, 0xc000348aa0}, 0xc000398840) /root/blocky/cache/expirationcache/expiration_cache.go:104 +0xf8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /root/blocky/cache/expirationcache/expiration_cache.go:94 +0x305 goroutine 189 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x127e048, 0xc000348aa0}, 0xc0013f6bd0) /root/blocky/cache/expirationcache/expiration_cache.go:104 +0xf8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /root/blocky/cache/expirationcache/expiration_cache.go:94 +0x305 goroutine 188 [select, 1360 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x3?, {0x127e048, 0xc000348aa0}, 0xc0004407e0?, 0xc000b14000) /root/blocky/config/config.go:372 +0x109 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /root/blocky/config/config.go:355 +0xe5 goroutine 160 [select, 1360 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x3?, {0x127e048, 0xc000348aa0}, 0xc000440180?, 0xc00035e610) /root/blocky/config/config.go:372 +0x109 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /root/blocky/config/config.go:355 +0xe5 goroutine 163 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7cc4b7724ac0, 0x77) /usr/local/go/src/runtime/netpoll.go:343 +0x85 internal/poll.(*pollDesc).wait(0xc00036c780?, 0xc000070b00?, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitWrite(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:93 internal/poll.(*FD).WaitWrite(...) /usr/local/go/src/internal/poll/fd_unix.go:683 net.(*netFD).connect(0xc00036c780, {0x127dfd8?, 0x19eb780}, {0x483ffa?, 0xc000535ce0?}, {0x12739a0?, 0xc002ba4a80?}) /usr/local/go/src/net/fd_unix.go:141 +0x733 net.(*netFD).dial(0xc00036c780, {0x127dfd8, 0x19eb780}, {0x1280b80?, 0x0?}, {0x1280b80?, 0xc0020d7b30}, 0x44?) /usr/local/go/src/net/sock_posix.go:151 +0x3b2 net.socket({0x127dfd8, 0x19eb780}, {0xc000070b00, 0x3}, 0x2, 0x1, 0x0?, 0xe8?, {0x1280b80, 0x0}, ...) /usr/local/go/src/net/sock_posix.go:70 +0x294 net.internetSocket({0x127dfd8, 0x19eb780}, {0xc000070b00, 0x3}, {0x1280b80, 0x0}, {0x1280b80, 0xc0020d7b30}, 0xc000519120?, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:142 +0xf1 net.(*sysDialer).doDialTCPProto(0xc0001c5540, {0x127dfd8, 0x19eb780}, 0x0, 0x5adac7?, 0xc0020d7a70?) /usr/local/go/src/net/tcpsock_posix.go:78 +0xe9 net.(*sysDialer).doDialTCP(...) /usr/local/go/src/net/tcpsock_posix.go:68 net.(*sysDialer).dialTCP(0x4107a5?, {0x127dfd8?, 0x19eb780?}, 0xc000f08001?, 0xc000519358?) /usr/local/go/src/net/tcpsock_posix.go:64 +0x65 net.(*sysDialer).dialSingle(0xc0001c5540, {0x127dfd8, 0x19eb780}, {0x1278fe0?, 0xc0020d7b30}) /usr/local/go/src/net/dial.go:649 +0x255 net.(*sysDialer).dialSerial(0xc0001c5540, {0x127dfd8, 0x19eb780}, {0xc001900860?, 0x1, 0x5c4692?}) /usr/local/go/src/net/dial.go:614 +0x248 net.(*sysDialer).dialParallel(0xc001900850?, {0x127dfd8?, 0x19eb780?}, {0xc001900860?, 0x19eb780?, 0xfeb24a?}, {0x0?, 0xc000070b00?, 0x5e12c5?}) /usr/local/go/src/net/dial.go:515 +0x3e5 net.(*Dialer).DialContext(0xc000519880, {0x127dfd8, 0x19eb780}, {0xc000070b00, 0x3}, {0xc000070b04, 0x12}) /usr/local/go/src/net/dial.go:506 +0x6de github.com/go-sql-driver/mysql.(*connector).Connect(0xc0000544e0, {0x127dfd8, 0x19eb780}) /root/go/pkg/mod/github.com/go-sql-driver/mysql@v1.7.1/connector.go:49 +0x30f database/sql.(*DB).conn(0xc000118b60, {0x127dfd8, 0x19eb780}, 0x1) /usr/local/go/src/database/sql/sql.go:1387 +0x717 database/sql.(*DB).begin(0x0?, {0x127dfd8, 0x19eb780}, 0x0?, 0x0?) /usr/local/go/src/database/sql/sql.go:1853 +0x2d database/sql.(*DB).BeginTx.func1(0x0?) /usr/local/go/src/database/sql/sql.go:1836 +0x3e database/sql.(*DB).retry(0x7cc4b7481fd0?, 0xc000519c00) /usr/local/go/src/database/sql/sql.go:1538 +0x42 database/sql.(*DB).BeginTx(0xc0020d78f0?, {0x127dfd8?, 0x19eb780?}, 0x418468?) /usr/local/go/src/database/sql/sql.go:1835 +0x85 gorm.io/gorm.(*DB).Begin(0xc0020d78f0, {0x0, 0x0, 0xe38e60?}) /root/go/pkg/mod/gorm.io/gorm@v1.25.5/finisher_api.go:672 +0x128 gorm.io/gorm/callbacks.BeginTransaction(0xc0020d78f0) /root/go/pkg/mod/gorm.io/gorm@v1.25.5/callbacks/transaction.go:9 +0x3a gorm.io/gorm.(*processor).Execute(0xc0014c0c80, 0xc0013f7b60?) /root/go/pkg/mod/gorm.io/gorm@v1.25.5/callbacks.go:130 +0x375 gorm.io/gorm.(*DB).Create(0xc002300000?, {0xe38e60?, 0xc0023c8b58}) /root/go/pkg/mod/gorm.io/gorm@v1.25.5/finisher_api.go:24 +0xa8 github.com/0xERR0R/blocky/querylog.(*DatabaseWriter).doDBWrite(0xc000349cc0) /root/blocky/querylog/database_writer.go:188 +0x172 github.com/0xERR0R/blocky/querylog.(*DatabaseWriter).periodicFlush(0xc000349cc0, {0x127e048, 0xc000348aa0}) /root/blocky/querylog/database_writer.go:129 +0x105 created by github.com/0xERR0R/blocky/querylog.newDatabaseWriter in goroutine 1 /root/blocky/querylog/database_writer.go:88 +0x3a6 goroutine 176 [IO wait, 283600 minutes]: internal/poll.runtime_pollWait(0x7cc4b7cc7db8, 0x72) /usr/local/go/src/runtime/netpoll.go:343 +0x85 internal/poll.(*pollDesc).wait(0xc00036c400?, 0x0?, 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(0xc00036c400) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc00036c400) /usr/local/go/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc0003450a0) /usr/local/go/src/net/tcpsock_posix.go:152 +0x1e net.(*TCPListener).Accept(0xc0003450a0) /usr/local/go/src/net/tcpsock.go:315 +0x30 crypto/tls.(*listener).Accept(0xc0000a1578) /usr/local/go/src/crypto/tls/tls.go:66 +0x27 net/http.(*Server).Serve(0xc001445a40, {0x127bc70, 0xc0000a1578}) /usr/local/go/src/net/http/server.go:3056 +0x364 net/http.(*Server).ServeTLS(0xc001445a40, {0x127bcd0?, 0xc0003450a0}, {0x0, 0x0}, {0x0, 0x0}) /usr/local/go/src/net/http/server.go:3126 +0x4a6 github.com/0xERR0R/blocky/server.(*Server).Start.func3() /root/blocky/server/server.go:533 +0x30c created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /root/blocky/server/server.go:517 +0x2c5 goroutine 175 [IO wait]: internal/poll.runtime_pollWait(0x7cc4b7cc7eb0, 0x72) /usr/local/go/src/runtime/netpoll.go:343 +0x85 internal/poll.(*pollDesc).wait(0xc00036c380?, 0x4?, 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(0xc00036c380) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc00036c380) /usr/local/go/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc000345080) /usr/local/go/src/net/tcpsock_posix.go:152 +0x1e net.(*TCPListener).Accept(0xc000345080) /usr/local/go/src/net/tcpsock.go:315 +0x30 net/http.(*Server).Serve(0xc001444000, {0x127bcd0, 0xc000345080}) /usr/local/go/src/net/http/server.go:3056 +0x364 github.com/0xERR0R/blocky/server.(*Server).Start.func2() /root/blocky/server/server.go:507 +0x145 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /root/blocky/server/server.go:497 +0x185 goroutine 165 [select, 638 minutes]: github.com/0xERR0R/blocky/resolver.(*QueryLoggingResolver).periodicCleanUp(0xc00044a200, {0x127e048, 0xc000348aa0}) /root/blocky/resolver/query_logging_resolver.go:100 +0xf5 created by github.com/0xERR0R/blocky/resolver.NewQueryLoggingResolver in goroutine 1 /root/blocky/resolver/query_logging_resolver.go:88 +0x549 goroutine 191 [select, 40 minutes]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x127e048, 0xc000348aa0}, 0xc0013f6cf0) /root/blocky/cache/expirationcache/expiration_cache.go:104 +0xf8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /root/blocky/cache/expirationcache/expiration_cache.go:94 +0x305 goroutine 212 [select, 283600 minutes]: database/sql.(*DB).connectionOpener(0xc000118b60, {0x127e048, 0xc0014c0e60}) /usr/local/go/src/database/sql/sql.go:1218 +0x87 created by database/sql.OpenDB in goroutine 1 /usr/local/go/src/database/sql/sql.go:791 +0x165 goroutine 164 [sync.Mutex.Lock, 1 minutes]: sync.runtime_SemacquireMutex(0xb0?, 0xa0?, 0xb22875?) /usr/local/go/src/runtime/sema.go:77 +0x25 sync.(*Mutex).lockSlow(0xc000349ce8) /usr/local/go/src/sync/mutex.go:171 +0x15d sync.(*Mutex).Lock(...) /usr/local/go/src/sync/mutex.go:90 sync.(*RWMutex).Lock(0xc0015b4990?) /usr/local/go/src/sync/rwmutex.go:147 +0x31 github.com/0xERR0R/blocky/querylog.(*DatabaseWriter).Write(0xc000349cc0, 0xc002313340) /root/blocky/querylog/database_writer.go:158 +0x2b9 github.com/0xERR0R/blocky/resolver.(*QueryLoggingResolver).writeLog(0xc00044a200, {0x127e048, 0xc000348aa0}) /root/blocky/resolver/query_logging_resolver.go:178 +0x108 created by github.com/0xERR0R/blocky/resolver.NewQueryLoggingResolver in goroutine 1 /root/blocky/resolver/query_logging_resolver.go:85 +0x4d1 goroutine 211 [select, 1360 minutes]: github.com/0xERR0R/blocky/config.(*SourceLoading).periodically(0x3?, {0x127e048, 0xc000348aa0}, 0xc000441440?, 0xc0014bc7a0) /root/blocky/config/config.go:372 +0x109 created by github.com/0xERR0R/blocky/config.(*SourceLoading).StartPeriodicRefresh in goroutine 1 /root/blocky/config/config.go:355 +0xe5 goroutine 173 [IO wait, 283600 minutes]: internal/poll.runtime_pollWait(0x7cc4b7cc7310, 0x72) /usr/local/go/src/runtime/netpoll.go:343 +0x85 internal/poll.(*pollDesc).wait(0xc000212100?, 0x1279440?, 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(0xc000212100) /usr/local/go/src/internal/poll/fd_unix.go:611 +0x2ac net.(*netFD).accept(0xc000212100) /usr/local/go/src/net/fd_unix.go:172 +0x29 net.(*TCPListener).accept(0xc000344060) /usr/local/go/src/net/tcpsock_posix.go:152 +0x1e net.(*TCPListener).Accept(0xc000344060) /usr/local/go/src/net/tcpsock.go:315 +0x30 github.com/miekg/dns.(*Server).serveTCP(0xc0002eefc0, {0x127bcd0?, 0xc000344060}) /root/go/pkg/mod/github.com/miekg/dns@v1.1.57/server.go:461 +0x142 github.com/miekg/dns.(*Server).ListenAndServe(0xc0002eefc0) /root/go/pkg/mod/github.com/miekg/dns@v1.1.57/server.go:318 +0x3d3 github.com/0xERR0R/blocky/server.(*Server).Start.func1() /root/blocky/server/server.go:487 +0x29 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /root/blocky/server/server.go:486 +0xdf goroutine 172 [IO wait]: internal/poll.runtime_pollWait(0x7cc4b7d0aef0, 0x72) /usr/local/go/src/runtime/netpoll.go:343 +0x85 internal/poll.(*pollDesc).wait(0xc000212080?, 0xc00287c000?, 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(0xc000212080, {0xc00287c000, 0xffff, 0xffff}, {0xc00085e270, 0x28, 0x28}, 0x0?, 0x100000000?) /usr/local/go/src/internal/poll/fd_unix.go:355 +0x339 net.(*netFD).readMsgInet6(0xc000212080, {0xc00287c000?, 0xc000010048?, 0x0?}, {0xc00085e270?, 0x80?, 0x42509c?}, 0xc0015a2a88?, 0x40fc6f?) /usr/local/go/src/net/fd_posix.go:90 +0x31 net.(*UDPConn).readMsg(0xc0015a2bb0?, {0xc00287c000?, 0x7cc4b7d0af38?, 0x3c73ff33913125?}, {0xc00085e270?, 0x1170c70?, 0xee8280?}) /usr/local/go/src/net/udpsock_posix.go:106 +0x9c net.(*UDPConn).ReadMsgUDPAddrPort(0xc0000c6038, {0xc00287c000?, 0x7cc4fe8985b8?, 0x30?}, {0xc00085e270?, 0xc00085e270?, 0x0?}) /usr/local/go/src/net/udpsock.go:203 +0x3e net.(*UDPConn).ReadMsgUDP(0x4a8540?, {0xc00287c000?, 0xc1c7df50a89c4b9e?, 0x3c73fccafdf492?}, {0xc00085e270?, 0xc0015a2bf8?, 0x47c6b8?}) /usr/local/go/src/net/udpsock.go:191 +0x25 github.com/miekg/dns.ReadFromSessionUDP(0xc0002eef90?, {0xc00287c000, 0xffff, 0xffff}) /root/go/pkg/mod/github.com/miekg/dns@v1.1.57/udp.go:43 +0x85 github.com/miekg/dns.(*Server).readUDP(0xc0002eeea0, 0xc0000c6038, 0xc000348730?) /root/go/pkg/mod/github.com/miekg/dns@v1.1.57/server.go:699 +0x105 github.com/miekg/dns.defaultReader.ReadUDP({0xc00007fa90?}, 0x1273d60?, 0xc000348730?) /root/go/pkg/mod/github.com/miekg/dns@v1.1.57/server.go:174 +0x13 github.com/miekg/dns.(*Server).serveUDP(0xc0002eeea0, {0x1283340?, 0xc0000c6038}) /root/go/pkg/mod/github.com/miekg/dns@v1.1.57/server.go:517 +0x292 github.com/miekg/dns.(*Server).ListenAndServe(0xc0002eeea0) /root/go/pkg/mod/github.com/miekg/dns@v1.1.57/server.go:346 +0x585 github.com/0xERR0R/blocky/server.(*Server).Start.func1() /root/blocky/server/server.go:487 +0x29 created by github.com/0xERR0R/blocky/server.(*Server).Start in goroutine 1 /root/blocky/server/server.go:486 +0xdf goroutine 171 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x127e048, 0xc000348aa0}, 0xc00035c330) /root/blocky/cache/expirationcache/expiration_cache.go:104 +0xf8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /root/blocky/cache/expirationcache/expiration_cache.go:94 +0x305 goroutine 170 [select]: github.com/0xERR0R/blocky/cache/expirationcache.periodicCleanup[...]({0x127e048, 0xc000348aa0}, 0xc00035c270) /root/blocky/cache/expirationcache/expiration_cache.go:104 +0xf8 created by github.com/0xERR0R/blocky/cache/expirationcache.NewCacheWithOnExpired[...] in goroutine 1 /root/blocky/cache/expirationcache/expiration_cache.go:94 +0x305 goroutine 562 [runnable]: github.com/cespare/xxhash/v2.(*Digest).Write(0xc0003e2c20, {0xffaa8a?, 0x12, 0x12?}) /root/go/pkg/mod/github.com/cespare/xxhash/v2@v2.2.0/xxhash.go:60 +0x267 github.com/cespare/xxhash/v2.(*Digest).WriteString(...) /root/go/pkg/mod/github.com/cespare/xxhash/v2@v2.2.0/xxhash_unsafe.go:46 github.com/prometheus/client_golang/prometheus.checkMetricConsistency(0xe98780?, 0xc0020c2150, 0xffaa8a?) /root/go/pkg/mod/github.com/prometheus/client_golang@v1.18.0/prometheus/registry.go:918 +0x52d github.com/prometheus/client_golang/prometheus.processMetric({0x1279cd0, 0xc001068b40}, 0x800000003?, 0x0?, 0x0) /root/go/pkg/mod/github.com/prometheus/client_golang@v1.18.0/prometheus/registry.go:707 +0x877 github.com/prometheus/client_golang/prometheus.(*Registry).Gather(0x19bbbc0) /root/go/pkg/mod/github.com/prometheus/client_golang@v1.18.0/prometheus/registry.go:501 +0x819 github.com/prometheus/client_golang/prometheus.(*noTransactionGatherer).Gather(0x0?) /root/go/pkg/mod/github.com/prometheus/client_golang@v1.18.0/prometheus/registry.go:1073 +0x1b github.com/prometheus/client_golang/prometheus/promhttp.HandlerForTransactional.func1({0x7cc4b78b7e60, 0xc0008f02d0}, 0xc000130200) /root/go/pkg/mod/github.com/prometheus/client_golang@v1.18.0/prometheus/promhttp/http.go:140 +0x2b0 net/http.HandlerFunc.ServeHTTP(0x12758a0?, {0x7cc4b78b7e60?, 0xc0008f02d0?}, 0xc000d49da0?) /usr/local/go/src/net/http/server.go:2136 +0x29 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentMetricHandler.InstrumentHandlerInFlight.func1({0x7cc4b78b7e60, 0xc0008f02d0}, 0x127bb00?) /root/go/pkg/mod/github.com/prometheus/client_golang@v1.18.0/prometheus/promhttp/instrument_server.go:60 +0xcb net/http.HandlerFunc.ServeHTTP(0x127bb80?, {0x7cc4b78b7e60?, 0xc0008f02d0?}, 0xc0003e37b0?) /usr/local/go/src/net/http/server.go:2136 +0x29 github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1({0x127bb80?, 0xc00018c700?}, 0xc000130200) /root/go/pkg/mod/github.com/prometheus/client_golang@v1.18.0/prometheus/promhttp/instrument_server.go:147 +0xb6 net/http.HandlerFunc.ServeHTTP(0xe94e80?, {0x127bb80?, 0xc00018c700?}, 0xc00323c9ac?) /usr/local/go/src/net/http/server.go:2136 +0x29 github.com/go-chi/chi/v5.(*Mux).routeHTTP(0xc000320c00, {0x127bb80, 0xc00018c700}, 0xc000130200) /root/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.11/mux.go:443 +0x2b4 net/http.HandlerFunc.ServeHTTP(0xc000370820?, {0x127bb80?, 0xc00018c700?}, 0xc000130200?) /usr/local/go/src/net/http/server.go:2136 +0x29 github.com/go-chi/cors.(*Cors).Handler-fm.(*Cors).Handler.func1({0x127bb80, 0xc00018c700}, 0xc000130200) /root/go/pkg/mod/github.com/go-chi/cors@v1.2.1/cors.go:228 +0x17e net/http.HandlerFunc.ServeHTTP(0xf4ec80?, {0x127bb80?, 0xc00018c700?}, 0x10?) /usr/local/go/src/net/http/server.go:2136 +0x29 github.com/0xERR0R/blocky/server.secureHeader.func1({0x127bb80, 0xc00018c700}, 0x199d501?) /root/blocky/server/server_endpoints.go:44 +0x310 net/http.HandlerFunc.ServeHTTP(0x127e048?, {0x127bb80?, 0xc00018c700?}, 0x199d590?) /usr/local/go/src/net/http/server.go:2136 +0x29 github.com/go-chi/chi/v5.(*Mux).ServeHTTP(0xc000320c00, {0x127bb80, 0xc00018c700}, 0xc000130000) /root/go/pkg/mod/github.com/go-chi/chi/v5@v5.0.11/mux.go:90 +0x330 net/http.serverHandler.ServeHTTP({0xc0006ca330?}, {0x127bb80?, 0xc00018c700?}, 0x6?) /usr/local/go/src/net/http/server.go:2938 +0x8e net/http.(*conn).serve(0xc000685560, {0x127e010, 0xc0014b0a50}) /usr/local/go/src/net/http/server.go:2009 +0x5f4 created by net/http.(*Server).Serve in goroutine 175 /usr/local/go/src/net/http/server.go:3086 +0x5cb goroutine 341 [select, 283600 minutes]: github.com/0xERR0R/blocky/server.registerPrintConfigurationTrigger.func1() /root/blocky/server/server_config_trigger.go:19 +0x8e created by github.com/0xERR0R/blocky/server.registerPrintConfigurationTrigger in goroutine 1 /root/blocky/server/server_config_trigger.go:17 +0xe5 goroutine 342 [select, 283600 minutes]: github.com/0xERR0R/blocky/cmd.startServer.func1() /root/blocky/cmd/serve.go:63 +0xa5 created by github.com/0xERR0R/blocky/cmd.startServer in goroutine 1 /root/blocky/cmd/serve.go:62 +0x2c6 goroutine 121359753 [IO wait]: internal/poll.runtime_pollWait(0x7cc4b749c850, 0x72) /usr/local/go/src/runtime/netpoll.go:343 +0x85 internal/poll.(*pollDesc).wait(0xc00036da80?, 0xc0000b8600?, 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(0xc00036da80, {0xc0000b8600, 0x1300, 0x1300}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x27a net.(*netFD).Read(0xc00036da80, {0xc0000b8600?, 0xc0000b8640?, 0x48?}) /usr/local/go/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc0020b0128, {0xc0000b8600?, 0x155?, 0xc00039ec38?}) /usr/local/go/src/net/net.go:179 +0x45 crypto/tls.(*atLeastReader).Read(0xc0021d4030, {0xc0000b8600?, 0xc0021d4030?, 0x0?}) /usr/local/go/src/crypto/tls/conn.go:805 +0x3b bytes.(*Buffer).ReadFrom(0xc00039ed28, {0x1274b80, 0xc0021d4030}) /usr/local/go/src/bytes/buffer.go:211 +0x98 crypto/tls.(*Conn).readFromUntil(0xc00039ea80, {0x1274640?, 0xc0020b0128}, 0x12c5?) /usr/local/go/src/crypto/tls/conn.go:827 +0xde crypto/tls.(*Conn).readRecordOrCCS(0xc00039ea80, 0x0) /usr/local/go/src/crypto/tls/conn.go:625 +0x250 crypto/tls.(*Conn).readRecord(...) /usr/local/go/src/crypto/tls/conn.go:587 crypto/tls.(*Conn).Read(0xc00039ea80, {0xc000dd8000, 0x1000, 0x6c7e65?}) /usr/local/go/src/crypto/tls/conn.go:1369 +0x158 bufio.(*Reader).Read(0xc001ed84e0, {0xc00018c120, 0x9, 0x199c140?}) /usr/local/go/src/bufio/bufio.go:244 +0x197 io.ReadAtLeast({0x1273ca0, 0xc001ed84e0}, {0xc00018c120, 0x9, 0x9}, 0x9) /usr/local/go/src/io/io.go:335 +0x90 io.ReadFull(...) /usr/local/go/src/io/io.go:354 net/http.http2readFrameHeader({0xc00018c120, 0x9, 0xd498f0?}, {0x1273ca0?, 0xc001ed84e0?}) /usr/local/go/src/net/http/h2_bundle.go:1635 +0x65 net/http.(*http2Framer).ReadFrame(0xc00018c0e0) /usr/local/go/src/net/http/h2_bundle.go:1899 +0x85 net/http.(*http2clientConnReadLoop).run(0xc00041df98) /usr/local/go/src/net/http/h2_bundle.go:9339 +0x11f net/http.(*http2ClientConn).readLoop(0xc0004bc180) /usr/local/go/src/net/http/h2_bundle.go:9234 +0x65 created by net/http.(*http2Transport).newClientConn in goroutine 121359752 /usr/local/go/src/net/http/h2_bundle.go:7906 +0xcbe goroutine 121475690 [IO wait]: internal/poll.runtime_pollWait(0x7cc4b78eed48, 0x72) /usr/local/go/src/runtime/netpoll.go:343 +0x85 internal/poll.(*pollDesc).wait(0xc000698b00?, 0xc0006ca341?, 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(0xc000698b00, {0xc0006ca341, 0x1, 0x1}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x27a net.(*netFD).Read(0xc000698b00, {0xc0006ca341?, 0xc001d44f40?, 0x408897?}) /usr/local/go/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc0000c66c0, {0xc0006ca341?, 0x127e048?, 0xc0008f0000?}) /usr/local/go/src/net/net.go:179 +0x45 net/http.(*connReader).backgroundRead(0xc0006ca330) /usr/local/go/src/net/http/server.go:683 +0x37 created by net/http.(*connReader).startBackgroundRead in goroutine 562 /usr/local/go/src/net/http/server.go:679 +0xba goroutine 121475697 [runnable]: net/http.(*connReader).startBackgroundRead.func2() /usr/local/go/src/net/http/server.go:679 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 created by net/http.(*connReader).startBackgroundRead in goroutine 121475657 /usr/local/go/src/net/http/server.go:679 +0xba goroutine 121242919 [IO wait, 2 minutes]: internal/poll.runtime_pollWait(0x7cc4b7cc7028, 0x72) /usr/local/go/src/runtime/netpoll.go:343 +0x85 internal/poll.(*pollDesc).wait(0xc0000c2100?, 0xc0000b7300?, 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(0xc0000c2100, {0xc0000b7300, 0x1300, 0x1300}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x27a net.(*netFD).Read(0xc0000c2100, {0xc0000b7300?, 0xc0000b7354?, 0x5a?}) /usr/local/go/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc000bd2de8, {0xc0000b7300?, 0x200000003?, 0xc00039e8b8?}) /usr/local/go/src/net/net.go:179 +0x45 crypto/tls.(*atLeastReader).Read(0xc0019ae570, {0xc0000b7300?, 0xc0019ae570?, 0x0?}) /usr/local/go/src/crypto/tls/conn.go:805 +0x3b bytes.(*Buffer).ReadFrom(0xc00039e9a8, {0x1274b80, 0xc0019ae570}) /usr/local/go/src/bytes/buffer.go:211 +0x98 crypto/tls.(*Conn).readFromUntil(0xc00039e700, {0x1274640?, 0xc000bd2de8}, 0x12b1?) /usr/local/go/src/crypto/tls/conn.go:827 +0xde crypto/tls.(*Conn).readRecordOrCCS(0xc00039e700, 0x0) /usr/local/go/src/crypto/tls/conn.go:625 +0x250 crypto/tls.(*Conn).readRecord(...) /usr/local/go/src/crypto/tls/conn.go:587 crypto/tls.(*Conn).Read(0xc00039e700, {0xc0003a7000, 0x1000, 0x4003010001?}) /usr/local/go/src/crypto/tls/conn.go:1369 +0x158 bufio.(*Reader).Read(0xc000714de0, {0xc000810040, 0x9, 0xc0004d7d08?}) /usr/local/go/src/bufio/bufio.go:244 +0x197 io.ReadAtLeast({0x1273ca0, 0xc000714de0}, {0xc000810040, 0x9, 0x9}, 0x9) /usr/local/go/src/io/io.go:335 +0x90 io.ReadFull(...) /usr/local/go/src/io/io.go:354 net/http.http2readFrameHeader({0xc000810040, 0x9, 0xc0018fd350?}, {0x1273ca0?, 0xc000714de0?}) /usr/local/go/src/net/http/h2_bundle.go:1635 +0x65 net/http.(*http2Framer).ReadFrame(0xc000810000) /usr/local/go/src/net/http/h2_bundle.go:1899 +0x85 net/http.(*http2clientConnReadLoop).run(0xc0004d7f98) /usr/local/go/src/net/http/h2_bundle.go:9339 +0x11f net/http.(*http2ClientConn).readLoop(0xc000002300) /usr/local/go/src/net/http/h2_bundle.go:9234 +0x65 created by net/http.(*http2Transport).newClientConn in goroutine 121242918 /usr/local/go/src/net/http/h2_bundle.go:7906 +0xcbe goroutine 121475571 [IO wait]: internal/poll.runtime_pollWait(0x7cc4b74cf208, 0x72) /usr/local/go/src/runtime/netpoll.go:343 +0x85 internal/poll.(*pollDesc).wait(0xc00028c700?, 0xc00087c000?, 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(0xc00028c700, {0xc00087c000, 0x1000, 0x1000}) /usr/local/go/src/internal/poll/fd_unix.go:164 +0x27a net.(*netFD).Read(0xc00028c700, {0xc00087c000?, 0x4a8565?, 0x7cc4b74cf2f8?}) /usr/local/go/src/net/fd_posix.go:55 +0x25 net.(*conn).Read(0xc0020b03c0, {0xc00087c000?, 0x0?, 0xc000b7ef08?}) /usr/local/go/src/net/net.go:179 +0x45 net/http.(*connReader).Read(0xc000b7ef00, {0xc00087c000, 0x1000, 0x1000}) /usr/local/go/src/net/http/server.go:791 +0x14b bufio.(*Reader).fill(0xc0019a8b40) /usr/local/go/src/bufio/bufio.go:113 +0x103 bufio.(*Reader).Peek(0xc0019a8b40, 0x4) /usr/local/go/src/bufio/bufio.go:151 +0x53 net/http.(*conn).serve(0xc000684a20, {0x127e010, 0xc0014b0a50}) /usr/local/go/src/net/http/server.go:2044 +0x75c created by net/http.(*Server).Serve in goroutine 175 /usr/local/go/src/net/http/server.go:3086 +0x5cb