goroutine 5375242069 [running]: runtime/pprof.writeGoroutineStacks(0x25167e0, 0xc001748460, 0x0, 0x0) /usr/local/go/src/runtime/pprof/pprof.go:679 +0x9d runtime/pprof.writeGoroutine(0x25167e0, 0xc001748460, 0x2, 0x203004, 0xc0014e9838) /usr/local/go/src/runtime/pprof/pprof.go:668 +0x44 runtime/pprof.(*Profile).WriteTo(0x32712c0, 0x25167e0, 0xc001748460, 0x2, 0xc001748460, 0x203004) /usr/local/go/src/runtime/pprof/pprof.go:329 +0x3da net/http/pprof.handler.ServeHTTP(0xc010da4df1, 0x9, 0x25411e0, 0xc001748460, 0xc000232200) /usr/local/go/src/net/http/pprof/pprof.go:245 +0x33a net/http/pprof.Index(0x25411e0, 0xc001748460, 0xc000232200) /usr/local/go/src/net/http/pprof/pprof.go:268 +0x6f1 github.com/influxdata/influxdb/services/httpd.(*Handler).handleProfiles(0xc000488500, 0x25411e0, 0xc001748460, 0xc000232200) /go/src/github.com/influxdata/influxdb/services/httpd/pprof.go:32 +0x8c github.com/influxdata/influxdb/services/httpd.(*Handler).ServeHTTP(0xc000488500, 0x25411e0, 0xc001748460, 0xc000232200) /go/src/github.com/influxdata/influxdb/services/httpd/handler.go:450 +0x45f net/http.serverHandler.ServeHTTP(0xc0001040e0, 0x25411e0, 0xc001748460, 0xc000232200) /usr/local/go/src/net/http/server.go:2802 +0xa4 net/http.(*conn).serve(0xc0005c70e0, 0x2548fe0, 0xc00a8ec800) /usr/local/go/src/net/http/server.go:1890 +0x875 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2928 +0x384 goroutine 1 [chan receive, 3288272 minutes]: main.(*Main).Run(0xc00038ff20, 0xc00003c190, 0x2, 0x2, 0xc00038ff20, 0x43f0ca) /go/src/github.com/influxdata/influxdb/cmd/influxd/main.go:90 +0x2c9 main.main() /go/src/github.com/influxdata/influxdb/cmd/influxd/main.go:45 +0x13d goroutine 6 [syscall, 3288272 minutes]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:147 +0x9c os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x22 created by os/signal.init.0 /usr/local/go/src/os/signal/signal_unix.go:29 +0x41 goroutine 20 [select]: github.com/influxdata/influxdb/vendor/go.opencensus.io/stats/view.(*worker).start(0xc00015cf00) /go/src/github.com/influxdata/influxdb/vendor/go.opencensus.io/stats/view/worker.go:154 +0x100 created by github.com/influxdata/influxdb/vendor/go.opencensus.io/stats/view.init.0 /go/src/github.com/influxdata/influxdb/vendor/go.opencensus.io/stats/view/worker.go:32 +0x57 goroutine 21 [IO wait, 3288272 minutes]: internal/poll.runtime_pollWait(0x7fd7f9550050, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc00014f918, 0x72, 0x0, 0x0, 0x164ffb9) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00014f900, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:384 +0x1f8 net.(*netFD).accept(0xc00014f900, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_unix.go:238 +0x42 net.(*TCPListener).accept(0xc000483d40, 0x0, 0x0, 0x0) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000483d40, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/tcpsock.go:261 +0x47 github.com/influxdata/influxdb/tcp.(*Mux).Serve(0xc0003d5da0, 0x2540f20, 0xc000483d40, 0xc000483d40, 0x0) /go/src/github.com/influxdata/influxdb/tcp/mux.go:75 +0x92 created by github.com/influxdata/influxdb/cmd/influxd/run.(*Server).Open /go/src/github.com/influxdata/influxdb/cmd/influxd/run/server.go:393 +0x280 goroutine 74 [select]: github.com/influxdata/influxdb/monitor.(*Monitor).storeStatistics(0xc000494000) /go/src/github.com/influxdata/influxdb/monitor/service.go:434 +0x9fa created by github.com/influxdata/influxdb/monitor.(*Monitor).Open /go/src/github.com/influxdata/influxdb/monitor/service.go:126 +0x2de goroutine 73 [select, 32 minutes]: github.com/influxdata/influxdb/services/subscriber.(*Service).waitForMetaUpdates(0xc0003c2cc0) /go/src/github.com/influxdata/influxdb/services/subscriber/service.go:165 +0xcf github.com/influxdata/influxdb/services/subscriber.(*Service).Open.func2(0xc0003c2cc0) /go/src/github.com/influxdata/influxdb/services/subscriber/service.go:102 +0x61 created by github.com/influxdata/influxdb/services/subscriber.(*Service).Open /go/src/github.com/influxdata/influxdb/services/subscriber/service.go:100 +0x1a3 goroutine 72 [select]: github.com/influxdata/influxdb/services/subscriber.(*Service).run(0xc0003c2cc0) /go/src/github.com/influxdata/influxdb/services/subscriber/service.go:239 +0x296 github.com/influxdata/influxdb/services/subscriber.(*Service).Open.func1(0xc0003c2cc0) /go/src/github.com/influxdata/influxdb/services/subscriber/service.go:98 +0x61 created by github.com/influxdata/influxdb/services/subscriber.(*Service).Open /go/src/github.com/influxdata/influxdb/services/subscriber/service.go:96 +0x17e goroutine 71 [select]: github.com/influxdata/influxdb/tsdb.(*Store).monitorShards(0xc000485000) /go/src/github.com/influxdata/influxdb/tsdb/store.go:1930 +0x19e github.com/influxdata/influxdb/tsdb.(*Store).Open.func1(0xc000485000) /go/src/github.com/influxdata/influxdb/tsdb/store.go:231 +0x4b created by github.com/influxdata/influxdb/tsdb.(*Store).Open /go/src/github.com/influxdata/influxdb/tsdb/store.go:229 +0x30f goroutine 75 [select, 1 minutes]: github.com/influxdata/influxdb/services/precreator.(*Service).runPrecreation(0xc00043ffc0) /go/src/github.com/influxdata/influxdb/services/precreator/service.go:76 +0x10a created by github.com/influxdata/influxdb/services/precreator.(*Service).Open /go/src/github.com/influxdata/influxdb/services/precreator/service.go:54 +0x22b goroutine 76 [select, 3288272 minutes]: github.com/influxdata/influxdb/tcp.(*listener).Accept(0xc000439a40, 0x0, 0x0, 0x0, 0x0) /go/src/github.com/influxdata/influxdb/tcp/mux.go:236 +0x11d github.com/influxdata/influxdb/services/snapshotter.(*Service).serve(0xc00015df90) /go/src/github.com/influxdata/influxdb/services/snapshotter/service.go:94 +0x85 created by github.com/influxdata/influxdb/services/snapshotter.(*Service).Open /go/src/github.com/influxdata/influxdb/services/snapshotter/service.go:68 +0x92 goroutine 77 [select]: github.com/influxdata/influxdb/services/continuous_querier.(*Service).backgroundLoop(0xc00021c870) /go/src/github.com/influxdata/influxdb/services/continuous_querier/service.go:215 +0x198 created by github.com/influxdata/influxdb/services/continuous_querier.(*Service).Open /go/src/github.com/influxdata/influxdb/services/continuous_querier/service.go:133 +0x11f goroutine 78 [IO wait]: internal/poll.runtime_pollWait(0x7fd7f954ff80, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc00014e398, 0x72, 0x0, 0x0, 0x164ffb9) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc00014e380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:384 +0x1f8 net.(*netFD).accept(0xc00014e380, 0xc0014e7d68, 0x76dee4, 0xc000104180) /usr/local/go/src/net/fd_unix.go:238 +0x42 net.(*TCPListener).accept(0xc00041c1e0, 0x6b135ff3, 0xc0014e7d68, 0x4cab26) /usr/local/go/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00041c1e0, 0xc0014e7db8, 0x18, 0xc00149e900, 0x76d414) /usr/local/go/src/net/tcpsock.go:261 +0x47 net/http.(*Server).Serve(0xc0001040e0, 0x2540f20, 0xc00041c1e0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2896 +0x280 net/http.Serve(...) /usr/local/go/src/net/http/server.go:2468 github.com/influxdata/influxdb/services/httpd.(*Service).serve(0xc000498280, 0x2540f20, 0xc00041c1e0) /go/src/github.com/influxdata/influxdb/services/httpd/service.go:249 +0x9c github.com/influxdata/influxdb/services/httpd.(*Service).serveTCP(0xc000498280) /go/src/github.com/influxdata/influxdb/services/httpd/service.go:237 +0x3c created by github.com/influxdata/influxdb/services/httpd.(*Service).Open /go/src/github.com/influxdata/influxdb/services/httpd/service.go:186 +0x65c goroutine 79 [select, 3 minutes]: github.com/influxdata/influxdb/services/retention.(*Service).run(0xc0004ac0f0) /go/src/github.com/influxdata/influxdb/services/retention/service.go:78 +0xe09 github.com/influxdata/influxdb/services/retention.(*Service).Open.func1(0xc0004ac0f0) /go/src/github.com/influxdata/influxdb/services/retention/service.go:51 +0x61 created by github.com/influxdata/influxdb/services/retention.(*Service).Open /go/src/github.com/influxdata/influxdb/services/retention/service.go:51 +0x1a9 goroutine 80 [select, 753 minutes]: github.com/influxdata/influxdb/cmd/influxd/run.(*Server).startServerReporting(0xc00022d400) /go/src/github.com/influxdata/influxdb/cmd/influxd/run/server.go:521 +0x11d created by github.com/influxdata/influxdb/cmd/influxd/run.(*Server).Open /go/src/github.com/influxdata/influxdb/cmd/influxd/run/server.go:466 +0x10de goroutine 81 [select, 3288272 minutes]: github.com/influxdata/influxdb/cmd/influxd/run.(*Command).monitorServerErrors(0xc000279080) /go/src/github.com/influxdata/influxdb/cmd/influxd/run/command.go:174 +0x178 created by github.com/influxdata/influxdb/cmd/influxd/run.(*Command).Run /go/src/github.com/influxdata/influxdb/cmd/influxd/run/command.go:155 +0xeb0 goroutine 5372569033 [select]: github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compact(0xc00dd04f00, 0xc00b8bc120) /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2037 +0x26f github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions.func1(0xc00b8bc120, 0xc00dd04f00) /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:426 +0x65 created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:426 +0x131 goroutine 5375241712 [syscall]: runtime/pprof.readProfile(0x5f5e100, 0xc01571c060, 0x0, 0x1fffd, 0xc0073f8008, 0x0, 0x3ffe) /usr/local/go/src/runtime/cpuprof.go:208 +0x72 runtime/pprof.profileWriter(0x25167e0, 0xc0003c0540) /usr/local/go/src/runtime/pprof/pprof.go:780 +0x6b created by runtime/pprof.StartCPUProfile /usr/local/go/src/runtime/pprof/pprof.go:764 +0x130 goroutine 5372569032 [select]: github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactCache(0xc00dd04f00) /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1990 +0x132 github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions.func1(0xc00b8bc110, 0xc00dd04f00) /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:505 +0x5b created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:505 +0x155 goroutine 5375147928 [select]: github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compact(0xc0002f8280, 0xc008400f10) /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2037 +0x26f github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions.func1(0xc008400f10, 0xc0002f8280) /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:426 +0x65 created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:426 +0x131 goroutine 5375242056 [select]: net/http/pprof.sleep(0x25411e0, 0xc0003c0540, 0x6fc23ac00) /usr/local/go/src/net/http/pprof/pprof.go:94 +0xf4 net/http/pprof.Profile(0x25411e0, 0xc0003c0540, 0xc000100800) /usr/local/go/src/net/http/pprof/pprof.go:138 +0x468 github.com/influxdata/influxdb/services/httpd.(*Handler).handleProfiles(0xc000488500, 0x25411e0, 0xc0003c0540, 0xc000100800) /go/src/github.com/influxdata/influxdb/services/httpd/pprof.go:26 +0x186 github.com/influxdata/influxdb/services/httpd.(*Handler).ServeHTTP(0xc000488500, 0x25411e0, 0xc0003c0540, 0xc000100800) /go/src/github.com/influxdata/influxdb/services/httpd/handler.go:450 +0x45f net/http.serverHandler.ServeHTTP(0xc0001040e0, 0x25411e0, 0xc0003c0540, 0xc000100800) /usr/local/go/src/net/http/server.go:2802 +0xa4 net/http.(*conn).serve(0xc00b8f8e60, 0x2548fe0, 0xc0103e23c0) /usr/local/go/src/net/http/server.go:1890 +0x875 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2928 +0x384 goroutine 5375147927 [select]: github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactCache(0xc0002f8280) /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1990 +0x132 github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions.func1(0xc008400f00, 0xc0002f8280) /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:505 +0x5b created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:505 +0x155 goroutine 5375242070 [IO wait]: internal/poll.runtime_pollWait(0x7fd7f954f1b0, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc00c53e198, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00c53e180, 0xc01099ad01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc00c53e180, 0xc01099ad01, 0x1, 0x1, 0xc00a8ec718, 0xc009b17f68, 0x48309c) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc053e4a1f8, 0xc01099ad01, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 net/http.(*connReader).backgroundRead(0xc01099acf0) /usr/local/go/src/net/http/server.go:677 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:673 +0xd4 goroutine 5357400186 [select]: github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compact(0xc00dd05040, 0xc0020c7840) /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:2037 +0x26f github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions.func1(0xc0020c7840, 0xc00dd05040) /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:426 +0x65 created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableLevelCompactions /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:426 +0x131 goroutine 5375241711 [IO wait]: internal/poll.runtime_pollWait(0x7fd7b7d808f8, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc00ca12b18, 0x72, 0x0, 0x1, 0xffffffffffffffff) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0xc00ca12b00, 0xc007abfde1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:169 +0x1cf net.(*netFD).Read(0xc00ca12b00, 0xc007abfde1, 0x1, 0x1, 0xc0103e2358, 0xc0040e3f68, 0x48309c) /usr/local/go/src/net/fd_unix.go:202 +0x4f net.(*conn).Read(0xc027d3c518, 0xc007abfde1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:184 +0x68 net/http.(*connReader).backgroundRead(0xc007abfdd0) /usr/local/go/src/net/http/server.go:677 +0x58 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:673 +0xd4 goroutine 5357400185 [select]: github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).compactCache(0xc00dd05040) /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1990 +0x132 github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions.func1(0xc0020c7830, 0xc00dd05040) /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:505 +0x5b created by github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).enableSnapshotCompactions /go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:505 +0x155