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

Panic when self-monitoring attempts first write #2368

Closed
mark-rushakoff opened this issue Apr 21, 2015 · 1 comment
Closed

Panic when self-monitoring attempts first write #2368

mark-rushakoff opened this issue Apr 21, 2015 · 1 comment

Comments

@mark-rushakoff
Copy link
Contributor

Seeing this on both master and RC25:

○ → rm -rf ~/.influxdb/ && $HOME/go/bin/influxd -config /Users/mr/influxdconfig

 8888888           .d888 888                   8888888b.  888888b.
   888            d88P"  888                   888  "Y88b 888  "88b
   888            888    888                   888    888 888  .88P
   888   88888b.  888888 888 888  888 888  888 888    888 8888888K.
   888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
   888   888  888 888    888 888  888   X88K   888    888 888    888
   888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
 8888888 888  888 888    888  "Y88888 888  888 8888888P"  8888888P"

[srvr] 2015/04/21 11:17:03 GOMAXPROCS set to 4
[srvr] 2015/04/21 11:17:03 using configuration at: /Users/mr/influxdconfig
[srvr] 2015/04/21 11:17:03 influxdb started, version 0.9, commit unknown
[srvr] 2015/04/21 11:17:03 Cluster server listening on http://Marks-MacBook-Pro.local:8086
[srvr] 2015/04/21 11:17:03 broker opened at /Users/mr/.influxdb/broker
[raft] 2015/04/21 11:17:03 log pending: waiting for initialization or join
[raft] 2015/04/21 11:17:03 changing term: 0 => 1
[raft] 2015/04/21 11:17:03 log state change: stopped => leader (term=1)
[raft] 2015/04/21 11:17:03 log initialize: promoted to 'leader' with cluster ID 229261468024861793, log ID 1, term 1
[srvr] 2015/04/21 11:17:03 initialized broker: http://Marks-MacBook-Pro.local:8086
[srvr] 2015/04/21 11:17:03 data node(0) opened at /Users/mr/.influxdb/data
[messaging] 2015/04/21 11:17:04 connected to broker: http://Marks-MacBook-Pro.local:8086/messaging/messages?index=0&streaming=true&topicID=0
[srvr] 2015/04/21 11:17:04 initialized data node: http://Marks-MacBook-Pro.local:8086
[srvr] 2015/04/21 11:17:04 authentication enabled: false
[srvr] 2015/04/21 11:17:04 broker enforcing retention policies with check interval of 10m0s
[srvr] 2015/04/21 11:17:04 shard group pre-create with check interval of 45m0s
[srvr] 2015/04/21 11:17:04 snapshot server disabled
[server] 2015/04/21 11:17:04 retention policy 'default' auto-created for database '_influxdb'
[srvr] 2015/04/21 11:17:04 started self-monitoring at interval of 1m0s
[srvr] 2015/04/21 11:17:04 API server listening on :8086
[srvr] 2015/04/21 11:17:04 broker cq: no data nodes currently available.
[srvr] 2015/04/21 11:17:04 Sending anonymous usage statistics to m.influxdb.com
panic: interface conversion: interface is int, not int64

goroutine 260 [running]:
github.com/influxdb/influxdb.(*FieldCodec).EncodeFields(0xc20802b790, 0xc20800bce0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /Users/mr/go/src/github.com/influxdb/influxdb/database.go:814 +0x962
github.com/influxdb/influxdb.func·035(0x0, 0x0)
    /Users/mr/go/src/github.com/influxdb/influxdb/server.go:1818 +0x75d
github.com/influxdb/influxdb.(*Server).WriteSeries(0xc208154000, 0x5cb0b0, 0x9, 0x5a7d10, 0x7, 0xc2081c2000, 0x7, 0x8, 0x0, 0x0, ...)
    /Users/mr/go/src/github.com/influxdb/influxdb/server.go:1836 +0xa80
github.com/influxdb/influxdb.func·011()
    /Users/mr/go/src/github.com/influxdb/influxdb/server.go:410 +0x7fe
created by github.com/influxdb/influxdb.(*Server).StartSelfMonitoring
    /Users/mr/go/src/github.com/influxdb/influxdb/server.go:412 +0x241

goroutine 1 [chan receive (nil chan)]:
main.(*RunCommand).Run(0xc20800b380, 0xc20800a010, 0x2, 0x2, 0x0, 0x0)
    /Users/mr/go/src/github.com/influxdb/influxdb/cmd/influxd/run.go:270 +0x817
main.main()
    /Users/mr/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x495

goroutine 5 [syscall, 1 minutes]:
os/signal.loop()
    /usr/local/Cellar/go/1.4.2/libexec/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
    /usr/local/Cellar/go/1.4.2/libexec/src/os/signal/signal_unix.go:27 +0x35

goroutine 7 [chan receive, 1 minutes]:
main.func·004()
    /Users/mr/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:199 +0xed
created by main.startProfiling
    /Users/mr/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:202 +0x2dc

goroutine 8 [IO wait]:
net.(*pollDesc).Wait(0xc2080104c0, 0x72, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc2080104c0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).accept(0xc208010460, 0x0, 0xd11d88, 0xc2080dc030)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_unix.go:419 +0x40b
net.(*TCPListener).AcceptTCP(0xc20803e668, 0xc2080f0dc8, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/tcpsock_posix.go:234 +0x4e
net.(*TCPListener).Accept(0xc20803e668, 0x0, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/tcpsock_posix.go:244 +0x4c
net/http.(*Server).Serve(0xc2080c4060, 0xd12880, 0xc20803e668, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1728 +0x92
net/http.Serve(0xd12880, 0xc20803e668, 0xd12800, 0xc2080e9220, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1606 +0xa1
main.func·007()
    /Users/mr/go/src/github.com/influxdb/influxdb/cmd/influxd/run.go:144 +0x5b
created by main.(*Node).openListener
    /Users/mr/go/src/github.com/influxdb/influxdb/cmd/influxd/run.go:154 +0x26e

goroutine 9 [select, 1 minutes]:
github.com/influxdb/influxdb/messaging.func·003()
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/broker.go:275 +0x16a
created by github.com/influxdb/influxdb/messaging.(*Broker).startTopicTruncation
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/broker.go:282 +0xad

goroutine 10 [select]:
github.com/influxdb/influxdb/raft.(*Log).applier(0xc208038820, 0xc20802e540)
    /Users/mr/go/src/github.com/influxdb/influxdb/raft/log.go:1371 +0x288
created by github.com/influxdb/influxdb/raft.func·002
    /Users/mr/go/src/github.com/influxdb/influxdb/raft/log.go:389 +0x764

goroutine 11 [select]:
github.com/influxdb/influxdb/raft.(*Log).leaderLoop(0xc208038820, 0xc20802e540, 0x0)
    /Users/mr/go/src/github.com/influxdb/influxdb/raft/log.go:1115 +0x56c
github.com/influxdb/influxdb/raft.(*Log).stateLoop(0xc208038820, 0xc20802e540, 0x3, 0x0)
    /Users/mr/go/src/github.com/influxdb/influxdb/raft/log.go:862 +0x164
created by github.com/influxdb/influxdb/raft.(*Log).startStateLoop
    /Users/mr/go/src/github.com/influxdb/influxdb/raft/log.go:820 +0x98

goroutine 34 [select, 1 minutes]:
github.com/influxdb/influxdb/messaging.func·017()
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/handler.go:92 +0x134
created by github.com/influxdb/influxdb/messaging.(*Handler).getMessages
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/handler.go:98 +0x56c

goroutine 50 [select]:
github.com/influxdb/influxdb/messaging.(*Client).pinger(0xc20813e160, 0xc20812e060)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:369 +0x15e
created by github.com/influxdb/influxdb/messaging.(*Client).Open
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:155 +0x1ec

goroutine 14 [chan receive, 1 minutes]:
github.com/influxdb/influxdb/messaging.(*Conn).streamer(0xc20812c000, 0xc2080c4180)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:656 +0x1ec
created by github.com/influxdb/influxdb/messaging.(*Conn).Open
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:515 +0x1ca

goroutine 15 [select]:
github.com/influxdb/influxdb/messaging.(*Conn).heartbeater(0xc20812c000, 0xc2080c4180)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:559 +0x15e
created by github.com/influxdb/influxdb/messaging.(*Conn).Open
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:516 +0x1f0

goroutine 16 [select]:
github.com/influxdb/influxdb.(*Server).processor(0xc208154000, 0xd16d40, 0xc20812c000, 0xc2080c41e0)
    /Users/mr/go/src/github.com/influxdb/influxdb/server.go:3331 +0x176
created by github.com/influxdb/influxdb.(*Server).Open
    /Users/mr/go/src/github.com/influxdb/influxdb/server.go:224 +0x972

goroutine 51 [IO wait]:
net.(*pollDesc).Wait(0xc208010300, 0x72, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208010300, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc2080102a0, 0xc20800f000, 0x1000, 0x1000, 0x0, 0xd11d88, 0xc2081236b0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc20811a028, 0xc20800f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/net.go:121 +0xdc
net/http.noteEOFReader.Read(0xd16e58, 0xc20811a028, 0xc208032058, 0xc20800f000, 0x1000, 0x1000, 0x7d, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:1270 +0x6e
net/http.(*noteEOFReader).Read(0xc20801e8c0, 0xc20800f000, 0x1000, 0x1000, 0x7d, 0x0, 0x0)
    <autogenerated>:125 +0xd4
bufio.(*Reader).fill(0xc2080c45a0)
    /usr/local/Cellar/go/1.4.2/libexec/src/bufio/bufio.go:97 +0x1ce
bufio.(*Reader).ReadSlice(0xc2080c45a0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/bufio/bufio.go:295 +0x257
net/http/internal.readLine(0xc2080c45a0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/internal/chunked.go:110 +0x5a
net/http/internal.(*chunkedReader).beginChunk(0xc2080ea420)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/internal/chunked.go:47 +0x46
net/http/internal.(*chunkedReader).Read(0xc2080ea420, 0xc20801f220, 0x1a, 0x1a, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/internal/chunked.go:77 +0xbb
net/http.(*body).readLocked(0xc2081162c0, 0xc20801f220, 0x1a, 0x1a, 0xffffffff, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transfer.go:584 +0x7a
net/http.(*body).Read(0xc2081162c0, 0xc20801f220, 0x1a, 0x1a, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transfer.go:579 +0x115
net/http.(*bodyEOFSignal).Read(0xc208116300, 0xc20801f220, 0x1a, 0x1a, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:1193 +0x285
github.com/influxdb/influxdb/messaging.(*nopSeeker).Read(0xc2081181d0, 0xc20801f220, 0x1a, 0x1a, 0xc20801f220, 0x0, 0x0)
    <autogenerated>:24 +0x89
io.ReadAtLeast(0xd17740, 0xc2081181d0, 0xc20801f220, 0x1a, 0x1a, 0x1a, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/io/io.go:298 +0xf1
io.ReadFull(0xd17740, 0xc2081181d0, 0xc20801f220, 0x1a, 0x1a, 0x8, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/io/io.go:316 +0x6d
github.com/influxdb/influxdb/messaging.(*MessageDecoder).Decode(0xc2081181e0, 0xc2080ca240, 0x0, 0x0)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/broker.go:1475 +0x101
github.com/influxdb/influxdb/messaging.(*Conn).stream(0xc20812c000, 0xc208034270, 0xc2080c4180, 0x0, 0x0)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:686 +0x49a
github.com/influxdb/influxdb/messaging.func·015()
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:638 +0x556
created by github.com/influxdb/influxdb/messaging.(*Conn).streamer
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:653 +0x1c4

goroutine 216 [IO wait]:
net.(*pollDesc).Wait(0xc208011720, 0x72, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208011720, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc2080116c0, 0xc20818e000, 0x1000, 0x1000, 0x0, 0xd11d88, 0xc208123620)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc20811a2f8, 0xc20818e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/net.go:121 +0xdc
net/http.noteEOFReader.Read(0xd16e58, 0xc20811a2f8, 0xc2080321b8, 0xc20818e000, 0x1000, 0x1000, 0xc208036900, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:1270 +0x6e
net/http.(*noteEOFReader).Read(0xc20801ef20, 0xc20818e000, 0x1000, 0x1000, 0xc208012000, 0x0, 0x0)
    <autogenerated>:125 +0xd4
bufio.(*Reader).fill(0xc2080c5da0)
    /usr/local/Cellar/go/1.4.2/libexec/src/bufio/bufio.go:97 +0x1ce
bufio.(*Reader).Peek(0xc2080c5da0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/bufio/bufio.go:132 +0xf0
net/http.(*persistConn).readLoop(0xc208032160)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:842 +0xa4
created by net/http.(*Transport).dialConn
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:660 +0xc9f

goroutine 66 [select]:
net/http.(*persistConn).readLoop(0xc208032000)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:928 +0x9ce
created by net/http.(*Transport).dialConn
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:660 +0xc9f

goroutine 81 [syscall, 1 minutes, locked to thread]:
runtime.goexit()
    /usr/local/Cellar/go/1.4.2/libexec/src/runtime/asm_amd64.s:2232 +0x1

goroutine 67 [select, 1 minutes]:
net/http.(*persistConn).writeLoop(0xc208032000)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:945 +0x41d
created by net/http.(*Transport).dialConn
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:661 +0xcbc

goroutine 18 [sleep]:
github.com/influxdb/influxdb/messaging.(*TopicReader).Read(0xc2080c8500, 0xc208166000, 0x8000, 0x8000, 0xc20811c000, 0x0, 0x0)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/broker.go:1213 +0x46b
github.com/influxdb/influxdb/messaging.CopyFlush(0xd171d0, 0xc20811c000, 0xd171f8, 0xc2080c8500, 0x827, 0x0, 0x0)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/handler.go:226 +0xca
github.com/influxdb/influxdb/messaging.(*Handler).getMessages(0xc2081020c0, 0xd17078, 0xc20811c000, 0xc20805e000)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/handler.go:103 +0x605
github.com/influxdb/influxdb/messaging.(*Handler).ServeHTTP(0xc2081020c0, 0xd17078, 0xc20811c000, 0xc20805e000)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/handler.go:45 +0x30c
main.(*Handler).serveMessaging(0xc2080e9220, 0xd17078, 0xc20811c000, 0xc20805e000)
    /Users/mr/go/src/github.com/influxdb/influxdb/cmd/influxd/handler.go:87 +0x2d4
main.(*Handler).ServeHTTP(0xc2080e9220, 0xd17078, 0xc20811c000, 0xc20805e000)
    /Users/mr/go/src/github.com/influxdb/influxdb/cmd/influxd/handler.go:58 +0x447
net/http.serverHandler.ServeHTTP(0xc2080c4060, 0xd17078, 0xc20811c000, 0xc20805e000)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1703 +0x19a
net/http.(*conn).serve(0xc208030280)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1204 +0xb57
created by net/http.(*Server).Serve
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1751 +0x35e

goroutine 19 [IO wait, 1 minutes]:
net.(*pollDesc).Wait(0xc20813a060, 0x72, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc20813a060, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc20813a000, 0xc20816e000, 0x8000, 0x8000, 0x0, 0xd11d88, 0xc20802b558)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc208138000, 0xc20816e000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/net.go:121 +0xdc
io.Copy(0xd17278, 0xc208138020, 0xd16e58, 0xc208138000, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/io/io.go:362 +0x1f6
net/http.func·008()
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:171 +0x7d
created by net/http.(*conn).closeNotify
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:177 +0x2e2

goroutine 243 [sleep]:
github.com/influxdb/influxdb/messaging.(*TopicReader).Read(0xc2081ea380, 0xc2081c6000, 0x8000, 0x8000, 0x8000, 0x0, 0x0)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/broker.go:1196 +0x21e
github.com/influxdb/influxdb/messaging.CopyFlush(0xd171d0, 0xc2081830e0, 0xd171f8, 0xc2081ea380, 0x0, 0x0, 0x0)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/handler.go:226 +0xca
github.com/influxdb/influxdb/messaging.(*Handler).getMessages(0xc20801f280, 0xd17078, 0xc2081830e0, 0xc208156000)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/handler.go:103 +0x605
github.com/influxdb/influxdb/messaging.(*Handler).ServeHTTP(0xc20801f280, 0xd17078, 0xc2081830e0, 0xc208156000)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/handler.go:45 +0x30c
main.(*Handler).serveMessaging(0xc2080e9220, 0xd17078, 0xc2081830e0, 0xc208156000)
    /Users/mr/go/src/github.com/influxdb/influxdb/cmd/influxd/handler.go:87 +0x2d4
main.(*Handler).ServeHTTP(0xc2080e9220, 0xd17078, 0xc2081830e0, 0xc208156000)
    /Users/mr/go/src/github.com/influxdb/influxdb/cmd/influxd/handler.go:58 +0x447
net/http.serverHandler.ServeHTTP(0xc2080c4060, 0xd17078, 0xc2081830e0, 0xc208156000)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1703 +0x19a
net/http.(*conn).serve(0xc20811c280)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1204 +0xb57
created by net/http.(*Server).Serve
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1751 +0x35e

goroutine 261 [chan receive]:
github.com/influxdb/influxdb.(*Server).StartReportingLoop(0xc208154000, 0x32e80172a4e7461, 0xc208179aa0)
    /Users/mr/go/src/github.com/influxdb/influxdb/server.go:4002 +0x83
created by main.(*RunCommand).Open
    /Users/mr/go/src/github.com/influxdb/influxdb/cmd/influxd/run.go:483 +0x28e1

goroutine 204 [IO wait]:
net.(*pollDesc).Wait(0xc20813b020, 0x72, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc20813b020, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc20813afc0, 0xc20819c000, 0x1000, 0x1000, 0x0, 0xd11d88, 0xc208122858)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc2081382c0, 0xc20819c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/net.go:121 +0xdc
net/http.(*liveSwitchReader).Read(0xc208030548, 0xc20819c000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:214 +0xab
io.(*LimitedReader).Read(0xc2080e89a0, 0xc20819c000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/io/io.go:408 +0xce
bufio.(*Reader).fill(0xc2081059e0)
    /usr/local/Cellar/go/1.4.2/libexec/src/bufio/bufio.go:97 +0x1ce
bufio.(*Reader).ReadSlice(0xc2081059e0, 0xc20808fb0a, 0x0, 0x0, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/bufio/bufio.go:295 +0x257
bufio.(*Reader).ReadLine(0xc2081059e0, 0x0, 0x0, 0x0, 0x5b6800, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/bufio/bufio.go:324 +0x62
net/textproto.(*Reader).readLineSlice(0xc2080ea0f0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/textproto/reader.go:55 +0x9e
net/textproto.(*Reader).ReadLine(0xc2080ea0f0, 0x0, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/textproto/reader.go:36 +0x4f
net/http.ReadRequest(0xc2081059e0, 0xc20812a820, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/request.go:598 +0xcb
net/http.(*conn).readRequest(0xc208030500, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:586 +0x26f
net/http.(*conn).serve(0xc208030500)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1162 +0x69e
created by net/http.(*Server).Serve
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1751 +0x35e

goroutine 230 [select]:
github.com/influxdb/influxdb.func·012()
    /Users/mr/go/src/github.com/influxdb/influxdb/server.go:426 +0x109
created by github.com/influxdb/influxdb.(*Server).StartRetentionPolicyEnforcement
    /Users/mr/go/src/github.com/influxdb/influxdb/server.go:433 +0x1dd

goroutine 219 [IO wait]:
net.(*pollDesc).Wait(0xc20813afb0, 0x72, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc20813afb0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc20813af50, 0xc20819a000, 0x1000, 0x1000, 0x0, 0xd11d88, 0xc208122880)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc20811e240, 0xc20819a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/net.go:121 +0xdc
net/http.noteEOFReader.Read(0xd16e58, 0xc20811e240, 0xc208065d38, 0xc20819a000, 0x1000, 0x1000, 0xc2080c8300, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:1270 +0x6e
net/http.(*noteEOFReader).Read(0xc2081029c0, 0xc20819a000, 0x1000, 0x1000, 0xc208012000, 0x0, 0x0)
    <autogenerated>:125 +0xd4
bufio.(*Reader).fill(0xc20812efc0)
    /usr/local/Cellar/go/1.4.2/libexec/src/bufio/bufio.go:97 +0x1ce
bufio.(*Reader).Peek(0xc20812efc0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/bufio/bufio.go:132 +0xf0
net/http.(*persistConn).readLoop(0xc208065ce0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:842 +0xa4
created by net/http.(*Transport).dialConn
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:660 +0xc9f

goroutine 217 [select]:
net/http.(*persistConn).writeLoop(0xc208032160)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:945 +0x41d
created by net/http.(*Transport).dialConn
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:661 +0xcbc

goroutine 220 [select]:
net/http.(*persistConn).writeLoop(0xc208065ce0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:945 +0x41d
created by net/http.(*Transport).dialConn
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:661 +0xcbc

goroutine 231 [select]:
github.com/influxdb/influxdb.func·014()
    /Users/mr/go/src/github.com/influxdb/influxdb/server.go:485 +0x116
created by github.com/influxdb/influxdb.(*Server).StartShardGroupsPreCreate
    /Users/mr/go/src/github.com/influxdb/influxdb/server.go:492 +0x1dd

goroutine 262 [select]:
github.com/influxdb/influxdb.(*Broker).continuousQueryLoop(0xc20802c640, 0xc2080c4840)
    /Users/mr/go/src/github.com/influxdb/influxdb/broker.go:94 +0x10b
created by github.com/influxdb/influxdb.(*Broker).RunContinuousQueryLoop
    /Users/mr/go/src/github.com/influxdb/influxdb/broker.go:63 +0xbb

goroutine 10764 [select]:
github.com/influxdb/influxdb/messaging.(*Conn).heartbeater(0xc20815a140, 0xc20802ede0)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:559 +0x15e
created by github.com/influxdb/influxdb/messaging.(*Conn).Open
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:516 +0x1f0

goroutine 10777 [IO wait]:
net.(*pollDesc).Wait(0xc2080933a0, 0x72, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc2080933a0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc208093340, 0xc208210000, 0x8000, 0x8000, 0x0, 0xd11d88, 0xc208124298)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc20811e238, 0xc208210000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/net.go:121 +0xdc
io.Copy(0xd17278, 0xc20811a198, 0xd16e58, 0xc20811e238, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/io/io.go:362 +0x1f6
net/http.func·008()
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:171 +0x7d
created by net/http.(*conn).closeNotify
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:177 +0x2e2

goroutine 10763 [chan receive]:
github.com/influxdb/influxdb/messaging.(*Conn).streamer(0xc20815a140, 0xc20802ede0)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:656 +0x1ec
created by github.com/influxdb/influxdb/messaging.(*Conn).Open
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:515 +0x1ca

goroutine 10765 [select]:
github.com/influxdb/influxdb.(*Shard).processor(0xc20807e200, 0xd16d40, 0xc20815a140, 0xc20802eea0)
    /Users/mr/go/src/github.com/influxdb/influxdb/shard.go:270 +0x5f1
created by github.com/influxdb/influxdb.(*Shard).open
    /Users/mr/go/src/github.com/influxdb/influxdb/shard.go:122 +0x615

goroutine 10776 [select]:
net/http.(*persistConn).roundTrip(0xc208032160, 0xc2081242a0, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:1082 +0x7ad
net/http.(*Transport).RoundTrip(0xc208074000, 0xc20805e680, 0xc20812e9c0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/transport.go:235 +0x558
net/http.send(0xc20805e680, 0xd12028, 0xc208074000, 0x57, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/client.go:219 +0x4fc
net/http.(*Client).send(0xae1b00, 0xc20805e680, 0x57, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/client.go:142 +0x15b
net/http.(*Client).doFollowingRedirects(0xae1b00, 0xc20805e680, 0x6c42c0, 0x0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/client.go:367 +0xb25
net/http.(*Client).Do(0xae1b00, 0xc20805e680, 0xd0, 0x0, 0x0)
    /usr/local/Cellar/go/1.4.2/libexec/src/net/http/client.go:174 +0xa4
github.com/influxdb/influxdb/messaging.(*Conn).stream(0xc20815a140, 0xc20805e680, 0xc20802ede0, 0x0, 0x0)
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:668 +0x5a
github.com/influxdb/influxdb/messaging.func·015()
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:638 +0x556
created by github.com/influxdb/influxdb/messaging.(*Conn).streamer
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/client.go:653 +0x1c4

goroutine 10791 [select]:
github.com/influxdb/influxdb/messaging.func·017()
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/handler.go:92 +0x134
created by github.com/influxdb/influxdb/messaging.(*Handler).getMessages
    /Users/mr/go/src/github.com/influxdb/influxdb/messaging/handler.go:98 +0x56c

goroutine 10749 [sleep]:
github.com/influxdb/influxdb/raft.func·001()
    /Users/mr/go/src/github.com/influxdb/influxdb/raft/clock.go:67 +0x33
created by github.com/influxdb/influxdb/raft.newClockChan
    /Users/mr/go/src/github.com/influxdb/influxdb/raft/clock.go:67 +0xfb

goroutine 10775 [sleep]:
github.com/influxdb/influxdb/raft.(*Log).heartbeater(0xc208038820, 0x1, 0xc2081ce380, 0xc2080e9700)
    /Users/mr/go/src/github.com/influxdb/influxdb/raft/log.go:1163 +0xe16
created by github.com/influxdb/influxdb/raft.(*Log).leaderLoop
    /Users/mr/go/src/github.com/influxdb/influxdb/raft/log.go:1112 +0x204
@otoolep
Copy link
Contributor

otoolep commented Apr 22, 2015

All fixed.

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

2 participants