goroutine 27101551 [running]: runtime/pprof.writeGoroutineStacks({0xede520, 0xc000101500}) runtime/pprof/pprof.go:694 +0x70 runtime/pprof.writeGoroutine({0xede520?, 0xc000101500?}, 0xc006e233e0?) runtime/pprof/pprof.go:683 +0x2b runtime/pprof.(*Profile).WriteTo(0xd36e40?, {0xede520?, 0xc000101500?}, 0xc?) runtime/pprof/pprof.go:332 +0x14b net/http/pprof.handler.ServeHTTP({0xc002d7f241, 0x9}, {0xee74f8, 0xc000101500}, 0x1?) net/http/pprof/pprof.go:253 +0x4a5 net/http/pprof.Index({0xee74f8?, 0xc000101500}, 0xc000f26b00) net/http/pprof/pprof.go:371 +0x13e github.com/influxdata/influxdb/services/httpd.(*Handler).handleProfiles(0xc79fe0?, {0xee74f8?, 0xc000101500?}, 0xc000f26b00?) github.com/influxdata/influxdb/services/httpd/pprof.go:32 +0x146 github.com/influxdata/influxdb/services/httpd.(*Handler).ServeHTTP(0xc000161110, {0xee74f8, 0xc000101500}, 0xc000f26b00) github.com/influxdata/influxdb/services/httpd/handler.go:344 +0x310 net/http.serverHandler.ServeHTTP({0xc0068a60c0?}, {0xee74f8, 0xc000101500}, 0xc000f26b00) net/http/server.go:2916 +0x43b net/http.(*conn).serve(0xc004fe01e0, {0xee84f0, 0xc004a4b6b0}) net/http/server.go:1966 +0x5d7 created by net/http.(*Server).Serve net/http/server.go:3071 +0x4db goroutine 1 [chan receive, 22366 minutes]: main.(*Main).Run(0xc0000021a0?, {0xc00003c190?, 0xc0000021a0?, 0xc00005c738?}) github.com/influxdata/influxdb/cmd/influxd/main.go:90 +0x449 main.main() github.com/influxdata/influxdb/cmd/influxd/main.go:45 +0x12a goroutine 8 [IO wait, 22366 minutes]: internal/poll.runtime_pollWait(0x7fcdb6540dc8, 0x72) runtime/netpoll.go:302 +0x89 internal/poll.(*pollDesc).wait(0xc00014f000?, 0x0?, 0x0) internal/poll/fd_poll_runtime.go:83 +0x32 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:88 internal/poll.(*FD).Accept(0xc00014f000) internal/poll/fd_unix.go:614 +0x22c net.(*netFD).accept(0xc00014f000) net/fd_unix.go:172 +0x35 net.(*TCPListener).accept(0xc00000f368) net/tcpsock_posix.go:139 +0x28 net.(*TCPListener).Accept(0xc00000f368) net/tcpsock.go:288 +0x3d github.com/influxdata/influxdb/tcp.(*Mux).Serve(0xc0001e2f00, {0xee72e8?, 0xc00000f368}) github.com/influxdata/influxdb/tcp/mux.go:75 +0x9d created by github.com/influxdata/influxdb/cmd/influxd/run.(*Server).Open github.com/influxdata/influxdb/cmd/influxd/run/server.go:398 +0x250 goroutine 16249209 [select]: github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactCache(0xc00437b0e0) github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1903 +0x139 github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions.func1() github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:487 +0x58 created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:487 +0x18d goroutine 27061438 [select]: github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compact(0xc0065f99e0, 0xc0065a8060?) github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1950 +0x257 github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions.func1() github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:408 +0x58 created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:408 +0x1be goroutine 27061437 [select]: github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactCache(0xc0065f99e0) github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1903 +0x139 github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions.func1() github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:487 +0x58 created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:487 +0x18d goroutine 15627 [IO wait]: internal/poll.runtime_pollWait(0x7fcdb6540558, 0x72) runtime/netpoll.go:302 +0x89 internal/poll.(*pollDesc).wait(0xc008a99280?, 0xc00225a000?, 0x0) internal/poll/fd_poll_runtime.go:83 +0x32 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:88 internal/poll.(*FD).Read(0xc008a99280, {0xc00225a000, 0x1000, 0x1000}) internal/poll/fd_unix.go:167 +0x25a net.(*netFD).Read(0xc008a99280, {0xc00225a000?, 0xc00008d590?, 0x1?}) net/fd_posix.go:55 +0x29 net.(*conn).Read(0xc00bfc46e0, {0xc00225a000?, 0x203001?, 0x1446f60?}) net/net.go:183 +0x45 net/http.(*connReader).Read(0xc007ba5b30, {0xc00225a000, 0x1000, 0x1000}) net/http/server.go:780 +0x16d bufio.(*Reader).fill(0xc0020c18c0) bufio/bufio.go:106 +0x103 bufio.(*Reader).ReadSlice(0xc0020c18c0, 0x0?) bufio/bufio.go:371 +0x2f bufio.(*Reader).ReadLine(0xc0020c18c0) bufio/bufio.go:400 +0x27 net/textproto.(*Reader).readLineSlice(0xc0066375f0, 0xffffffffffffffff) net/textproto/reader.go:66 +0x99 net/textproto.(*Reader).ReadLine(...) net/textproto/reader.go:44 net/http.readRequest(0xc00bfc46e0?) net/http/request.go:1004 +0x85 net/http.(*conn).readRequest(0xc008f7d900, {0xee8448, 0xc003bae1c0}) net/http/server.go:988 +0x24a net/http.(*conn).serve(0xc008f7d900, {0xee84f0, 0xc004a4b6b0}) net/http/server.go:1891 +0x32b created by net/http.(*Server).Serve net/http/server.go:3071 +0x4db goroutine 1828 [select]: github.com/influxdata/influxdb/tsdb.(*Store).monitorShards(0xc0000001e0) github.com/influxdata/influxdb/tsdb/store.go:1798 +0x18d created by github.com/influxdata/influxdb/tsdb.(*Store).Open github.com/influxdata/influxdb/tsdb/store.go:197 +0x285 goroutine 1829 [select]: github.com/influxdata/influxdb/services/subscriber.(*Service).run(0xc000116480) github.com/influxdata/influxdb/services/subscriber/service.go:239 +0xd3 github.com/influxdata/influxdb/services/subscriber.(*Service).Open.func1() github.com/influxdata/influxdb/services/subscriber/service.go:98 +0x5a created by github.com/influxdata/influxdb/services/subscriber.(*Service).Open github.com/influxdata/influxdb/services/subscriber/service.go:96 +0x18a goroutine 1830 [select, 257 minutes]: github.com/influxdata/influxdb/services/subscriber.(*Service).waitForMetaUpdates(0xc000116480) github.com/influxdata/influxdb/services/subscriber/service.go:165 +0x88 github.com/influxdata/influxdb/services/subscriber.(*Service).Open.func2() github.com/influxdata/influxdb/services/subscriber/service.go:102 +0x5a created by github.com/influxdata/influxdb/services/subscriber.(*Service).Open github.com/influxdata/influxdb/services/subscriber/service.go:100 +0x1ca goroutine 27101552 [runnable]: net/http.(*connReader).startBackgroundRead.func2() net/http/server.go:668 runtime.goexit() runtime/asm_amd64.s:1571 +0x1 created by net/http.(*connReader).startBackgroundRead net/http/server.go:668 +0xca goroutine 1856 [IO wait]: internal/poll.runtime_pollWait(0x7fcdb6540af8, 0x72) runtime/netpoll.go:302 +0x89 internal/poll.(*pollDesc).wait(0xc00215bd80?, 0xc0040e1000?, 0x0) internal/poll/fd_poll_runtime.go:83 +0x32 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:88 internal/poll.(*FD).Read(0xc00215bd80, {0xc0040e1000, 0x1000, 0x1000}) internal/poll/fd_unix.go:167 +0x25a net.(*netFD).Read(0xc00215bd80, {0xc0040e1000?, 0x4ca666?, 0xc00423f958?}) net/fd_posix.go:55 +0x29 net.(*conn).Read(0xc008ce1598, {0xc0040e1000?, 0x0?, 0x0?}) net/net.go:183 +0x45 net/http.(*connReader).Read(0xc004ceb710, {0xc0040e1000, 0x1000, 0x1000}) net/http/server.go:780 +0x16d bufio.(*Reader).fill(0xc00411ad20) bufio/bufio.go:106 +0x103 bufio.(*Reader).Peek(0xc00411ad20, 0x4) bufio/bufio.go:144 +0x5d net/http.(*conn).readRequest(0xc002e3c6e0, {0xee8448, 0xc006e28c00}) net/http/server.go:985 +0x1f8 net/http.(*conn).serve(0xc002e3c6e0, {0xee84f0, 0xc004a4b6b0}) net/http/server.go:1891 +0x32b created by net/http.(*Server).Serve net/http/server.go:3071 +0x4db goroutine 1839 [syscall, 22366 minutes]: os/signal.signal_recv() runtime/sigqueue.go:151 +0x2f os/signal.loop() os/signal/signal_unix.go:23 +0x19 created by os/signal.Notify.func1.1 os/signal/signal.go:151 +0x2a goroutine 1837 [select, 22366 minutes]: github.com/influxdata/influxdb/cmd/influxd/run.(*Command).monitorServerErrors(0xc0001560b0) github.com/influxdata/influxdb/cmd/influxd/run/command.go:174 +0x14b created by github.com/influxdata/influxdb/cmd/influxd/run.(*Command).Run github.com/influxdata/influxdb/cmd/influxd/run/command.go:155 +0xc3e goroutine 1836 [select, 17 minutes]: github.com/influxdata/influxdb/services/retention.(*Service).run(0xc00008d720) github.com/influxdata/influxdb/services/retention/service.go:78 +0xfa github.com/influxdata/influxdb/services/retention.(*Service).Open.func1() github.com/influxdata/influxdb/services/retention/service.go:51 +0x5a created by github.com/influxdata/influxdb/services/retention.(*Service).Open github.com/influxdata/influxdb/services/retention/service.go:51 +0x1cf goroutine 1835 [IO wait]: internal/poll.runtime_pollWait(0x7fcdb6540cd8, 0x72) runtime/netpoll.go:302 +0x89 internal/poll.(*pollDesc).wait(0xc00215ad00?, 0xc00004a000?, 0x0) internal/poll/fd_poll_runtime.go:83 +0x32 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:88 internal/poll.(*FD).Accept(0xc00215ad00) internal/poll/fd_unix.go:614 +0x22c net.(*netFD).accept(0xc00215ad00) net/fd_unix.go:172 +0x35 net.(*TCPListener).accept(0xc007a640c0) net/tcpsock_posix.go:139 +0x28 net.(*TCPListener).Accept(0xc007a640c0) net/tcpsock.go:288 +0x3d net/http.(*Server).Serve(0xc0001000e0, {0xee72e8, 0xc007a640c0}) net/http/server.go:3039 +0x385 net/http.Serve(...) net/http/server.go:2543 github.com/influxdata/influxdb/services/httpd.(*Service).serve(0xc00015d400, {0xee72e8, 0xc007a640c0}) github.com/influxdata/influxdb/services/httpd/service.go:249 +0x8a github.com/influxdata/influxdb/services/httpd.(*Service).serveTCP(0xc008e05798?) github.com/influxdata/influxdb/services/httpd/service.go:237 +0x25 created by github.com/influxdata/influxdb/services/httpd.(*Service).Open github.com/influxdata/influxdb/services/httpd/service.go:185 +0xa85 goroutine 1834 [select]: github.com/influxdata/influxdb/services/continuous_querier.(*Service).backgroundLoop(0xc0000fafc0) github.com/influxdata/influxdb/services/continuous_querier/service.go:215 +0x135 created by github.com/influxdata/influxdb/services/continuous_querier.(*Service).Open github.com/influxdata/influxdb/services/continuous_querier/service.go:133 +0x12a goroutine 1833 [select, 22366 minutes]: github.com/influxdata/influxdb/tcp.(*listener).Accept(0x1?) github.com/influxdata/influxdb/tcp/mux.go:236 +0x105 github.com/influxdata/influxdb/services/snapshotter.(*Service).serve(0xc00008d540) github.com/influxdata/influxdb/services/snapshotter/service.go:94 +0x8b created by github.com/influxdata/influxdb/services/snapshotter.(*Service).Open github.com/influxdata/influxdb/services/snapshotter/service.go:68 +0x8a goroutine 1832 [select, 7 minutes]: github.com/influxdata/influxdb/services/precreator.(*Service).runPrecreation(0xc0001d71c0) github.com/influxdata/influxdb/services/precreator/service.go:76 +0xd2 created by github.com/influxdata/influxdb/services/precreator.(*Service).Open github.com/influxdata/influxdb/services/precreator/service.go:54 +0x2be goroutine 1831 [select]: github.com/influxdata/influxdb/monitor.(*Monitor).storeStatistics(0xc00013e1e0) github.com/influxdata/influxdb/monitor/service.go:432 +0x4d5 created by github.com/influxdata/influxdb/monitor.(*Monitor).Open github.com/influxdata/influxdb/monitor/service.go:126 +0x26a goroutine 16249210 [select]: github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compact(0xc00437b0e0, 0xc000072090?) github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1950 +0x257 github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions.func1() github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:408 +0x58 created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:408 +0x1be