Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.9.0rc33] Panic when Graphite input enabled and configured #2871

Closed
spynode opened this issue Jun 10, 2015 · 7 comments
Closed

[0.9.0rc33] Panic when Graphite input enabled and configured #2871

spynode opened this issue Jun 10, 2015 · 7 comments
Assignees

Comments

@spynode
Copy link

spynode commented Jun 10, 2015

First of all, offtopic, but InfluxdDB wont start without consistency-level = "one" setting in config even though there is default value defined in code.

GOMAXPROCS set to 4
using configuration at: /etc/opt/influxdb/influxdb.conf
run: create server: invalid consistency level

Issue:

InfluxDB settings for graphite:

[[graphite]]
enabled = true
protocol = "tcp"
bind-address = ":2013"
consistency-level = "one"

Output:

GOMAXPROCS set to 4
using configuration at: /etc/opt/influxdb/influxdb.conf
2015/06/10 15:39:48 [INFO] raft: Node at 127.0.0.1:8088 [Follower] entering Follower state
2015/06/10 15:39:48 read local node id: 1
[httpd] 2015/06/10 15:39:48 listening on HTTP: [::]:8086
[graphite] 2015/06/10 15:39:48 tcp Graphite input opened on [::]:2013
2015/06/10 15:39:49 [WARN] raft: Heartbeat timeout reached, starting election
2015/06/10 15:39:49 [INFO] raft: Node at 127.0.0.1:8088 [Candidate] entering Candidate state
2015/06/10 15:39:49 [DEBUG] raft: Votes needed: 1
2015/06/10 15:39:49 [DEBUG] raft: Vote granted. Tally: 1
2015/06/10 15:39:49 [INFO] raft: Election won. Tally: 1
2015/06/10 15:39:49 [INFO] raft: Node at 127.0.0.1:8088 [Leader] entering Leader state
2015/06/10 15:39:49 [INFO] raft: Disabling EnableSingleNode (bootstrap)
2015/06/10 15:39:49 [DEBUG] raft: Node 127.0.0.1:8088 updated peer set (2): [127.0.0.1:8088]
2015/06/10 15:39:49 [DEBUG] raft: Node 127.0.0.1:8088 updated peer set (2): [127.0.0.1:8088]
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x507dc3]

goroutine 21 [running]:
github.com/influxdb/influxdb/cluster.(_PointsWriter).WritePoints(0xc208010230, 0xc2080f86c0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cluster/points_writer.go:188 +0x623
github.com/influxdb/influxdb/services/graphite.(_Service).processBatches(0xc20804c000, 0xc2080fa1e0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:223 +0x236
created by github.com/influxdb/influxdb/services/graphite.(*Service).handleTCPConnection
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:147 +0x2be

goroutine 1 [chan receive (nil chan)]:
main.(*Main).Run(0xc208157f60, 0xc20800a020, 0x4, 0x4, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:73 +0x3d6
main.main()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:37 +0x1d0

goroutine 6 [syscall]:
os/signal.loop()
/root/.gvm/gos/go1.4.2/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/root/.gvm/gos/go1.4.2/src/os/signal/signal_unix.go:27 +0x35

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/root/.gvm/gos/go1.4.2/src/runtime/asm_amd64.s:2232 +0x1

goroutine 8 [IO wait]:
net.(_pollDesc).Wait(0xc208010450, 0x72, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208010450, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).accept(0xc2080103f0, 0x0, 0x7f9633d1dcc8, 0xc2080ea000)
/root/.gvm/gos/go1.4.2/src/net/fd_unix.go:419 +0x40b
net.(_TCPListener).AcceptTCP(0xc20803a7b8, 0x0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:234 +0x4e
net.(_TCPListener).Accept(0xc20803a7b8, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:244 +0x4c
github.com/influxdb/influxdb/tcp.(_Mux).Serve(0xc2080c57a0, 0x7f9633d1ffe8, 0xc20803a7b8, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tcp/mux.go:45 +0x57
created by github.com/influxdb/influxdb/cmd/influxd/run.func·003
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:227 +0x76b

goroutine 9 [chan receive]:
github.com/influxdb/influxdb/tcp.(_listener).Accept(0xc20803a7c0, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x80
github.com/influxdb/influxdb/meta.(_raftLayer).Accept(0xc2080c57d0, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:1543 +0x64
github.com/hashicorp/raft.(*NetworkTransport).listen(0xc2080104d0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/net_transport.go:346 +0x50
created by github.com/hashicorp/raft.NewNetworkTransport
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/net_transport.go:138 +0x2c4

goroutine 10 [select]:
github.com/hashicorp/raft.(_Raft).leaderLoop(0xc2080c01c0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:807 +0xc7c
github.com/hashicorp/raft.(_Raft).runLeader(0xc2080c01c0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:779 +0x74e
github.com/hashicorp/raft.(_Raft).run(0xc2080c01c0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:576 +0xc9
github.com/hashicorp/raft._Raft.(github.com/hashicorp/raft.run)·fm()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:241 +0x27
github.com/hashicorp/raft.func·011()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/state.go:152 +0x51
created by github.com/hashicorp/raft.(*raftState).goFunc
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/state.go:153 +0xe3

goroutine 11 [select]:
github.com/hashicorp/raft.(_Raft).runFSM(0xc2080c01c0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:490 +0xf74
github.com/hashicorp/raft._Raft.(github.com/hashicorp/raft.runFSM)·fm()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:242 +0x27
github.com/hashicorp/raft.func·011()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/state.go:152 +0x51
created by github.com/hashicorp/raft.(*raftState).goFunc
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/state.go:153 +0xe3

goroutine 12 [select]:
github.com/hashicorp/raft.(_Raft).runSnapshots(0xc2080c01c0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:1594 +0x466
github.com/hashicorp/raft._Raft.(github.com/hashicorp/raft.runSnapshots)·fm()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:243 +0x27
github.com/hashicorp/raft.func·011()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/state.go:152 +0x51
created by github.com/hashicorp/raft.(*raftState).goFunc
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/state.go:153 +0xe3

goroutine 13 [chan receive]:
github.com/influxdb/influxdb/tcp.(_listener).Accept(0xc20803a7c8, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x80
github.com/influxdb/influxdb/meta.(_Store).serveExecListener(0xc208070000)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:417 +0x8f
created by github.com/influxdb/influxdb/meta.(*Store).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:176 +0x196

goroutine 14 [select]:
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).monitorErrorChan(0xc20809c090, 0xc20800a3c0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:288 +0x149
created by github.com/influxdb/influxdb/cmd/influxd/run.func·003
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:233 +0x8dc

goroutine 15 [select]:
github.com/influxdb/influxdb/services/hh.(_Service).retryWrites(0xc208037180)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/hh/service.go:93 +0x2e7
created by github.com/influxdb/influxdb/services/hh.(_Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/hh/service.go:62 +0xef

goroutine 16 [select]:
github.com/influxdb/influxdb/services/hh.(_Service).expireWrites(0xc208037180)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/hh/service.go:111 +0x2a4
created by github.com/influxdb/influxdb/services/hh.(_Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/hh/service.go:63 +0x109

goroutine 34 [chan receive]:
github.com/influxdb/influxdb/tcp.(_listener).Accept(0xc20803a7d0, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x80
github.com/influxdb/influxdb/cluster.(_Service).serve(0xc2080102a0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cluster/service.go:79 +0x102
created by github.com/influxdb/influxdb/cluster.(*Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cluster/service.go:56 +0x67

goroutine 35 [IO wait]:
net.(_pollDesc).Wait(0xc208010a00, 0x72, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208010a00, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).accept(0xc2080109a0, 0x0, 0x7f9633d1dcc8, 0xc208100210)
/root/.gvm/gos/go1.4.2/src/net/fd_unix.go:419 +0x40b
net.(_TCPListener).AcceptTCP(0xc20803a880, 0xfd5da0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:234 +0x4e
net.(_TCPListener).Accept(0xc20803a880, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:244 +0x4c
net/http.(_Server).Serve(0xc20800b380, 0x7f9633d1ffe8, 0xc20803a880, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/http/server.go:1728 +0x92
net/http.Serve(0x7f9633d1ffe8, 0xc20803a880, 0x7f9633d21760, 0xc208100200, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/http/server.go:1606 +0xa1
github.com/influxdb/influxdb/services/admin.(_Service).serve(0xc2080c55c0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/admin/service.go:71 +0x147
created by github.com/influxdb/influxdb/services/admin.(_Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/admin/service.go:39 +0xd9

goroutine 36 [select]:
github.com/influxdb/influxdb/services/continuous_querier.(_Service).backgroundLoop(0xc208010310)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/continuous_querier/service.go:146 +0x1fc
created by github.com/influxdb/influxdb/services/continuous_querier.(_Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/continuous_querier/service.go:87 +0x1ed

goroutine 37 [IO wait]:
net.(_pollDesc).Wait(0xc208010a70, 0x72, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208010a70, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).accept(0xc208010a10, 0x0, 0x7f9633d1dcc8, 0xc208100240)
/root/.gvm/gos/go1.4.2/src/net/fd_unix.go:419 +0x40b
net.(_TCPListener).AcceptTCP(0xc20803a888, 0xfd5da0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:234 +0x4e
net.(_TCPListener).Accept(0xc20803a888, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:244 +0x4c
net/http.(_Server).Serve(0xc20800b440, 0x7f9633d1ffe8, 0xc20803a888, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/http/server.go:1728 +0x92
net/http.Serve(0x7f9633d1ffe8, 0xc20803a888, 0x7f9633d21788, 0xc208010380, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/http/server.go:1606 +0xa1
github.com/influxdb/influxdb/services/httpd.(_Service).serve(0xc208091780)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/httpd/service.go:83 +0x79
created by github.com/influxdb/influxdb/services/httpd.(_Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/httpd/service.go:51 +0x283

goroutine 38 [select]:
github.com/influxdb/influxdb/services/retention.(_Service).deleteShardGroups(0xc20800a7e0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/retention/service.go:64 +0x433
created by github.com/influxdb/influxdb/services/retention.(_Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/retention/service.go:46 +0x67

goroutine 39 [select]:
github.com/influxdb/influxdb/services/retention.(_Service).deleteShards(0xc20800a7e0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/retention/service.go:98 +0x821
created by github.com/influxdb/influxdb/services/retention.(_Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/retention/service.go:47 +0x81

goroutine 40 [IO wait]:
net.(_pollDesc).Wait(0xc208010ae0, 0x72, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208010ae0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).accept(0xc208010a80, 0x0, 0x7f9633d1dcc8, 0xc2081200e0)
/root/.gvm/gos/go1.4.2/src/net/fd_unix.go:419 +0x40b
net.(_TCPListener).AcceptTCP(0xc20803a898, 0xc2080176d8, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:234 +0x4e
net.(_TCPListener).Accept(0xc20803a898, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:244 +0x4c
github.com/influxdb/influxdb/services/graphite.func·001()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:119 +0x8a
created by github.com/influxdb/influxdb/services/graphite.(_Service).openTCPServer
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:132 +0x1ab

goroutine 41 [select]:
github.com/influxdb/influxdb/cmd/influxd/run.(_Command).monitorServerErrors(0xc208091a00)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:113 +0x2d9
created by github.com/influxdb/influxdb/cmd/influxd/run.(_Command).Run
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:97 +0x99a

goroutine 19 [chan send]:
github.com/influxdb/influxdb/services/graphite.(*Service).handleTCPConnection(0xc20804c000, 0x7f9633d217b0, 0xc2080fe008)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:166 +0x51c
created by github.com/influxdb/influxdb/services/graphite.func·001
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:130 +0x3e4

goroutine 20 [chan send]:
github.com/influxdb/influxdb/tsdb.func·001()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:58 +0x6c
github.com/influxdb/influxdb/tsdb.func·002()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:87 +0x3fe
created by github.com/influxdb/influxdb/tsdb.(*PointBatcher).Start
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:102 +0x29a

goroutine 42 [chan send]:
github.com/influxdb/influxdb/services/graphite.(*Service).handleTCPConnection(0xc20804c000, 0x7f9633d217b0, 0xc20803a8b8)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:166 +0x51c
created by github.com/influxdb/influxdb/services/graphite.func·001
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:130 +0x3e4

goroutine 43 [chan send]:
github.com/influxdb/influxdb/tsdb.func·001()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:58 +0x6c
github.com/influxdb/influxdb/tsdb.func·002()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:87 +0x3fe
created by github.com/influxdb/influxdb/tsdb.(*PointBatcher).Start
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:102 +0x29a

goroutine 44 [sleep]:
github.com/influxdb/influxdb/meta.(_Store).invalidate(0xc208070000, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:1041 +0x39
github.com/influxdb/influxdb/meta.(_Store).read(0xc208070000, 0xc208134458, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:1019 +0xbf
github.com/influxdb/influxdb/meta.(_Store).Database(0xc208070000, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:556 +0x75
github.com/influxdb/influxdb/cluster.(_PointsWriter).WritePoints(0xc208010230, 0xc2080e8400, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cluster/points_writer.go:184 +0xe5
github.com/influxdb/influxdb/services/graphite.(_Service).processBatches(0xc20804c000, 0xc20800b6e0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:223 +0x236
created by github.com/influxdb/influxdb/services/graphite.(_Service).handleTCPConnection
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:147 +0x2be

goroutine 45 [chan send]:
github.com/influxdb/influxdb/services/graphite.(*Service).handleTCPConnection(0xc20804c000, 0x7f9633d217b0, 0xc2080fe040)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:166 +0x51c
created by github.com/influxdb/influxdb/services/graphite.func·001
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:130 +0x3e4

goroutine 46 [chan send]:
github.com/influxdb/influxdb/tsdb.func·001()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:58 +0x6c
github.com/influxdb/influxdb/tsdb.func·002()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:87 +0x3fe
created by github.com/influxdb/influxdb/tsdb.(*PointBatcher).Start
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:102 +0x29a

goroutine 47 [sleep]:
github.com/influxdb/influxdb/meta.(_Store).invalidate(0xc208070000, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:1041 +0x39
github.com/influxdb/influxdb/meta.(_Store).read(0xc208070000, 0xc20810a458, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:1019 +0xbf
github.com/influxdb/influxdb/meta.(_Store).Database(0xc208070000, 0x0, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:556 +0x75
github.com/influxdb/influxdb/cluster.(_PointsWriter).WritePoints(0xc208010230, 0xc208091400, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cluster/points_writer.go:184 +0xe5
github.com/influxdb/influxdb/services/graphite.(_Service).processBatches(0xc20804c000, 0xc20811c240)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:223 +0x236
created by github.com/influxdb/influxdb/services/graphite.(_Service).handleTCPConnection
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:147 +0x2be

InfluxDB starts without errors after disabling Graphite input.

@dgnorton dgnorton self-assigned this Jun 10, 2015
@otoolep
Copy link
Contributor

otoolep commented Jun 10, 2015

This may be fixed by #2895 since your Graphite config is invalid (due to a bug). There was no database set, but no default set by the code either.

@otoolep
Copy link
Contributor

otoolep commented Jun 10, 2015

We also may need to create the database automatically if it does not exist.

@otoolep
Copy link
Contributor

otoolep commented Jun 11, 2015

#2897

@otoolep
Copy link
Contributor

otoolep commented Jun 11, 2015

Should fixed now -- thanks for the report @spynode

@spynode
Copy link
Author

spynode commented Jun 11, 2015

After creating database 'graphite' and configuring it to be used for Graphite input:

[[graphite]]
enabled = true
protocol = "tcp"
bind-address = ":2013"
consistency-level = "one"
database = "graphite"

InfluxDB still panics:

GOMAXPROCS set to 4
using configuration at: /etc/opt/influxdb/influxdb.conf
2015/06/11 07:31:04 [INFO] raft: Node at 127.0.0.1:8088 [Follower] entering Follower state
2015/06/11 07:31:04 read local node id: 1
[httpd] 2015/06/11 07:31:04 listening on HTTP: [::]:8086
[graphite] 2015/06/11 07:31:04 tcp Graphite input opened on [::]:2013
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x507dc3]

goroutine 52 [running]:
github.com/influxdb/influxdb/cluster.(_PointsWriter).WritePoints(0xc208010230, 0xc2080a62c0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cluster/points_writer.go:188 +0x623
github.com/influxdb/influxdb/services/graphite.(_Service).processBatches(0xc208054000, 0xc20811c180)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:223 +0x236
created by github.com/influxdb/influxdb/services/graphite.(*Service).handleTCPConnection
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:147 +0x2be

goroutine 1 [chan receive (nil chan)]:
main.(*Main).Run(0xc2080aff60, 0xc20800a020, 0x4, 0x4, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:73 +0x3d6
main.main()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cmd/influxd/main.go:37 +0x1d0

goroutine 6 [syscall]:
os/signal.loop()
/root/.gvm/gos/go1.4.2/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/root/.gvm/gos/go1.4.2/src/os/signal/signal_unix.go:27 +0x35

goroutine 50 [chan send]:
github.com/influxdb/influxdb/services/graphite.(*Service).handleTCPConnection(0xc208054000, 0x7feea1ecb8b0, 0xc208118000)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:166 +0x51c
created by github.com/influxdb/influxdb/services/graphite.func·001
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:130 +0x3e4

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/root/.gvm/gos/go1.4.2/src/runtime/asm_amd64.s:2232 +0x1

goroutine 8 [IO wait]:
net.(_pollDesc).Wait(0xc208010450, 0x72, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208010450, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).accept(0xc2080103f0, 0x0, 0x7feea1ec7cc8, 0xc20807e000)
/root/.gvm/gos/go1.4.2/src/net/fd_unix.go:419 +0x40b
net.(_TCPListener).AcceptTCP(0xc20803a658, 0x0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:234 +0x4e
net.(_TCPListener).Accept(0xc20803a658, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:244 +0x4c
github.com/influxdb/influxdb/tcp.(_Mux).Serve(0xc2080bdaa0, 0x7feea1eca0e8, 0xc20803a658, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tcp/mux.go:45 +0x57
created by github.com/influxdb/influxdb/cmd/influxd/run.func·003
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:227 +0x76b

goroutine 9 [chan receive]:
github.com/influxdb/influxdb/tcp.(_listener).Accept(0xc20803a660, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x80
github.com/influxdb/influxdb/meta.(_raftLayer).Accept(0xc2080bdad0, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:1543 +0x64
github.com/hashicorp/raft.(*NetworkTransport).listen(0xc2080104d0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/net_transport.go:346 +0x50
created by github.com/hashicorp/raft.NewNetworkTransport
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/net_transport.go:138 +0x2c4

goroutine 10 [select]:
github.com/hashicorp/raft.(_Raft).runFollower(0xc2080b81c0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:587 +0x8a0
github.com/hashicorp/raft.(_Raft).run(0xc2080b81c0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:572 +0x9c
github.com/hashicorp/raft._Raft.(github.com/hashicorp/raft.run)·fm()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:241 +0x27
github.com/hashicorp/raft.func·011()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/state.go:152 +0x51
created by github.com/hashicorp/raft.(_raftState).goFunc
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/state.go:153 +0xe3

goroutine 11 [select]:
github.com/hashicorp/raft.(_Raft).runFSM(0xc2080b81c0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:490 +0xf74
github.com/hashicorp/raft._Raft.(github.com/hashicorp/raft.runFSM)·fm()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:242 +0x27
github.com/hashicorp/raft.func·011()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/state.go:152 +0x51
created by github.com/hashicorp/raft.(*raftState).goFunc
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/state.go:153 +0xe3

goroutine 12 [select]:
github.com/hashicorp/raft.(_Raft).runSnapshots(0xc2080b81c0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:1594 +0x466
github.com/hashicorp/raft._Raft.(github.com/hashicorp/raft.runSnapshots)·fm()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/raft.go:243 +0x27
github.com/hashicorp/raft.func·011()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/state.go:152 +0x51
created by github.com/hashicorp/raft.(*raftState).goFunc
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/hashicorp/raft/state.go:153 +0xe3

goroutine 13 [chan receive]:
github.com/influxdb/influxdb/tcp.(_listener).Accept(0xc20803a668, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x80
github.com/influxdb/influxdb/meta.(_Store).serveExecListener(0xc208078000)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:417 +0x8f
created by github.com/influxdb/influxdb/meta.(*Store).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:176 +0x196

goroutine 14 [select]:
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).monitorErrorChan(0xc2080a4090, 0xc20800a3c0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:288 +0x149
created by github.com/influxdb/influxdb/cmd/influxd/run.func·003
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:233 +0x8dc

goroutine 15 [select]:
github.com/influxdb/influxdb/services/hh.(_Service).retryWrites(0xc2080370e0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/hh/service.go:93 +0x2e7
created by github.com/influxdb/influxdb/services/hh.(_Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/hh/service.go:62 +0xef

goroutine 16 [select]:
github.com/influxdb/influxdb/services/hh.(_Service).expireWrites(0xc2080370e0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/hh/service.go:111 +0x2a4
created by github.com/influxdb/influxdb/services/hh.(_Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/hh/service.go:63 +0x109

goroutine 34 [chan receive]:
github.com/influxdb/influxdb/tcp.(_listener).Accept(0xc20803a670, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x80
github.com/influxdb/influxdb/cluster.(_Service).serve(0xc2080102a0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cluster/service.go:79 +0x102
created by github.com/influxdb/influxdb/cluster.(*Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cluster/service.go:56 +0x67

goroutine 35 [IO wait]:
net.(_pollDesc).Wait(0xc208010a00, 0x72, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208010a00, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).accept(0xc2080109a0, 0x0, 0x7feea1ec7cc8, 0xc20802beb0)
/root/.gvm/gos/go1.4.2/src/net/fd_unix.go:419 +0x40b
net.(_TCPListener).AcceptTCP(0xc20803a720, 0xfd5da0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:234 +0x4e
net.(_TCPListener).Accept(0xc20803a720, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:244 +0x4c
net/http.(_Server).Serve(0xc20800b3e0, 0x7feea1eca0e8, 0xc20803a720, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/http/server.go:1728 +0x92
net/http.Serve(0x7feea1eca0e8, 0xc20803a720, 0x7feea1ecb860, 0xc20802bea0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/http/server.go:1606 +0xa1
github.com/influxdb/influxdb/services/admin.(_Service).serve(0xc2080bd8c0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/admin/service.go:71 +0x147
created by github.com/influxdb/influxdb/services/admin.(_Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/admin/service.go:39 +0xd9

goroutine 36 [select]:
github.com/influxdb/influxdb/services/continuous_querier.(_Service).backgroundLoop(0xc208010310)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/continuous_querier/service.go:146 +0x1fc
created by github.com/influxdb/influxdb/services/continuous_querier.(_Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/continuous_querier/service.go:87 +0x1ed

goroutine 37 [IO wait]:
net.(_pollDesc).Wait(0xc208010a70, 0x72, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208010a70, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).accept(0xc208010a10, 0x0, 0x7feea1ec7cc8, 0xc20802bf10)
/root/.gvm/gos/go1.4.2/src/net/fd_unix.go:419 +0x40b
net.(_TCPListener).AcceptTCP(0xc20803a728, 0xfd5da0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:234 +0x4e
net.(_TCPListener).Accept(0xc20803a728, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:244 +0x4c
net/http.(_Server).Serve(0xc20800b4a0, 0x7feea1eca0e8, 0xc20803a728, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/http/server.go:1728 +0x92
net/http.Serve(0x7feea1eca0e8, 0xc20803a728, 0x7feea1ecb888, 0xc208010380, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/http/server.go:1606 +0xa1
github.com/influxdb/influxdb/services/httpd.(_Service).serve(0xc208099780)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/httpd/service.go:83 +0x79
created by github.com/influxdb/influxdb/services/httpd.(_Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/httpd/service.go:51 +0x283

goroutine 38 [select]:
github.com/influxdb/influxdb/services/retention.(_Service).deleteShardGroups(0xc20800a7e0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/retention/service.go:64 +0x433
created by github.com/influxdb/influxdb/services/retention.(_Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/retention/service.go:46 +0x67

goroutine 39 [select]:
github.com/influxdb/influxdb/services/retention.(_Service).deleteShards(0xc20800a7e0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/retention/service.go:98 +0x821
created by github.com/influxdb/influxdb/services/retention.(_Service).Open
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/retention/service.go:47 +0x81

goroutine 40 [IO wait]:
net.(_pollDesc).Wait(0xc208010ae0, 0x72, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208010ae0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).accept(0xc208010a80, 0x0, 0x7feea1ec7cc8, 0xc208134040)
/root/.gvm/gos/go1.4.2/src/net/fd_unix.go:419 +0x40b
net.(_TCPListener).AcceptTCP(0xc20803a738, 0xc2080176d8, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:234 +0x4e
net.(_TCPListener).Accept(0xc20803a738, 0x0, 0x0, 0x0, 0x0)
/root/.gvm/gos/go1.4.2/src/net/tcpsock_posix.go:244 +0x4c
github.com/influxdb/influxdb/services/graphite.func·001()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:119 +0x8a
created by github.com/influxdb/influxdb/services/graphite.(_Service).openTCPServer
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:132 +0x1ab

goroutine 41 [select]:
github.com/influxdb/influxdb/cmd/influxd/run.(_Command).monitorServerErrors(0xc208099a00)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:113 +0x2d9
created by github.com/influxdb/influxdb/cmd/influxd/run.(_Command).Run
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:97 +0x99a

goroutine 51 [chan send]:
github.com/influxdb/influxdb/tsdb.func·001()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:58 +0x6c
github.com/influxdb/influxdb/tsdb.func·002()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:87 +0x3fe
created by github.com/influxdb/influxdb/tsdb.(*PointBatcher).Start
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:102 +0x29a

goroutine 42 [chan send]:
github.com/influxdb/influxdb/services/graphite.(*Service).handleTCPConnection(0xc208054000, 0x7feea1ecb8b0, 0xc20803a758)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:166 +0x51c
created by github.com/influxdb/influxdb/services/graphite.func·001
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:130 +0x3e4

goroutine 43 [chan send]:
github.com/influxdb/influxdb/tsdb.func·001()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:58 +0x6c
github.com/influxdb/influxdb/tsdb.func·002()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:87 +0x3fe
created by github.com/influxdb/influxdb/tsdb.(*PointBatcher).Start
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:102 +0x29a

goroutine 44 [sleep]:
github.com/influxdb/influxdb/meta.(_Store).invalidate(0xc208078000, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:1041 +0x39
github.com/influxdb/influxdb/meta.(_Store).read(0xc208078000, 0xc20813c458, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:1019 +0xbf
github.com/influxdb/influxdb/meta.(_Store).Database(0xc208078000, 0xc2080ce470, 0x8, 0x0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:556 +0x75
github.com/influxdb/influxdb/cluster.(_PointsWriter).WritePoints(0xc208010230, 0xc20814e340, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cluster/points_writer.go:184 +0xe5
github.com/influxdb/influxdb/services/graphite.(_Service).processBatches(0xc208054000, 0xc20800b740)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:223 +0x236
created by github.com/influxdb/influxdb/services/graphite.(_Service).handleTCPConnection
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:147 +0x2be

goroutine 19 [chan send]:
github.com/influxdb/influxdb/services/graphite.(*Service).handleTCPConnection(0xc208054000, 0x7feea1ecb8b0, 0xc2080fe028)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:166 +0x51c
created by github.com/influxdb/influxdb/services/graphite.func·001
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:130 +0x3e4

goroutine 20 [chan send]:
github.com/influxdb/influxdb/tsdb.func·001()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:58 +0x6c
github.com/influxdb/influxdb/tsdb.func·002()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:87 +0x3fe
created by github.com/influxdb/influxdb/tsdb.(*PointBatcher).Start
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:102 +0x29a

goroutine 21 [sleep]:
github.com/influxdb/influxdb/meta.(_Store).invalidate(0xc208078000, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:1041 +0x39
github.com/influxdb/influxdb/meta.(_Store).read(0xc208078000, 0xc208139458, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:1019 +0xbf
github.com/influxdb/influxdb/meta.(_Store).Database(0xc208078000, 0xc2080ce470, 0x8, 0x0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:556 +0x75
github.com/influxdb/influxdb/cluster.(_PointsWriter).WritePoints(0xc208010230, 0xc20814e540, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cluster/points_writer.go:184 +0xe5
github.com/influxdb/influxdb/services/graphite.(_Service).processBatches(0xc208054000, 0xc2080fa240)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:223 +0x236
created by github.com/influxdb/influxdb/services/graphite.(_Service).handleTCPConnection
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:147 +0x2be

goroutine 45 [chan send]:
github.com/influxdb/influxdb/services/graphite.(*Service).handleTCPConnection(0xc208054000, 0x7feea1ecb8b0, 0xc20803a780)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:166 +0x51c
created by github.com/influxdb/influxdb/services/graphite.func·001
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:130 +0x3e4

goroutine 46 [chan send]:
github.com/influxdb/influxdb/tsdb.func·001()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:58 +0x6c
github.com/influxdb/influxdb/tsdb.func·002()
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:87 +0x3fe
created by github.com/influxdb/influxdb/tsdb.(*PointBatcher).Start
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/tsdb/batcher.go:102 +0x29a

goroutine 47 [sleep]:
github.com/influxdb/influxdb/meta.(_Store).invalidate(0xc208078000, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:1041 +0x39
github.com/influxdb/influxdb/meta.(_Store).read(0xc208078000, 0xc20813dc58, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:1019 +0xbf
github.com/influxdb/influxdb/meta.(_Store).Database(0xc208078000, 0xc2080ce470, 0x8, 0x0, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/meta/store.go:556 +0x75
github.com/influxdb/influxdb/cluster.(_PointsWriter).WritePoints(0xc208010230, 0xc2080a6680, 0x0, 0x0)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/cluster/points_writer.go:184 +0xe5
github.com/influxdb/influxdb/services/graphite.(_Service).processBatches(0xc208054000, 0xc20800ba40)
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:223 +0x236
created by github.com/influxdb/influxdb/services/graphite.(_Service).handleTCPConnection
/root/.gvm/pkgsets/go1.4.2/global/src/github.com/influxdb/influxdb/services/graphite/service.go:147 +0x2be

@otoolep
Copy link
Contributor

otoolep commented Jun 11, 2015

@spynode can I see your entire config file? Thanks.

@spynode
Copy link
Author

spynode commented Jun 11, 2015

Here is full config (note that InfluxDB starts when Graphite input is disabled):

### Welcome to the InfluxDB configuration file.

###
### [meta]
###
### Controls the parameters for the Raft consensus group that stores metadata
### about the InfluxDB cluster.
###

[meta]
  dir = "/data/db/meta"
  hostname = "localhost"
  bind-address = ":8088"
  retention-autocreate = true
  election-timeout = "1s"
  heartbeat-timeout = "1s"
  leader-lease-timeout = "500ms"
  commit-timeout = "50ms"

###
### [data]
###
### Controls where the actual shard data for InfluxDB lives.
###

[data]
  dir = "/data/db/influxdb"

###
### [cluster]
###
### Controls non-Raft cluster behavior, which generally includes how data is
### shared across shards.
###

[cluster]
  shard-writer-timeout = "5s"

###
### [retention]
###
### Controls the enforcement of retention policies for evicting old data.
###

[retention]
  enabled = true
  check-interval = "10m"

###
### [admin]
###
### Controls the availability of the built-in, web-based admin interface.
###

[admin]
  enabled = true
  bind-address = ":8083"

###
### [http]
###
### Controls how the HTTP endpoints are configured. These are the primary
### mechanism for getting data into and out of InfluxDB.
###

[http]
  enabled = true
  bind-address = ":8086"
  auth-enabled = false
  log-enabled = true
  write-tracing = false
  pprof-enabled = false

###
### [[graphite]]
###
### Controls one or many listeners for Graphite data.
###

[[graphite]]
  enabled = true
  protocol = "tcp"
  bind-address = ":2013"
  consistency-level = "one"
  database = "graphite"

###
### [collectd]
###
### Controls the listener for collectd data.
###

[collectd]
  enabled = false
  # bind-address = ""
  # database = ""
  # typesdb = ""

###
### [opentsdb]
###
### Controls the listener for OpenTSDB data.
###

[opentsdb]
  enabled = false
  # bind-address = ""
  # database = ""
  # retention-policy = ""

###
### [udp]
###
### Controls the listener for InfluxDB line protocol data via UDP.
###

[udp]
  enabled = false
  # bind-address = ""
  # database = ""
  # batch-size = 0
  # batch-timeout = "0"

###
### [monitoring]
###
### Controls the anonymous statistics reporting function of InfluxDB. At start
### and once per interval, the daemon will send some basic internal statistics
### to help us see how InfluxDB is being used in the wild.
###

[monitoring]
  enabled = true
  write-interval = "24h"

###
### [continuous_queries]
###
### Controls how continuous queries are run within InfluxDB.
###

[continuous_queries]
  enabled = true
  recompute-previous-n = 2
  recompute-no-older-than = "10m"
  compute-runs-per-interval = 10
  compute-no-more-than = "2m"

###
### [hinted-handoff]
###
### Controls the hinted handoff feature, which allows nodes to temporarily
### store queued data when one node of a cluster is down for a short period
### of time.
###

[hinted-handoff]
  enabled = true
  dir = "/data/db/hh"
  max-size = 1073741824
  max-age = "168h"
  retry-rate-limit = 0
  retry-interval = "1s"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants