Skip to content

Instantly share code, notes, and snippets.

@bbinet
Created October 2, 2014 13:22
Show Gist options
  • Save bbinet/4d3b79cf07f9933a5045 to your computer and use it in GitHub Desktop.
Save bbinet/4d3b79cf07f9933a5045 to your computer and use it in GitHub Desktop.
influxdb stack trace
root@influxdb:/var/log/circus# /usr/bin/influxdb -config=/etc/influxdb/config.toml
[10/02/14 13:12:53] [INFO] Loading configuration file /etc/influxdb/config.toml
[10/02/14 13:12:53] [INFO] Redirectoring logging to /opt/influxdb/shared/log.txt
[10/02/14 13:12:53] [INFO] Starting Influx Server bound to 0.0.0.0 ...
[10/02/14 13:12:53] [INFO]
+---------------------------------------------+
| _____ __ _ _____ ____ |
| |_ _| / _| | | __ \| _ \ |
| | | _ __ | |_| |_ ___ _| | | | |_) | |
| | | | '_ \| _| | | | \ \/ / | | | _ < |
| _| |_| | | | | | | |_| |> <| |__| | |_) | |
| |_____|_| |_|_| |_|\__,_/_/\_\_____/|____/ |
+---------------------------------------------+
[10/02/14 13:12:53] [INFO] Opening database at /opt/influxdb/shared/data/db
[10/02/14 13:12:53] [INFO] Opening wal in /opt/influxdb/shared/data/wal
[10/02/14 13:12:53] [INFO] Opening log file /opt/influxdb/shared/data/wal/log.2469250009
[10/02/14 13:12:53] [INFO] Opening index file /opt/influxdb/shared/data/wal/index.2469250009
[10/02/14 13:12:53] [INFO] Opening log file /opt/influxdb/shared/data/wal/log.2468980009
[10/02/14 13:12:53] [INFO] Opening index file /opt/influxdb/shared/data/wal/index.2468980009
[10/02/14 13:12:53] [INFO] Opening log file /opt/influxdb/shared/data/wal/log.2468490009
[10/02/14 13:12:54] [INFO] Opening index file /opt/influxdb/shared/data/wal/index.2468490009
[10/02/14 13:12:54] [INFO] Opening log file /opt/influxdb/shared/data/wal/log.2469060009
[10/02/14 13:12:54] [INFO] Opening index file /opt/influxdb/shared/data/wal/index.2469060009
[10/02/14 13:12:54] [INFO] Opening log file /opt/influxdb/shared/data/wal/log.2470330009
[10/02/14 13:12:54] [INFO] Opening index file /opt/influxdb/shared/data/wal/index.2470330009
[10/02/14 13:12:54] [INFO] Opening log file /opt/influxdb/shared/data/wal/log.2469240009
panic: runtime error: index out of range
goroutine 1 [running]:
runtime.panic(0x8887c0, 0x100d937)
/home/vagrant/bin/go/src/pkg/runtime/panic.c:266 +0xb6
wal.newIndex(0xc2100fba50, 0x2e, 0x7f6e987e88a8, 0x1, 0x1)
/home/vagrant/influxdb/src/wal/index.go:61 +0x6a6
wal.(*WAL).openLog(0xc2100de080, 0xc2100fb960, 0x2c, 0xc2100fb960, 0x2c, ...)
/home/vagrant/influxdb/src/wal/wal.go:375 +0x4f8
wal.NewWAL(0xc210079700, 0xc2100db010, 0x0, 0x0)
/home/vagrant/influxdb/src/wal/wal.go:79 +0xe0c
server.NewServer(0xc210079700, 0xc2100ba100, 0x1e4, 0x0)
/home/vagrant/influxdb/src/server/server.go:42 +0x1cf
main.main()
/home/vagrant/influxdb/src/daemon/influxd.go:117 +0x923
goroutine 3 [syscall]:
os/signal.loop()
/home/vagrant/bin/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
created by os/signal.init·1
/home/vagrant/bin/go/src/pkg/os/signal/signal_unix.go:27 +0x31
goroutine 4 [runnable]:
syscall.Syscall(0x1, 0x1, 0xc210079a80, 0x59, 0x59, ...)
/home/vagrant/bin/go/src/pkg/syscall/asm_linux_amd64.s:18 +0x5
syscall.write(0x1, 0xc210079a80, 0x59, 0x1b4, 0x8, ...)
/home/vagrant/bin/go/src/pkg/syscall/zsyscall_linux_amd64.go:1228 +0x72
syscall.Write(0x1, 0xc210079a80, 0x59, 0x1b4, 0x76, ...)
/home/vagrant/bin/go/src/pkg/syscall/syscall_unix.go:151 +0x5c
os.(*File).write(0xc210000008, 0xc210079a80, 0x59, 0x1b4, 0x0, ...)
/home/vagrant/bin/go/src/pkg/os/file_unix.go:194 +0x7b
os.(*File).Write(0xc210000008, 0xc210079a80, 0x59, 0x1b4, 0x7f6e98800000, ...)
/home/vagrant/bin/go/src/pkg/os/file.go:139 +0x98
fmt.Fprint(0x7f6e98988110, 0xc210000008, 0x7f6e98802f10, 0x7, 0x7, ...)
/home/vagrant/bin/go/src/pkg/fmt/print.go:255 +0xa3
code.google.com/p/log4go.ConsoleLogWriter.run(0xc21006a000, 0x7f6e98988110, 0xc210000008)
/home/vagrant/influxdb/src/code.google.com/p/log4go/termlog.go:31 +0x368
created by code.google.com/p/log4go.NewConsoleLogWriter
/home/vagrant/influxdb/src/code.google.com/p/log4go/termlog.go:19 +0x67
goroutine 5 [runnable]:
os.epipecheck(0xc2100ba0f8, 0x0, 0x0)
/home/vagrant/bin/go/src/pkg/os/file_unix.go:57
os.(*File).Write(0xc2100ba0f8, 0xc21003c340, 0x78, 0x33a, 0x78, ...)
/home/vagrant/bin/go/src/pkg/os/file.go:144 +0xdd
fmt.Fprint(0x7f6e98988110, 0xc2100ba0f8, 0x7f6e98800f00, 0x1, 0x1, ...)
/home/vagrant/bin/go/src/pkg/fmt/print.go:255 +0xa3
code.google.com/p/log4go.func·002()
/home/vagrant/influxdb/src/code.google.com/p/log4go/filelog.go:105 +0x5c6
created by code.google.com/p/log4go.NewFileLogWriter
/home/vagrant/influxdb/src/code.google.com/p/log4go/filelog.go:116 +0x2d1
goroutine 6 [syscall]:
runtime.goexit()
/home/vagrant/bin/go/src/pkg/runtime/proc.c:1394
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment