Skip to content

Instantly share code, notes, and snippets.

@schmurfy
Created June 25, 2014 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schmurfy/3e36f382fa82d543df5a to your computer and use it in GitHub Desktop.
Save schmurfy/3e36f382fa82d543df5a to your computer and use it in GitHub Desktop.
influxdb crash
[06/25/14 11:18:08] [INFO] Loading configuration file /etc/influxdb.toml
[06/25/14 11:18:08] [INFO] Redirectoring logging to stdout
[06/25/14 11:18:08] [INFO] Starting Influx Server 0.7.3 bound to 127.0.0.1...
[06/25/14 11:18:08] [INFO] Opening database at /apps/monitoring/data/metrics
[06/25/14 11:18:08] [INFO] Opening wal in /apps/monitoring/data/wal
[06/25/14 11:18:08] [INFO] Ssl will be disabled since the ssl port or certificate path weren't set
[06/25/14 11:18:08] [INFO] Initializing Raft HTTP server
[06/25/14 11:18:08] [INFO] Raft Server Listening at 127.0.0.1:8090
[06/25/14 11:18:08] [INFO] Initializing Raft Server: http://admin.monitoring:8090
[06/25/14 11:18:08] [INFO] Recovered from log
[06/25/14 11:18:08] [INFO] Waiting for local server to be added
[06/25/14 11:18:09] [INFO] (raft:fa421be) Selected as leader. Starting leader loop.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x5247c1]
goroutine 14 [running]:
runtime.panic(0x8ad980, 0x1057308)
/usr/local/go/src/pkg/runtime/panic.c:266 +0xb6
cluster.(*ShardData).SetServers(0xc2100f8000, 0xc2100ef260, 0x1, 0x1)
/tmp/influxdb-0.7.3/src/cluster/shard.go:155 +0xf1
cluster.(*ClusterConfiguration).AddShards(0xc21007ca80, 0xc2100b4ba0, 0x1, 0x4, 0x0, ...)
/tmp/influxdb-0.7.3/src/cluster/cluster_configuration.go:955 +0x8b5
coordinator.(*CreateShardsCommand).Apply(0xc2100b4ae0, 0x7f3b79dcf520, 0xc2100ac000, 0x7f3b79dcf9d0, 0xc2100b4ae0, ...)
/tmp/influxdb-0.7.3/src/coordinator/command.go:352 +0x92
github.com/goraft/raft.func·005(0xc2100b4200, 0x7f3b79dcc6c8, 0xc2100b4ae0, 0x6c, 0x6c, ...)
/tmp/influxdb-0.7.3/src/github.com/goraft/raft/server.go:202 +0x364
github.com/goraft/raft.(*Log).setCommitIndex(0xc21008e4d0, 0xfb, 0x0, 0x0)
/tmp/influxdb-0.7.3/src/github.com/goraft/raft/log.go:371 +0x36e
github.com/goraft/raft.(*server).processCommand(0xc2100ac000, 0x7f3b79dcf808, 0xc2100ecb10, 0xc2100e7db0)
/tmp/influxdb-0.7.3/src/github.com/goraft/raft/server.go:855 +0x47e
github.com/goraft/raft.(*server).leaderLoop(0xc2100ac000)
/tmp/influxdb-0.7.3/src/github.com/goraft/raft/server.go:778 +0x474
github.com/goraft/raft.(*server).loop(0xc2100ac000)
/tmp/influxdb-0.7.3/src/github.com/goraft/raft/server.go:568 +0x33f
created by github.com/goraft/raft.(*server).Start
/tmp/influxdb-0.7.3/src/github.com/goraft/raft/server.go:472 +0x7af
goroutine 1 [chan receive]:
server.(*Server).ListenAndServe(0xc21004b510, 0xc21004b510, 0x0)
/tmp/influxdb-0.7.3/src/server/server.go:89 +0xcf
main.main()
/tmp/influxdb-0.7.3/src/daemon/influxd.go:159 +0xd2a
goroutine 3 [syscall]:
os/signal.loop()
/usr/local/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
created by os/signal.init·1
/usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x31
goroutine 4 [chan receive]:
code.google.com/p/log4go.ConsoleLogWriter.run(0xc210072000, 0x7f3b79dcc110, 0xc210000008)
/tmp/influxdb-0.7.3/src/code.google.com/p/log4go/termlog.go:27 +0x60
created by code.google.com/p/log4go.NewConsoleLogWriter
/tmp/influxdb-0.7.3/src/code.google.com/p/log4go/termlog.go:19 +0x67
goroutine 5 [syscall]:
runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1394
goroutine 6 [runnable]:
code.google.com/p/log4go.ConsoleLogWriter.run(0xc2100addc0, 0x7f3b79dcc110, 0xc210000008)
/tmp/influxdb-0.7.3/src/code.google.com/p/log4go/termlog.go:27 +0x60
created by code.google.com/p/log4go.NewConsoleLogWriter
/tmp/influxdb-0.7.3/src/code.google.com/p/log4go/termlog.go:19 +0x67
goroutine 7 [chan receive]:
wal.(*WAL).processEntries(0xc210079d00)
/tmp/influxdb-0.7.3/src/wal/wal.go:252 +0x3f
created by wal.NewWAL
/tmp/influxdb-0.7.3/src/wal/wal.go:103 +0x9f3
goroutine 8 [sleep]:
time.Sleep(0x8bb2c97000)
/usr/local/go/src/pkg/runtime/time.goc:31 +0x31
cluster.func·001()
/tmp/influxdb-0.7.3/src/cluster/cluster_configuration.go:133 +0x35
created by cluster.(*ClusterConfiguration).CreateFutureShardsAutomaticallyBeforeTimeComes
/tmp/influxdb-0.7.3/src/cluster/cluster_configuration.go:138 +0x63
goroutine 9 [chan receive]:
main.waitForSignals(0x7f3b79dcd2c8, 0xc21004b510)
/tmp/influxdb-0.7.3/src/daemon/null_profiler.go:23 +0x126
created by main.startProfiler
/tmp/influxdb-0.7.3/src/daemon/null_profiler.go:15 +0x38
goroutine 10 [IO wait]:
net.runtime_pollWait(0x7f3b79dce310, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:116 +0x6a
net.(*pollDesc).Wait(0xc21008fbc0, 0x72, 0x7f3b79dcbf88, 0xb)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:81 +0x34
net.(*pollDesc).WaitRead(0xc21008fbc0, 0xb, 0x7f3b79dcbf88)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:86 +0x30
net.(*netFD).accept(0xc21008fb60, 0xa2b2f8, 0x0, 0x7f3b79dcbf88, 0xb)
/usr/local/go/src/pkg/net/fd_unix.go:382 +0x2c2
net.(*TCPListener).AcceptTCP(0xc2100b8258, 0x18, 0xc2100c9010, 0x5d4be3)
/usr/local/go/src/pkg/net/tcpsock_posix.go:233 +0x47
net.(*TCPListener).Accept(0xc2100b8258, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/net/tcpsock_posix.go:243 +0x27
net/http.(*Server).Serve(0xc2100b0be0, 0x7f3b79dcd348, 0xc2100b8258, 0x0, 0x0)
/usr/local/go/src/pkg/net/http/server.go:1622 +0x91
coordinator.func·009()
/tmp/influxdb-0.7.3/src/coordinator/raft_server.go:527 +0x3a
created by coordinator.(*RaftServer).Serve
/tmp/influxdb-0.7.3/src/coordinator/raft_server.go:531 +0x4d9
goroutine 16 [select]:
coordinator.(*RaftServer).raftLeaderLoop(0xc21007a580, 0xc21008dbc0)
/tmp/influxdb-0.7.3/src/coordinator/raft_server.go:427 +0x29c
created by coordinator.(*RaftServer).raftEventHandler
/tmp/influxdb-0.7.3/src/coordinator/raft_server.go:416 +0x1d0
goroutine 13 [finalizer wait]:
runtime.park(0x453c90, 0x106ee18, 0x1058e48)
/usr/local/go/src/pkg/runtime/proc.c:1342 +0x66
runfinq()
/usr/local/go/src/pkg/runtime/mgc0.c:2276 +0x84
runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1394
goroutine 15 [select]:
coordinator.(*RaftServer).CompactLog(0xc21007a580)
/tmp/influxdb-0.7.3/src/coordinator/raft_server.go:317 +0x2ef
created by coordinator.(*RaftServer).startRaft
/tmp/influxdb-0.7.3/src/coordinator/raft_server.go:371 +0x375
goroutine 17 [chan receive]:
github.com/goraft/raft.(*server).Do(0xc2100ac000, 0x7f3b79dcf808, 0xc2100ecb10, 0x7f3b79dcf808, 0xc2100ecb10, ...)
/tmp/influxdb-0.7.3/src/github.com/goraft/raft/server.go:830 +0xfd
created by github.com/goraft/raft.(*server).leaderLoop
/tmp/influxdb-0.7.3/src/github.com/goraft/raft/server.go:760 +0x220
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment